If you are using the 0.9 preview, try using Project.javaexec See http://www.gradle.org/0.9-preview-3/docs/javadoc/org/gradle/api/Project.html#javaexec(groovy.lang.Closure)
Unfortunately, I don't think this is covered in the user guide yet. On Jun 11, 2010, at 4:28 AM, Matthias Bohlen wrote: > Hello, > > I'd like to run a code generator program that is built by Gradle inside a > subproject A of a multi-project build. The code generator should run to > generate code for another subproject B of the same multi-project build. > > How do I run the generator with its own defined classpath that is different > from the compile classpath of the subproject B for which the generator > generates the code? And: How do I make the code generator run a precondition > for the compile task of the subproject B? > > Cheers, > Matthias > > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
