Hi there,Hi Johannes,
I know this is more a question about ant, but maybe a tomcat user here has faced the same issue as I do when using a central lib directory for all of the JAR files in the various webapps:
In the prepare task I copy the JAR files I need for my webapp into the WEB-INF/lib folder in the build path:
===============
<copy todir="${build.home}/WEB-INF/lib">
<fileset dir="${lib.home}">
<include name="cos.jar" />
<include name="cos2.jar" />
....
</fileset>
</copy>
=================
However, this library listing is the only thing which distinguishes the various build.xml files for my different webapps.
I'd prefer to have only ONE build.xml file for all of my webapps so they all have the same structure.
How can I import a fileset like above from a separate filename?
(so I can have *) ONE build.xml for all of my webapps and *) a specific lib.xml for each of my webapps?
thx alot
Johannes
why not coding your own task ? reading a single filename then copying files is an easy task to be coded in Java isn't it ?
HTH Jerome
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
