<target name="link">
<exec executable="/bin/ln" >
<arg value="-s"/>
<arg value="${basedir}/one.txt"/>
<arg value="${basedir}/two.txt"/>
</exec>
</target>
--
Jeffrey E. Care ([EMAIL PROTECTED])
WebSphere Build SWAT Team Lead
WebSphere Build Tooling Lead (Project Mantis)
https://w3.opensource.ibm.com/projects/mantis
"Madhu ." <[EMAIL PROTECTED]> wrote on 02/22/2005 02:48:46 PM:
>
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>