Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 83891 invoked from network); 16 Feb 2006 15:54:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 16 Feb 2006 15:54:24 -0000 Received: (qmail 64582 invoked by uid 500); 16 Feb 2006 15:54:18 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 64537 invoked by uid 500); 16 Feb 2006 15:54:17 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 64526 invoked by uid 99); 16 Feb 2006 15:54:17 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Feb 2006 07:54:17 -0800 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_WHOIS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [68.142.200.163] (HELO web30910.mail.mud.yahoo.com) (68.142.200.163) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 16 Feb 2006 07:54:16 -0800 Received: (qmail 57928 invoked by uid 60001); 16 Feb 2006 15:53:44 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=RrNX3/lX+Sba3K2r8R1QLa7ktFasnp3DbNHhCjhwwM4DCCOoekWlsXP0VevUk93JEYVnqIOpGNMXxZsrLjNGFBZpJXTxmGpAb7EsHtWcQNMEwh3vC4Pnk3Ru41oRoxclW6/Gcr4SIEaX0bruAYNddevWromX7K5AXMlf/Fy7LHU= ; Message-ID: <20060216155344.57922.qmail@web30910.mail.mud.yahoo.com> Received: from [66.10.233.130] by web30910.mail.mud.yahoo.com via HTTP; Thu, 16 Feb 2006 07:53:44 PST Date: Thu, 16 Feb 2006 07:53:44 -0800 (PST) From: Matt Benson Subject: Re: Ant task equivalent to the "ln" unix command To: Ant Users List In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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 users fits at times. YMMV. -Matt --- glenn opdycke-hansen wrote: > 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 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