Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 68442 invoked from network); 11 Dec 2001 19:08:13 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 11 Dec 2001 19:08:13 -0000 Received: (qmail 12298 invoked by uid 97); 11 Dec 2001 19:08:05 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 12282 invoked by uid 97); 11 Dec 2001 19:08:05 -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 12270 invoked from network); 11 Dec 2001 19:08:04 -0000 Message-Id: <4.3.2.7.2.20011211135233.00c50460@mail.conectiv.net> X-Sender: kengentle@mail.conectiv.net X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Tue, 11 Dec 2001 14:07:48 -0500 To: "Ant Users List" From: Ken Gentle Subject: Re: Help with 'pathconvert', please! In-Reply-To: <20011211184223.9396.qmail@web13404.mail.yahoo.com> References: <4.3.2.7.2.20011211124634.00dd27f0@mail.conectiv.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N You are seeing the same behavior that I am - the difference is that I invoked ant from a directory on my "e:\" drive, and you from your "d:\" drive. It appears that the "map" element is being ignored for some reason, and since the path looks like an absolute path (starts with a "/") and the "targetos=windows", it defaults to the current drive letter (e in my case, d in yours). I expected pathconvert to strip the "/prefix" from "/prefix/iplanet/ias6/ias/..." and replace it with a "D:\", with a resulting classpath.project property defined as "D:\iplanet\ias6\ias". Isn't that the expected behavior? Here's a simpler build file that may point out the issue a bit better: At 10:42 AM 12/11/2001 -0800, Diane Holt wrote: >I get: >$ ant -f pc.xml >Buildfile: pc.xml > >generate_classpath: > [echo] BEFORE: PATH.PREFIX.TOKEN=/prefix > [echo] BEFORE: home.iplanet=/prefix/iplanet/ias6/ias > [echo] BEFORE: tools.windows.iplanet=D:\ > [echo] BEFORE: classpath.project=${classpath.project} > [echo] AFTER: >classpath.project=D:\prefix\iplanet\ias\ias\classes\java\iasclient.jar} > >dump-info: > [echo] ant.version=Ant version 1.4 compiled on September 3 2001 > [echo] ant.file=D:\cygwin\home\dianeh\work\ant\pc.xml > [echo] java.vm.info=mixed mode > [echo] java.vm.name=Java HotSpot(TM) Client VM > [echo] java.vm.vendor=Sun Microsystems Inc. > [echo] java.vm.version=1.3.0-C > [echo] os.arch=x86 > [echo] os.name=Windows NT > [echo] os.version=4.0 > [echo] >classpath.project=D:\prefix\iplanet\ias\ias\classes\java\iasclient.jar} > >BUILD SUCCESSFUL > >Total time: 0 seconds ========================================================================== J. Kenneth Gentle (Ken) | Phone: (610) 255-0361 FAX:(610) 255-0418 Gentle Software, LLC | Email: j.kenneth.gentle@acm.org ========================================================================== -- To unsubscribe, e-mail: For additional commands, e-mail: