]> source.dussan.org Git - gitblit.git/commitdiff
Manually specify which scripts to include in distribution
authorJames Moger <james.moger@gitblit.com>
Thu, 5 Jan 2012 01:15:09 +0000 (20:15 -0500)
committerJames Moger <james.moger@gitblit.com>
Thu, 5 Jan 2012 01:15:09 +0000 (20:15 -0500)
build.xml

index 3fe65ef953af21fa774d5f69126fc99b6d6dd58a..c7040463c5803f052b8ad4a7178d4dde9c0e98a7 100644 (file)
--- a/build.xml
+++ b/build.xml
                        <param name="docs.output.dir" value="${project.deploy.dir}/docs" />\r
                </antcall>\r
                \r
-               <!-- Copy the sample Groovy hook scripts -->\r
+               <!-- Copy the supported Groovy hook scripts -->\r
                <mkdir dir="${project.deploy.dir}/groovy" />\r
                <copy todir="${project.deploy.dir}/groovy">\r
                        <fileset dir="${basedir}/groovy">\r
-                               <include name="**/*" />\r
+                               <include name="sendmail.groovy" />\r
+                               <include name="jenkins.groovy" />\r
                        </fileset>\r
                </copy>\r
        \r
                        <param name="docs.output.dir" value="${project.war.dir}/WEB-INF/docs" />\r
                </antcall>\r
 \r
-               <!-- Copy the sample Groovy hook scripts -->\r
+               <!-- Copy the supported Groovy hook scripts -->\r
                <mkdir dir="${project.war.dir}/WEB-INF/groovy" />\r
                <copy todir="${project.war.dir}/WEB-INF/groovy">\r
                        <fileset dir="${basedir}/groovy">\r
-                               <include name="**/*" />\r
+                               <include name="sendmail.groovy" />\r
+                               <include name="jenkins.groovy" />\r
                        </fileset>\r
                </copy>\r
 \r
                <delete dir="${project.war.dir}" />\r
                <delete dir="${project.deploy.dir}" />\r
        </target>\r
-</project>\r
+</project>