This will work <copy todir="${classes.tmp.dir}/META-INF"> <fileset dir="${build.srcdir}/de/einsurance/ejb/META-INF"/> </copy>
-----Original Message----- From: stephan beal [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 7:35 PM To: [EMAIL PROTECTED] Subject: is <copy> lying to me? Hello, Ant users, i'm stuck... me and <copy> (ant 1.4.1) don't agree on what exists: <copy todir="${classes.tmp.dir}/META-INF"> <fileset dir="${build.srcdir}/de/einsurance/ejb/META-INF/*.xml"/> </copy> >>>> remove the *.xml This gives: /home/stephan/cvs/einsurance/build.ant:541: /home/stephan/cvs/einsurance/src/de/einsurance/ejb/META-INF/*.xml not found. (This is the path referenced by the fileset, above.) However, bash says otherwise: stephan@cheyenne:~/cvs/einsurance> l /home/stephan/cvs/einsurance/src/de/einsurance/ejb/META-INF/*.xml -rw-r--r-- 1 stephan users 861 Apr 29 15:06 /home/stephan/cvs/einsurance/src/de/einsurance/ejb/META-INF/ejb-jar.xml -rw-r--r-- 1 stephan users 223 Apr 25 15:58 /home/stephan/cvs/einsurance/src/de/einsurance/ejb/META-INF/jboss.xml i've also tried the fileset with **/*, for example, but copy still tells me that the stuff doesn't exist (**/* isn't really what i want, anyway). Are there any known problems with <fileset> which might cause this? Potential workarounds? Or am i just missing something obvious? Many thanks in advance, ----- stephan [EMAIL PROTECTED] - http://www.einsurance.de Office: +49 (89) 552 92 862 Handy: +49 (179) 211 97 67 This email is encrypted with ROT26 encoding. Decoding it is in violation of the Digital Millenium Copyright Act. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>