ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject RE: Ant Bug: Launcher fails for UNC drive names (Bugzilla #27922)
Date Thu, 27 May 2004 22:08:23 GMT
Hi, sorry I hadn't jumped in until now... the CVS
versions from both the main and 1.6 branches work for
me.  I imagine the main branch is what you got from
CVS.  In any event, if it doesn't work I definitely
need/want to find out why prior to the release of
1.6.2.  We should probably take this to the dev list
while we're at it.  What is your environment, and what
behavior do you experience with the latest code?

Thanks,
Matt


--- Cyril Sagan <Cyril.Sagan@sas.com> wrote:
> Rob,
> 
> Thanks for your response.  I did not get the nightly
> build because they looked very old.  The ones at
> http://cvs.apache.org/builds/ant/nightly/ were from
> September 2003!!
> 
> Instead I went to
>
http://cvs.apache.org/snapshots/ant/ant_20040527161201.tar.gz
> to get the latest nightly source and built it
> myself.  The ant-laucher.jar built by this code
> continues to show a problem with UNC path names in
> ANT_HOME.
> 
> I suspect the bug fix was not complete.   Your
> works, but the one in the current Ant source does
> not.  I'm hoping gudnabrsam@yahoo.com who made the
> "slightly shorter" fix can comment.
> 
> --Cyril
> 
> 
> -----Original Message-----
> From: Anderson, Rob (Global Trade)
> [mailto:Rob.Anderson@nike.com] 
> Sent: Thursday, May 27, 2004 4:56 PM
> To: Cyril Sagan; Anderson, Rob (Global Trade);
> gudnabrsam@yahoo.com; rainer@noacks.net
> Subject: RE: Ant Bug: Launcher fails for UNC drive
> names (Bugzilla #27922)
> 
> The "better fix" is in CVS, not released with 1.6.1.
> Try the latest nightly build. That should work. Let
> me know you still have problems.
> 
> -Rob Anderson
> 
> > -----Original Message-----
> > From: Cyril Sagan [mailto:Cyril.Sagan@sas.com]
> > Sent: Thursday, May 27, 2004 11:47 AM
> > To: Anderson, Rob (Global Trade);
> gudnabrsam@yahoo.com;
> > rainer@noacks.net
> > Subject: RE: Ant Bug: Launcher fails for UNC drive
> names (Bugzilla
> > #27922)
> > 
> > 
> > Rob & all,
> > 
> > Thanks for providing the library.  It *does* work
> for me 
> > (yeah!) whereas the current Ant code, "better
> fix", does not. 
> >  Have you tried the latest Ant source?  (Could you
> if you 
> > have not?)  Before I add comments to the existing
> bug I 
> > wanted to make sure its not something specific to
> my configuration.
> > 
> > Here's what I get using the latest Ant source:
> > (note:  I added the "Classpath:" debug statement
> observing 
> > the unc prefix portion of the path still gets
> truncated)
> > 
> > C:\>set ANT_HOME=\\<host>\<path>\ant1.6.1
> > C:\>set PATH=%ANT_HOME%\bin;%PATH%
> > C:\>ant -version
> > Classpath: 
> >
>
\\dntsrc\sasjdk\ant\ant1.6.1fix\lib\ant-launcher.jar;dntsrc\sa
> > sjdk\jdk\win-jdk1.4.1_03\lib\tools.jar
> > java.lang.ClassNotFoundException:
> org.apache.tools.ant.Main
> > 	at
>
java.net.URLClassLoader$1.run(URLClassLoader.java:198)
> > 	at
> java.security.AccessController.doPrivileged(Native
> Method)
> > 	at
>
java.net.URLClassLoader.findClass(URLClassLoader.java:186)
> > 	at
>
java.lang.ClassLoader.loadClass(ClassLoader.java:299)
> > 	at
>
java.lang.ClassLoader.loadClass(ClassLoader.java:255)
> > 	at
>
org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
> > 	at
>
org.apache.tools.ant.launch.Launcher.main(Launcher.java:56)
> > 
> > 
> > Thanks again.
> > 
> > --Cyril
> > 
> > -----Original Message-----
> > From: Anderson, Rob (Global Trade)
> [mailto:Rob.Anderson@nike.com] 
> > Sent: Thursday, May 27, 2004 11:55 AM
> > To: Cyril Sagan; gudnabrsam@yahoo.com;
> rainer@noacks.net; 
> > Rob.Anderson@nike.com
> > Subject: RE: Ant Bug: Launcher fails for UNC drive
> names 
> > (Bugzilla #27922)
> > 
> > See the attached file. Let me know if there is an
> issue with 
> > it. It seems to work well for me.
> > 
> > -Rob Anderson
> > 
> > > -----Original Message-----
> > > From: Cyril Sagan [mailto:Cyril.Sagan@sas.com]
> > > Sent: Wednesday, May 26, 2004 8:41 PM
> > > To: gudnabrsam@yahoo.com; rainer@noacks.net;
> Rob.Anderson@nike.com
> > > Subject: Ant Bug: Launcher fails for UNC drive
> names 
> > (Bugzilla #27922)
> > > 
> > > 
> > > Hi,
> > > 
> > > I saw your names listed as parties who had
> reported and/or 
> > > contributed fixes to this Ant bug, where Ant
> fails to start 
> > > if ANT_HOME is specified with a (windows) UNC
> path name.
> > > 
> > > Can any of you provide a fixed ant-launcher.jar?
> > > 
> > > Thanks.
> > > 
> > > --Cyril Sagan
> > > 
> > > 
> > > 
> > 
> > 
> 



	
		
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message