| Author |
includesfile help
|
geoff conner
Greenhorn
Joined: Aug 14, 2003
Posts: 4
|
|
Hi, I'm fairly new at Ant and am having trouble using includesfile. I'm trying to copy a subset of jsp's and want to explicitly list these in a text file. There's no real pattern to the names to match. Here is a snippet of my target. <target name="copy_jsp" depends="init"> <copy todir="${my_build}/jsp"> <fileset dir="."> <includesfile name="./admin_jsp.txt"/> </fileset> </copy> </target> the content of admin_jsp.txt is along the lines of .\server\admin\jsp\this.jsp .\server\admin\jsp\that.jsp .\server\admin\jsp\another.jsp when executing this target, I get success, but no status msgs regarding a copy, and no copies are performed. if I purposely change the includes file name i get an error which i would expect. So I know ant is finding my includesfile fine. I'm just not sure what the contents of admin_jsp.txt should look like, nor am I really sure if dirset dir="." is correct. my build.xm. and the admin_jsp.txt are in the same directory, and ./server/admin/jsp are sub to that dir. Thanks in advance. Geoff
|
 |
 |
|
|
subject: includesfile help
|
|
|