ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mathieu Champlon <m.champ...@free.fr>
Subject Re: "copy" Being Ignored
Date Sun, 28 Jan 2007 13:25:32 GMT
Hello,

Does the following do what you expect ?

   <copy todir="build/${web}/WEB-INF/lib">
     <fileset dir="compile/${webPkg}" includes="*.jar"/>
   </copy>

Why are you using patternset ? You probably dont need this in your build 
file...
Take a look at the fileset documentation : 
http://ant.apache.org/manual/CoreTypes/fileset.html

MAT.

Jason Ferguson a écrit :
> I need help. My build.xml script seems to be ignoring a copy that
> would copy my third-party jar files to WEB-INF/lib. Running ant in
> regular and verbose mode does not give me any error messages that I
> can see (although Im a newbie with ant and just modifying my
> instructor's pre-created script).
>
> Script is below. The "bad" copy directive is the last one in the build
> target before the <jar> directives.
>
> Jason



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


Mime
View raw message