ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject Re: Ant task equivalent to the "ln" unix command
Date Thu, 16 Feb 2006 15:53:44 GMT
There is the <symlink> task, which only works on Unix
systems (IIRC it works to a slight degree on Cygwin
but I wouldn't recommend it).  <symlink> 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
users fits at times.

YMMV.

-Matt

--- glenn opdycke-hansen <glennoph@gmail.com> wrote:

> 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 <armaillist@free.fr> 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:
> user-unsubscribe@ant.apache.org
> > For additional commands, e-mail:
> user-help@ant.apache.org
> >
> >
> 
> 
> --
> glenn
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> user-unsubscribe@ant.apache.org
> For additional commands, e-mail:
> user-help@ant.apache.org
> 
> 


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

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


Mime
View raw message