Hi all, i need to change the directory while executing build.xml. i executed following code.
<target name="dirchange"> <exec executable="cmd"> <arg value="/c"/> <arg value="cd"/> <arg value="/tmp"/> </exec> </target> but it is failing with the following error. Buildfile: build.xml dirchange: BUILD FAILED /home/y/var/builds/workspace/DNA_Renaissance_Aggs/V08/trunk/build.xml:33: Execute failed: java.io.IOException: Cannot run program "cmd": java.io.IOException: error=2, No such file or directory Total time: 0 seconds please advice Regards Irfan.