On 21/07/2011, at 9:55 AM, Levi Yourchuck wrote:

> Hi,
> 
> In my quest to be able to do this:
> 
> gradle clean compile_distro_A clean compile_distro_B
> 
> I have run into ordering problems.
> 
> So as an attempt to get past this I attempted a hack which seems absurd but I 
> created a .bat file like this:
> 
> both.bat
> 
> gradle clean compile_distro_A
> gradle clean compile_distro_B
> 
> But *amazingly*, the gradle command in a batch file somehow knocks itself out 
> of the batch file upon completion and no further stuff will run...
> 
> Does anyone know how I can accomplish this intention:
> 
> gradle clean create_distro_A clean create_distro_B
> 
> If I can use dependsOn to do this, can someone please provide an example?
> I do not see even a way to create other tasks (elegant or not) or anything to 
> get this done.
> Seriously, this is mind bogglingly trivial and it is astounding that I am 
> incapable of seeing how to accomplish this, I am pleading you guys any help 
> is appreciated...

task compileDistros(dependsOn: compile_distro_A, compile_distro_B)

Though I suspect this is not really what you want. To start, perhaps you can 
explain why that's insufficient and we can go from there.

-- 
Luke Daley
Principal Engineer, Gradleware 
http://gradleware.com


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to