L
Lord0
Hi there,
I'm kinda embarrassed to be asking this but it's been bugging me for
while....
I have a bunch of .java files in /src/testPackage
In my Ant build file the following <fileset> will find all the java
files in "testPackage"
<fileset dir="${src.dir}">
<include name="testPackage/*.java"/>
</fileset>
but this does not
<fileset dir="${src.dir}/testPackage">
<include name="*.java"/>
</fileset>
What obvious point am I missing? The second example works in so far as
Ant can find the "/src/testPackage" dir. I know this as if I change the
dir name then the task which uses the <fileset>, in this case Xdoclet,
barfs "No such dir" etc etc.It just doesn't seem to find the .java
files?!?
cheers
Lord0
I'm kinda embarrassed to be asking this but it's been bugging me for
while....
I have a bunch of .java files in /src/testPackage
In my Ant build file the following <fileset> will find all the java
files in "testPackage"
<fileset dir="${src.dir}">
<include name="testPackage/*.java"/>
</fileset>
but this does not
<fileset dir="${src.dir}/testPackage">
<include name="*.java"/>
</fileset>
What obvious point am I missing? The second example works in so far as
Ant can find the "/src/testPackage" dir. I know this as if I change the
dir name then the task which uses the <fileset>, in this case Xdoclet,
barfs "No such dir" etc etc.It just doesn't seem to find the .java
files?!?
cheers
Lord0