Sorry,

> I have generated a list of files and stored them in xxx. I would

xxx should be "file_list.txt" and the <copy> task should actually be <move>.

Does anyone know why ANT is ignoring every file? If I put a pattern of
**/*.java into file_list.txt, it copies every .java file.

Greg




> -----Original Message-----
> From: Greg Hassan [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 09, 2002 9:47 AM
> To: 'Ant Users List'
> Subject: PaternSet problems
>
>
> Hi,
>
> I have generated a list of files and stored them in xxx. I would
> like to use
> ANT to move each of these files to a separate location, but the
> <move> task
> is not picking up my patterns properly in this file. See target definition
> and sample of pattern file below.
>
> taget definition:
>
>   <target name="move_unused">
>     <!-- Move files into temp-->
>     <copy todir="${basedir}/implementation/temp">
>       <fileset dir="${basedir}/implementation"
> includesfile="file_list.txt"/>
>     </copy>
>   </target>
>
>
> pattern file (file_list.txt):
>
>       **/previewREApp.java
>       **/TestAppTest.java
>       **/TestApp.java
>       **/TestAppMainFrame.java
>
>
>
> ant output:
>
>       Buildfile: build.xml
>
>       move_files:
>
>       BUILD SUCCESSFUL
>       Total time: 1 second
>
>
> Idealy I would like to specify the full path for each file such as:
>
>       com/xxx/yyy/previewREApp.java
>
> I tried this, but it also failed.
>
> Can anyone see what I'm doing wrong?
>
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to