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 19:07:00 GMT
--- Dominique Devienne <DDevienne@lgc.com> wrote:

> > From: Peter Reilly [mailto:peterreilly@apache.org]
> > 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.
> 
> I guess I'm a little slow today, as this is still
> not clear to me.
> 
> Let me put it differently:
> 
> 1) I agree that if the user has a CLASSPATH set, we
> should not
>    add all the JARs from any directory in the
> CLASSPATH.
> 
> 2) When the user calls Ant with -lib dir1:dir2, all
> JARs in
>    dir1 and dir2 are automatically added to Ant's
> classpath,
>    exactly as it is now, i.e. full B.C.
> 
> if implementing (1) means adding a -cp, that's
> great, but only
> if (2) remains available and retains its current
> behavior. --DD

This is what I understood Peter to mean.

-Matt


	
		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
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