]> source.dussan.org Git - gitblit.git/commitdiff
Copy static files to classes dir. 106/head
authorGustavo Henrique <gustavo@gustavohenrique.net>
Wed, 24 Jul 2013 18:18:01 +0000 (15:18 -0300)
committerGustavo Henrique <gustavo@gustavohenrique.net>
Wed, 24 Jul 2013 18:18:01 +0000 (15:18 -0300)
build.xml

index c6fcd5b3ce0e628766c5eb49999a52f71a1752f4..d995703dc30413b33ddb78fc8fe853f796c96774 100644 (file)
--- a/build.xml
+++ b/build.xml
                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r
        -->\r
        <target name="run" depends="compile" description="Run Gitblit GO">\r
+        <!-- copy static files -->\r
+        <copy todir="${basedir}/build/classes" overwrite="false">\r
+            <fileset dir="${project.resources.dir}">\r
+                <exclude name="thumbs.db" />\r
+                <exclude name="*.mkd" />\r
+            </fileset>\r
+        </copy>\r
                \r
                <!-- run the mainclass in a separate JVM -->\r
                <mx:run fork="true" />\r