java - Ant zip exclude directories -
i trying create zip file ant - i'd exclude src directory, not working:
<zip basedir="${workspace.dir}" destfile="${build.output.dir}/somemodule.zip" includes="${somelibrary}" excludes="somelibrary/lib/somejar.jar, **/src/**" defaultexcludes="no" />
when @ zip file somejar.jar file not included, src directory (and sub-directories , *.java files) included.
the directory construction before zip is:
somelibrary `--src `--bin `--lib
java ant
No comments:
Post a Comment