I'm getting the following error while running ant script, cannot run program ant createprocess error=2 the system cannot find the file specified -
here want execute build.xml(located in path specified), im executing exec task in testbuild.xml. how can resolve issue?
<exec executable="ant" dir="${build.workingcopypath}/build/src" resultproperty="${buildlogs}/@{corporateparam}_build.log"> - thanks,
the next code working fine.
<exec executable="cmd" dir="${build.workingcopypath}/build/src"> <arg value="/c" /> <arg value="ant.bat" /> </exec> ant
No comments:
Post a Comment