gump-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julien Ruaux" <jru...@octo.com>
Subject RE: Jar not in classpath
Date Tue, 18 Feb 2003 10:40:12 GMT
The jar I want on the classpath is not part of any project, so I don't
think I can use a <depend> element in this case ?

-----Original Message-----
From: Stefan Bodewig [mailto:bodewig@apache.org] 
Sent: Tuesday, February 18, 2003 11:11 AM
To: gump@jakarta.apache.org
Subject: Re: Jar not in classpath


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

---------------------------------------------------------------------
To unsubscribe, e-mail: gump-unsubscribe@jakarta.apache.org
For additional commands, e-mail: gump-help@jakarta.apache.org



Mime
View raw message