You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by stephan beal <st...@wanderinghorse.net> on 2002/04/29 16:04:39 UTC

is 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>

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
stephan@einsurance.de - 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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>