Reputation: 5735
I think I'm having issues with my ant not knowing where to find my Rakefile
I have the following folder structure.
build.xml
[subfolder]/Rakefile
Within my build.xml I have the following task.
<target name="client">
<taskdef name="rake" classname="org.jruby.ant.Rake" classpath="../shared-lib/jruby.jar"/>
<rake task="jar"/>
</target>
I'm getting the following error.
build.xml: Could not create type rake due to org.jruby.embed.EvalFailedException: no such file to load -- ant/tasks/raketasks
Any help apprec
Upvotes: 0
Views: 749
Reputation: 11463
This appears to be a comprehensive article about the combination (both ant from rake and rake from ant):
http://www.engineyard.com/blog/2010/rake-and-ant-together-a-pick-it-n-stick-it-approach/
Do make sure of the following:
basedir
)By default when you execute the Rake command from the command line it looks in the current directory for the Rakefile. If your root Rakefile does nothing other than change directories and call the other Rakefile it should be better.
Upvotes: 1