ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject Re: DO NOT REPLY [Bug 28046] - Ant includes JARs in working directory
Date Fri, 03 Sep 2004 17:43:41 GMT
My opinion is already on record on the bugrep--I am in
favor of this change.

-Matt

--- Peter Reilly <peterreilly@apache.org> wrote:

> Dominique Devienne wrote:
> 
> >>From: Peter Reilly [mailto:peterreilly@apache.org]
> >>Exactly, -cp could be the the name to use instead
> of -lib
> >>    
> >>
> >"$CLASSPATH".
> >  
> >
> >>-cp would not a user visible option, it would be
> set in the the
> >>ant[.bat] file
> >>and removed in Launcher.java.
> >>    
> >>
> >
> >I'm not following here. -cp should be an option of
> Launcher.java
> >just like -lib, and both would be public.
> >
> >The only difference between the two would be that
> -cp would leave
> >Directories as-is, as opposed to the -lib behavior
> of adding all
> >JARs in that directory.
> >
> >Both options are useful.
> >
> >Or maybe I don't understand what you mean by
> 'removed' in
> >Launcher.jar. -lib is also 'removed' I guess, it's
> just used
> >To set a classloader, and not passed to Main.java.
> Is that
> >what you meant? --DD
> >  
> >
> 
> By user visible I meant that ant -cp x:y:z would not
> be supported by the
> ant[.bat].  By support, I mean x:y:z replacing
> CLASSPATH in the
> java call. It would be a nice to have, but would
> need support by the
> the script (sh and bat), in detecting -cp, setting
> LOCALCLASSPATH
> and CLASSPATH correctly.
> 
> For the point of view of Launcher.java,  the
> behaviour would be as you
> describe, except that Launcher.java would make sure
> that only one -cp is
> used.
> 
> 
> Peter
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> dev-unsubscribe@ant.apache.org
> For additional commands, e-mail:
> dev-help@ant.apache.org
> 
> 



		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 

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


Mime
View raw message