You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Peter Reilly <pe...@gmail.com> on 2009/04/24 12:46:19 UTC

Re: Copy and Include Issues in Apache Ant.

Because <include name=''> does not split up the name using ','
You need to have :
  <include name="BuildSh"/>
  <include name="Compsh"/>
  <include name="vsamc"/>

etc..

Peter


On Fri, Apr 24, 2009 at 11:22 AM, Rajesh Kumar  (IN4774)
<ra...@mindtree.com> wrote:
> Question: Why Copy in ant is not working if I am putting includes separately?
> Ant version: Apache Ant version 1.5.4 compiled on January 8 2005.
>
>
> Program 1 is not working and Program 2 is working.  I guess both programs are correct..
> Program1:
>      <copy todir="${Temp}/uaw/Uaw_compilescripts">
>            <fileset dir="${SVNCheckout}/scripts/compilescripts" >
>                  <include name="BuildSh,Compsh,vsamc,buildc.sh,script,compl2,main.sh,makefile,makepl1,script"/>
>
>            </fileset>
>      </copy>
>
> Program2:
>
>      <copy todir="${Temp}/uaw/Uaw_compilescripts">
>            <fileset dir="${SVNCheckout}/scripts/compilescripts" includes="BuildSh,Compsh,vsamc,buildc.sh,script,compl2,main.sh,makefile,makepl1,script" />
>      </copy>
>
>
> www.scmGalaxy.com<http://www.scmGalaxy.com>
> Software Configuration Management | Build Management | Release Management
> | CVS | MKS | SVN | VSS | Perforce | Ant | Python | Perl | Java Scripting |
>
> ________________________________
> http://www.mindtree.com/email/disclaimer.html
>

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