Skip to content

Instantly share code, notes, and snippets.

@devbhuwan
Last active November 3, 2016 16:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save devbhuwan/31f6c222332af46a19094a2723170624 to your computer and use it in GitHub Desktop.
Save devbhuwan/31f6c222332af46a19094a2723170624 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8" ?>
<project>
<target name="antConcat">
<!--
<buildDir> and <srcDir> properties are pass in pom.xml in ant target configuration
<rootDir> property pass in antBuild.xml of antBuild target
-->
<concat destfile="${buildDir}/classes/file.txt" append="Yes">
<filelist dir="${rootDir}/data">
<file name="file1.txt"/>
<file name="file2.txt"/>
</filelist>
</concat>
</target>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment