If I were going to do this (and I probably wouldn't),
I would DL www.sysinternals.com's JUNCTION utility and
conditionally create a macro to call <symlink> or
<exec executable="JUNCTION.EXE"> based on the OS. 
That takes care of Windows and Unix-compatible
environments... can't say about the rest.  But I would
expect this approach to necessitate numerous tweaks
and so cannot truly recommend it.

-Matt

--- ar <[EMAIL PROTECTED]> wrote:

> 
> Thanks, I would prefer a solution working on all
> operating systems like  
> "copy" or "delete" do.
> 
> Le Thu, 16 Feb 2006 15:48:48 +0100, glenn
> opdycke-hansen  
> <[EMAIL PROTECTED]> a écrit:
> 
> > I would use the exec task
> >     
> > <quote>
> > Executes a system command. When the os attribute
> is specified, the
> > command is only executed when Ant is run on one of
> the specified
> > operating systems.
> > </quote>
> >
> > http://ant.apache.org/manual/CoreTasks/exec.html
> >
> > On 2/16/06, ar <[EMAIL PROTECTED]> wrote:
> >>
> >> Hi all,
> >>
> >> Does anybody know if there is an equivalent to
> the "ln" Unix command in
> >> Ant or others projects built over Ant ?
> >> My goal is to get a directory referenced through
> 2 different names.
> >>
> >> Regards
> >>
> >> --
> >> A. ROY
> >>
> >>
>
---------------------------------------------------------------------
> >> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> >> For additional commands, e-mail:
> [EMAIL PROTECTED]
> >>
> >>
> >
> >
> > --
> > glenn
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> [EMAIL PROTECTED]
> >
> >
> 
> 
> 
> -- 
> A. ROY
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

Reply via email to