ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Madhu ." <ema...@hotmail.com>
Subject Symbolic Link with ANT
Date Tue, 22 Feb 2005 19:48:46 GMT

I am trying to create a symbolic link using the target below;

  <target name="link">
   <exec executable="/bin/ln -s" >
       <arg value="${basedir}/one.txt"/>
       <arg value="${basedir}/two.txt"/>

   </exec>
   </target>

However it is throwing the exception below.

BUILD FAILED
file:/ms/.global/ny.w/user/m/madhue/build.xml:15: Execute failed: 
java.io.IOException: /bin/ln -s: not found
Do i need to set any shell paths for the build file?

Linux version:  2.4.9-e.34enterprise

can some one let me know whats wrong with the target above.

Sam



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message