ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique Devienne" <ddevie...@gmail.com>
Subject Re: svn commit: r419898 - in /ant/core/trunk: CONTRIBUTORS contributors.xml docs/manual/CoreTasks/java.html src/main/org/apache/tools/ant/taskdefs/Java.java
Date Fri, 07 Jul 2006 14:57:28 GMT
I'd prefer just the warning at runtime and in the doc. Using <java
jar=""> ensures no classpath is used at all, even coming from env.
vars., or automatically added by Ant.

I think it's better to stick to the current behavior and translate
<java jar="foo.jar"> to java -jar foo.jar    --DD

On 7/7/06, Jan.Materne@rzf.fin-nrw.de <Jan.Materne@rzf.fin-nrw.de> wrote:
> >Bug: 39153
> >Add notes (log+manual) that <java> does not handle
> >jar+classpath together (more exactly Java itself does not).
>
>
> On the other hand we could convert the jar-attribute to a path element,
> so
>    <java jar="one.jar" fork="true">
>        <classpath>
>            <pathelement path="two.jar"/>
>        </classpath>
>    </java>
>
> becomes to
>    <java mainclass="---" fork="true">
>        <classpath>
>            <pathelement path="one.jar"/>
>            <pathelement path="two.jar"/>
>        </classpath>
>    </java>
>
>
>
> Jan
>
> ---------------------------------------------------------------------
> 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