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)
<rajesh_kum...@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-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org

Reply via email to