This problem would be true for ANY batch file called from another batch file.

If you want to call a batch file from another then use "call", ie:
call gradle clean compile_distro_A

...and lay the blame squarely on DOS in this case. ;)
-Paul

On 7/20/2011 7:55 PM, 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...

thanks,
Levi

---------------------------------------------------------------------
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


Reply via email to