Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 34410 invoked from network); 10 Jul 2002 20:42:47 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 10 Jul 2002 20:42:47 -0000 Received: (qmail 24606 invoked by uid 97); 10 Jul 2002 20:42:52 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 24539 invoked by uid 97); 10 Jul 2002 20:42:51 -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 24517 invoked by uid 98); 10 Jul 2002 20:42:50 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <01ab01c22852$514b3db0$25515b3f@kendall> From: "Kendall Collett" To: "Ant Users List" References: <20020710192116.72284.qmail@web13406.mail.yahoo.com> Subject: Re: Classpath problem with 1.5 "ant" on Win2000, tcsh Date: Wed, 10 Jul 2002 15:42:33 -0500 Organization: Convio, Inc. MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N In the beta, LOCALCLASSPATH is augmented using : [...] if $cygwin ; then [ -n "$ANT_HOME" ] && ANT_HOME=`cygpath --unix "$ANT_HOME"` [...] fi [...] DIRLIBS="${ANT_HOME}"/lib for i in "${DIRLIBS}"/*.jar [...] In the release, LOCALCLASSPATH is built up using: [...] ANT_LIB=${ANT_HOME}/lib if $cygwin ; then [ -n "$ANT_HOME" ] && ANT_HOME=`cygpath --unix "$ANT_HOME"` [...] fi [...] for i in "${ANT_LIB}"/*.jar [...] The problem seems to be that ANT_LIB is set using the "NT" version of ANT_HOME. This results in a different in how the Ant jars appear within the "pre-cygpath" LOCALCLASSPATH. In the beta, the Ant jars appear as: /Ant/lib/xml-apis.jar:/Ant/lib/xercesImpl.jar:/Ant/lib/optional.jar:/Ant/lib /ant.jar:[...] In the release, the Ant jars appear as: C:\Ant/lib/xml-apis.jar:C:\Ant/lib/xercesImpl.jar:C:\Ant/lib/optional.jar:C: \Ant/lib/ant.jar:[...] This difference affects the behavior of cygpath. I made the following change to the ant script, and it seemed to fix things (for my environment): --- ant.orig Wed Jul 10 15:34:46 2002 +++ ant Wed Jul 10 15:34:48 2002 @@ -69,9 +69,6 @@ cd $saveddir fi -# set ANT_LIB location -ANT_LIB=${ANT_HOME}/lib - # For Cygwin, ensure paths are in UNIX format before anything is touched if $cygwin ; then [ -n "$ANT_HOME" ] && @@ -81,6 +78,9 @@ [ -n "$CLASSPATH" ] && CLASSPATH=`cygpath --path --unix "$CLASSPATH"` fi + +# set ANT_LIB location +ANT_LIB=${ANT_HOME}/lib if [ -z "$JAVACMD" ] ; then if [ -n "$JAVA_HOME" ] ; then ----- Original Message ----- From: "Diane Holt" To: "Ant Users List" Sent: Wednesday, July 10, 2002 14:21 Subject: Re: Classpath problem with 1.5 "ant" on Win2000, tcsh > --- Kendall Collett wrote: > > CYGWIN_NT-5.0 > > In that case (no pun intended :), "cygwin" should be getting set, and all > the 'cygpath' stuff at the end should be getting done. > > Diane > > ===== > (holtdl@yahoo.com) > > > > __________________________________________________ > Do You Yahoo!? > Sign up for SBC Yahoo! Dial - First Month Free > http://sbc.yahoo.com > > -- > To unsubscribe, e-mail: > For additional commands, e-mail: > -- To unsubscribe, e-mail: For additional commands, e-mail: