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:40:35 GMT
Same as what I get, same as CVS HEAD... same as CVS
ANT_16_BRANCH too...

Let me know...

-Matt

--- Cyril Sagan <Cyril.Sagan@sas.com> wrote:
> [ yell if you want to be taken off this thread ]
> 
> Matt -- can you first help me confirm that I have
> the latest source:
> 
> I downloaded the image today, I rebuilt everything
> then replaced only ant-launcher.jar on top of my
> existing ant 1.6.1.  My read of the bug report said
> that only Locator.java had changed.
> 
> Here's what I have: 
> $ cd main/org/apache/tools/ant/launch
> $ sum Locator.java
> 14265 9 Locator.java
> $ wc Locator.java
>      269    1097    9095 Locator.java
> 
> If you can confirm the source is correct I'd
> appreciate it.  I'll continue on this tomorrow.  I
> want to make sure the right thing gets in 1.6.2.  Do
> you have any idea when 1.6.2 is due out?
> 
> Thanks.
> 
> --Cyril
> 
> -----Original Message-----
> From: Matt Benson [mailto:gudnabrsam@yahoo.com] 
> Sent: Thursday, May 27, 2004 6:08 PM
> To: Cyril Sagan; Anderson, Rob (Global Trade);
> rainer@noacks.net
> Cc: dev@ant.apache.org
> Subject: RE: Ant Bug: Launcher fails for UNC drive
> names (Bugzilla #27922)
> 
> 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
> 
=== message truncated ===



	
		
__________________________________
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