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> 2.how 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.