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:54:34 GMT
Dominique Devienne wrote:

>>From: Peter Reilly []
>>Exactly, -cp could be the the name to use instead of -lib
>>-cp would not a user visible option, it would be set in the the
>>ant[.bat] file
>>and removed in
>I'm not following here. -cp should be an option of
>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 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,  the behaviour would be as you
describe, except that would make sure that only one -cp is


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

View raw message