]> source.dussan.org Git - gitblit.git/commitdiff
Exclude everything from ext/src from all builds
authorJames Moger <james.moger@gitblit.com>
Thu, 4 Oct 2012 12:15:32 +0000 (08:15 -0400)
committerJames Moger <james.moger@gitblit.com>
Thu, 4 Oct 2012 12:15:32 +0000 (08:15 -0400)
build.xml

index 7231341725f203d5b14e4c77c4ab26d5fd0c1a80..b91a9680d4e6f5d10646b575895ac514b6e9960d 100644 (file)
--- a/build.xml
+++ b/build.xml
                <mkdir dir="${project.deploy.dir}/ext"/>\r
                <copy todir="${project.deploy.dir}/ext">\r
                        <fileset dir="${basedir}/ext">\r
+                               <exclude name="src/**" />\r
                                <exclude name="junit*.jar" />\r
                                <exclude name="hamcrest*.jar" />\r
                                <exclude name="commons-net*.jar" />\r
-                               <exclude name="*-sources.jar" />\r
-                               <exclude name="*-javadoc.jar" />\r
                        </fileset>\r
                </copy>\r
                \r
                <mkdir dir="${project.war.dir}/WEB-INF/lib"/>\r
                <copy todir="${project.war.dir}/WEB-INF/lib">\r
                        <fileset dir="${basedir}/ext">\r
-                               <exclude name="*-sources.jar" />\r
-                               <exclude name="*-javadoc.jar" />\r
+                               <exclude name="src/**" />\r
                                <exclude name="jcommander*.jar" />\r
                                <exclude name="jetty*.jar" />\r
                                <exclude name="junit*.jar" />\r
                <mkdir dir="${deployments.root}/WEB-INF/lib"/>\r
                <copy todir="${deployments.root}/WEB-INF/lib">\r
                        <fileset dir="${basedir}/ext">\r
-                               <exclude name="*-sources.jar" />\r
-                               <exclude name="*-javadoc.jar" />\r
+                               <exclude name="src/**" />\r
                                <exclude name="jcommander*.jar" />\r
                                <exclude name="jetty*.jar" />\r
                                <exclude name="junit*.jar" />\r
                                        <include name="NOTICE" />\r
                                </fileset>\r
                                <fileset dir="${basedir}/ext">\r
+                                       <exclude name="src/**" />\r
                                        <include name="gson*.jar" />\r
-                                       <exclude name="gson*-sources.jar" />\r
-                                       <exclude name="gson*-javadoc.jar" />\r
                                        <include name="rome*.jar" />\r
-                                       <exclude name="rome*-sources.jar" />\r
-                                       <exclude name="rome*-javadoc.jar" />\r
                                        <include name="jdom*.jar" />\r
-                                       <exclude name="jdom*-sources.jar" />\r
-                                       <exclude name="jdom*-javadoc.jar" />\r
                                </fileset>\r
                        </zip>\r
                </target>\r