Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 53461 invoked from network); 19 Aug 2002 22:39:17 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 19 Aug 2002 22:39:17 -0000 Received: (qmail 15041 invoked by uid 97); 19 Aug 2002 22:39:37 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 15007 invoked by uid 97); 19 Aug 2002 22:39:36 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 14995 invoked by uid 98); 19 Aug 2002 22:39:36 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <20020819223907.85928.qmail@web13408.mail.yahoo.com> Date: Mon, 19 Aug 2002 15:39:07 -0700 (PDT) From: Diane Holt Subject: Re: Problem with pathconvert and map, perhaps a bug To: Ant Users List In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N --- Michael Rauh wrote: > If i use this code the pathconvert doesn�t work, > > > > > > > > > [...] > but if i change: > > to > > > it just works fine. > > But I can`t figure out why? Because the set of files generated by are fully resolved paths, including the drive letter -- but apparently, that's not true for how you set the value of ${resin.home}. You can see this by (temporarily) taking out the element and simply 'ing out ${resin.http-path}. For example, if I have: ${fs} Running it gives me: showfs: [echo] D:\cygwin\home\dianeh\work\ant\TEMP\sub\bar.txt [echo] D:\cygwin\home\dianeh\work\ant\TEMP\sub\foo.txt If I wanted to "map off" ${temp.dir}, I'd need to do it with: which would give me just the two file names. Note that if I from ${temp.dir}, however, the end result would be exactly as it is without any at all, because it wouldn't match, since the value of ${temp.dir} is simply "sub". However, if I set temp.dir using the 'location' attribute: then I could reference ${temp.dir} in my : and that will give me just the same results as mapping with the fully qualified "${basedir}..." does. Diane ===== (holtdl@yahoo.com) __________________________________________________ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com -- To unsubscribe, e-mail: For additional commands, e-mail: