ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Reilly <peterrei...@apache.org>
Subject Re: DO NOT REPLY [Bug 28046] - Ant includes JARs in working directory
Date Mon, 06 Sep 2004 09:28:32 GMT
Conor MacNeill wrote:

> Peter Reilly wrote:
>
>>
>> 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.
>>
>
> I'm +1 having a separate -cp option to the launcher to pick up 
> classpath style entries. Whether that mode should be removed from -lib 
> is debatable.
>
> I'm not sure why -cp should not be supported by ant.bat. Why not 
> support multiple -cp entries?

multiple -cp entries would IMO be confusing.  java does not allow this,
Steves's idea of -cp "" to avoid CLASSPATH issues would be
neat.

>
> What might need to be considered is any ordering issues between -lib, 
> -cp and CLASSPATH (passed via -cp)


Good point, -cp will be added first.

Peter

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


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


Mime
View raw message