Hi Brian, Please don't double post on the forums and the mailing list. The forums site is the best place to post these kinds of questions.
On 19/12/2011, at 7:27 PM, Carr, Brian M wrote: > I have a complicated build which requires one task graph which downloads an > artifact, unzips it, explodes a war inside of the zip distro, then executes > an arbitrary JavaExec task to create one artifact: > > projecta: > task download > task unzip(dependsOn: download) > task explode(dependsOn: unzip) > task noconsole(dependsOn: explode, type: JavaExec) > > > I have another portion of the build which needs to do all of those things, > but before running the JavaExec task, it needs to insert another step. > > projectb: > task stage(dependsOn: explode) > task noconsole(dependsOn: [stage, ':projecta:noconsole']) > > > Unfortunately, the task graph optimizes, and the order of execution is > wrong... > :projecta:download > :projecta:unzip > :projecta:explode > :projecta:noconsole <--- undesirable > :projectb:stage > :projectb:noconsole > > How can I set up a build which allows me have the noconsole tasks in both > projecta and projectb, but the one in projectb relies on inserting > projectb:noconsole BEFORE projecta:noconsole executes? -- Luke Daley Principal Engineer, Gradleware http://gradleware.com --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
