I'm currently trying to simplify some exisiting build.xml files and I
would like to use the PATH elements in order to do so.  By using <path>
and <fileset>, I am on my way and it works fine for compilation. 
Unfortunately, when I try to use the same path within <java>,  the new
classpath doesn't appear to be used...

Here's how I'm doing it...

<path id="temp.classpath">
        <fileset dir="../lib">
                <include name="**/*.jar"/>
        </fileset>
</path>

and then within the target

<java various attributes>
        <classpath refid="temp.classpath"/>
</java>

Hopefully this made some sense.

Any help would be appreciated.


thanks,
josh

Reply via email to