ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wannheden, Knut" <K...@paranor.ch>
Subject RE: is <copy> lying to me?
Date Mon, 29 Apr 2002 14:08:29 GMT
have you tried with
<fileset dir="${build.srcdir}/de/einsurance/ejb/META-INF" includes="*.xml"/>

--
knut

> -----Original Message-----
> From: stephan beal [mailto:stephan@wanderinghorse.net]
> Sent: Montag, 29. April 2002 16:05
> 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>
> 
> 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/ej
> b-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>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message