Does the example from the ANT documentation not work?
http://ant.apache.org/manual/CoreTypes/fileset.html

<fileset dir="${server.src}" casesensitive="yes">
 <include name="**/*.java"/>
 <exclude name="**/*Test*"/>
<exclude name="**/target/**"/> <- should exclude the target dir I think
</fileset>

Yeah I tried this already, but thought it does not work. Through
a mistake I did not notice that it does.


I also hat trouble to call the build_documentation.xml from the
build.xml ant file.
I did a import of this file and then called it with ant call, but the path
are broken since they are all relative. This means
that build_documentation.xml cannot import files from
the SandboxDocs project.

When calling ANT file you can also provide a base directory...

<ant antfile="build_documentation.xml" dir=".." inheritall="true"/>

Did you try this?

Now I tried the import, that did not work. With antfile it works properly.

Thanks,
Jörn

Reply via email to