ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Reilly <>
Subject Re: DO NOT REPLY [Bug 28046] - Ant includes JARs in working directory
Date Fri, 03 Sep 2004 16:33:36 GMT
Dominique Devienne wrote:

>Well, -lib is not a classpath. It's more like java.ext.dirs, i.e.
>all JARs in these directories are picked up. This makes it a lot
>more convenient than having to specify a full classpath.
>That said, since -lib is also used to pass in the user CLASSPATH,
>it shouldn't change the meaning of the classpath, as Peter
>pointed out.
>So basically we should leave -lib as-is, and introduce a new -cp
>(or -classpath or both) to pass in a true class path, and change
>the launcher script to do -cp %CLASSPATH% (or -cp "$CLASSPATH").
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 would check that it is only set once.

I have the changes ready to commit, if people think this is good idea..


>No? --DD
>To unsubscribe, e-mail:
>For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message