ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sujan Digumarti <Sujan.Diguma...@india.techspan.com>
Subject RE: is <copy> lying to me?
Date Mon, 29 Apr 2002 14:04:55 GMT
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:stephan@wanderinghorse.net]
Sent: Monday, April 29, 2002 7:35 PM
To: ant-user@jakarta.apache.org
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
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:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message