summaryrefslogtreecommitdiffstats
path: root/build.xml
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2012-10-04 08:15:32 -0400
committerJames Moger <james.moger@gitblit.com>2012-10-04 08:15:32 -0400
commit5e351a7bfca73310ec2b750a0f8bcae04481c7fd (patch)
treeca8b0d91002868044b789907f314a37f9af9d3c6 /build.xml
parent9f5a860d1ecaebb80530fc22607d34fc80d8c09d (diff)
downloadgitblit-5e351a7bfca73310ec2b750a0f8bcae04481c7fd.tar.gz
gitblit-5e351a7bfca73310ec2b750a0f8bcae04481c7fd.zip
Exclude everything from ext/src from all builds
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml16
1 files changed, 4 insertions, 12 deletions
diff --git a/build.xml b/build.xml
index 72313417..b91a9680 100644
--- a/build.xml
+++ b/build.xml
@@ -194,11 +194,10 @@
<mkdir dir="${project.deploy.dir}/ext"/>
<copy todir="${project.deploy.dir}/ext">
<fileset dir="${basedir}/ext">
+ <exclude name="src/**" />
<exclude name="junit*.jar" />
<exclude name="hamcrest*.jar" />
<exclude name="commons-net*.jar" />
- <exclude name="*-sources.jar" />
- <exclude name="*-javadoc.jar" />
</fileset>
</copy>
@@ -412,8 +411,7 @@
<mkdir dir="${project.war.dir}/WEB-INF/lib"/>
<copy todir="${project.war.dir}/WEB-INF/lib">
<fileset dir="${basedir}/ext">
- <exclude name="*-sources.jar" />
- <exclude name="*-javadoc.jar" />
+ <exclude name="src/**" />
<exclude name="jcommander*.jar" />
<exclude name="jetty*.jar" />
<exclude name="junit*.jar" />
@@ -552,8 +550,7 @@
<mkdir dir="${deployments.root}/WEB-INF/lib"/>
<copy todir="${deployments.root}/WEB-INF/lib">
<fileset dir="${basedir}/ext">
- <exclude name="*-sources.jar" />
- <exclude name="*-javadoc.jar" />
+ <exclude name="src/**" />
<exclude name="jcommander*.jar" />
<exclude name="jetty*.jar" />
<exclude name="junit*.jar" />
@@ -707,15 +704,10 @@
<include name="NOTICE" />
</fileset>
<fileset dir="${basedir}/ext">
+ <exclude name="src/**" />
<include name="gson*.jar" />
- <exclude name="gson*-sources.jar" />
- <exclude name="gson*-javadoc.jar" />
<include name="rome*.jar" />
- <exclude name="rome*-sources.jar" />
- <exclude name="rome*-javadoc.jar" />
<include name="jdom*.jar" />
- <exclude name="jdom*-sources.jar" />
- <exclude name="jdom*-javadoc.jar" />
</fileset>
</zip>
</target>