ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 張毓成 <>
Subject questions about dirset and depend task
Date Wed, 13 Jan 2010 07:54:05 GMT
Hi, everyone!
  I wanna ask two questions.

1. how to select folders and sub folders that contains the specific
filetype, and excludes all files.
e.g.  select all folders that contains js files.
i use the following script and it did not work.

<copy todir="deploy">
    <dirset dir="webroot" includes="**/*.js"/>
</copy> to use the depend task? I delele a java file in the source
folder and run the following script
and class file in the classes wont be deleted.
<depend srcdir="src" destdir="${classes.dir}" closure="on"/>

thanks in advanced.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message