On Wed, 08 Nov 2006, Chris Mattmann <[EMAIL PROTECTED]>
wrote:

>  Could you be a bit more clear with what you mention below? I'm not
>  familiar with "apply",

<http://ant.apache.org/manual/CoreTasks/apply.html>

>  Or perhaps, if I post to the user list, then you'd be more likely
>  to respond?

I thought I responded 8-)

Your original use case was 

>>> # ln -fs /path/to/test/testfiles/* /path/to/test/linkdir/

which more or less directly translates to

<apply executable="ln" dest="/path/to/test/linkdir">
   <fileset dir="/path/to/test/testfiles"/>
   <mapper type="identity"/>
   <arg value="-sf"/>
   <srcfile/>
   <targetfile/>
</apply>

(not tested and not 100% sure about the mapper since I don't remember
whether it receives a relative or absolute filename)

This gives you your symlinks with built-in dependency checking (the
task won't try to re-create existing symlinks).

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to