You must use 

<classpath>
  <path refid="apache.beehive.classpath"/>
</classpath>

or in your case, the shortcut

<classpath refid="apache.beehive.classpath" />



Cole, Derek E wrote:
> 
> Hello all,
> 
> I am interested in passing in a <path> reference to the <classpath> tags
> of my <java> call. How can this be done? 
> 
>       <!-- Apache Beehive jars-->
>       <path id="apache.beehive.classpath">
>               <fileset dir="${apache-beehive.lib.netui.dir}">
>                       <include name="**/*.jar"/>
>               </fileset>
>               <fileset dir="${apache-beehive.lib.controls.dir}">
>                       <include name="*.jar"/>
>               </fileset>
>       </path>
> 
>       <echo>CP:${toString:apache.beehive.classpath}</echo>
> 
> CP: outputs the correct thing, however, when I then try to use that like
> 
>        <classpath>
>               <pathelement path="${apache.beehive.classpath}" />
>        </classpath>
> 
> I get this kind of error message in my log:
> 
> dropping /tools/build/antstuff/apache.beehive.classpath from path as it
> doesn't exist
> 
> what am I doing wrong?
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Ant-and-Manifest-tp23619537p23629964.html
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to