> <path id="compile.class.path">
> <pathelement path="X.jar" />
> </path>
>
> <path id="runtime.class.path">
> <pathelement path="Y.jar" />
> </path>
>
>
> <war destfile="my.war" webxml="web.xml">
> <lib file="X.jar" />
> <lib file="Y.jar" />
> </war>
<web><lib> is a <zipfileset> therefore referencing a <path> wouldnt work
I think.
<war><lib refid="compile.classpath"/><lib
refid="runtime.class.path"/></war>
But referencing another <fileset> should work.
<path id="compile.class.path">
<fileset id="fs.compile.libs" dir="." includes="X.jar" />
</path>
<path id="runtime.class.path">
<fileset id="fs.rt.libs" dir="." includes="Y.jar" />
</path>
<war destfile="my.war" webxml="web.xml">
<lib refid="fs.compile.libs" />
<lib refid="fs.rt.libs" />
</war>
But because of the use of fileset the referenced libraries have to have
the same base
directory. (Or you must specify a fileset for each base directory.)
Jan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]