Return-Path: Mailing-List: contact user-help@ant.apache.org; run by ezmlm Delivered-To: mailing list user@ant.apache.org Received: (qmail 40500 invoked from network); 15 Apr 2003 06:48:03 -0000 Received: from bodewig.bost.de (195.227.98.11) by daedalus.apache.org with SMTP; 15 Apr 2003 06:48:03 -0000 Received: (from bodewig@localhost) by bodewig.bost.de (8.11.6/8.11.6) id h3F6mEa21140; Tue, 15 Apr 2003 08:48:14 +0200 X-Authentication-Warning: bodewig.bost.de: bodewig set sender to bodewig@apache.org using -f To: user@ant.apache.org Subject: Re: preserve softlink using References: <02be01c302ba$f01beb40$88616640@amer.cisco.com> From: Stefan Bodewig Date: 15 Apr 2003 08:48:14 +0200 In-Reply-To: <02be01c302ba$f01beb40$88616640@amer.cisco.com> Message-ID: Lines: 15 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Military Intelligence) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Mon, 14 Apr 2003, Zhu He wrote: > Using in ANT, how to preserve but not follow a softlink? You can't. You can convince Ant to not follow the symlinks by setting followsymlink to false on the nested fileset. In Ant's CVS HEAD version (and thus in Ant 1.6) there is a new task named . With the help of this task you can record the symlinks present and try to recreate them at the new location, but I'm not sure if/how this is going to work with relative symlinks. Stefan