Re: Ant task equivalent to the "ln" unix command

2006-02-16 Thread Matt Benson
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 or 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 nece

Re: Ant task equivalent to the "ln" unix command

2006-02-16 Thread ar
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 Executes a system command. When the os attribute is specified, the comm

Re: Ant task equivalent to the "ln" unix command

2006-02-16 Thread Matt Benson
There is the task, which only works on Unix systems (IIRC it works to a slight degree on Cygwin but I wouldn't recommend it). calls the ln executable, but be sure to read the manual and experiment thoroughly if you choose to use this task as its behavior is a little special and seems to give use

Re: Ant task equivalent to the "ln" unix command

2006-02-16 Thread glenn opdycke-hansen
I would use the exec task 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. http://ant.apache.org/manual/CoreTasks/exec.html On 2/16/06, ar <[EMAIL PROTECTED]> wrote: > > Hi all, > > Do

Ant task equivalent to the "ln" unix command

2006-02-16 Thread ar
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