Jörn Kottmann wrote:
> Now the License, Notice, Disclaimer and Keys files are included
> in all archives. I also added a source archive.
> 
> Does someone know how to exclude a dir in a fileset ?
> I would like to exclude the target dir when copying the project folder
> for packaging.

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>

> 
> 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?

-- Michael

Reply via email to