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:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
|