Hi, I'm just wondering what's the best way to generate sources before the compile task is executed, whereas the generated sources shall also be compiled.
The additional sources are e.g. generated with an ant task:
task :generatesources do
ant('generate') do |ant|
ant.taskdef :name=>'myTask', :classname=>'some.AntTask',
:classpath=>'path/to/jar.jar'
ant.myTask :targetDir=>_('target/generated-sources'), :someProp=>'some/path'
end
end
Thanx for your help,
cheers,
Martin
signature.asc
Description: This is a digitally signed message part
