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:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 11:11 AM To: [EMAIL PROTECTED] Subject: Re: Jar not in classpath On Tue, 18 Feb 2003, Julien Ruaux <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]