You need to put a slash at the end. For example: name="WEB-INF/src/"
- Alexey.
Frank W. Zammetti wrote:
Hi all,
I'm trying to set up a task that will copy an entire directory tree
starting at a given root directory, but which will EXCLUDE certain
directories in the tree.
I started with the entire copy:
<target name="test">
<delete dir="${ddir}/project" />
<mkdir dir="${ddir}/project" />
<copy toDir="${ddir}/project">
<fileset dir="${root}">
<exclude name="**/*src*" />
</fileset>
</copy>
</target>
Basically, I'm trying to exclude a single directory: src in WEB-INF (I'm
copying a webapp obviously).
This part was easy, and it works. But, I can't seem to figure out the
exclusion... I can't use a <dirset> in <copy> apparently, and the
<copydir> task is deprecated. I don't see a way to do it with the <copy>
task alone. Any ideas? Thanks!
Frank
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
------------------------------------------------------------------------
/ Alexey N. Solofnenko
MDL Information Systems, Inc.
work: 510-357-2222x1726
home: http://trelony.cjb.net/
/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]