gump-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Jar not in classpath
Date Tue, 18 Feb 2003 10:10:57 GMT
On Tue, 18 Feb 2003, Julien Ruaux <jruaux@octo.com> wrote:

>     <ant buildfile="integration/eclipse/build.xml" target="release">
>       [...]
>       <depend property="eclipse.ui.workbench.jar" project="eclipse"
> id="workbench"/>
>       <property name="eclipse.jdt.junit.jar" 
>         value="integration/eclipse/lib/junitsupport-2.1.0dev.jar"/>
>     </ant>
> 
> The jar referenced by the <depend property> is added to the
> classpath for the Ant build, but the jar referenced by <property
> name> is not.

Because one is a <depend> and the other is a <property> element 8-)

<depend> nested into <ant> is equivalent to <property> plus a <depend>
outside of Ant.

> Why is that so and what can I do to solve that ?

Turn the <property> into <depend> or add an extra <depend> element
outside of <ant>.

Stefan

Mime
View raw message