dcsimg
Using ANT exec to start another ANT process
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Michael_Johnson
Posted On:   Thursday, May 8, 2003 11:29 AM

Is it possible to use exec to start another ANT build XML file? I assume that it is but I keep getting the following message. I have checked to make sure the file exists.


Execute failed: java.io.IOException: CreateProcess: ant -buildfile build.xml


I am trying to execute this on Windows 2000. Does the exec retain environment variables that are defined in the Windows System Properties?


Thanks

Michael

Re: Using ANT exec to start another ANT process

Posted By:   Michael_Johnson  
Posted On:   Thursday, May 8, 2003 11:47 AM

I seem to have figured it out, I left out cmd.exe as the executable.

Re: Using ANT exec to start another ANT process

Posted By:   Michael_Johnson  
Posted On:   Thursday, May 8, 2003 11:47 AM

I seem to have figured it out, I left out cmd.exe as the executable.
About | Sitemap | Contact