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]

Reply via email to