summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2013-07-24 11:35:36 -0700
committerJames Moger <james.moger@gitblit.com>2013-07-24 11:35:36 -0700
commit95e1bfe1a908c6774f08ba7be90071dc831a07f2 (patch)
tree81136b186ac845d42662a6370af22dcd2ffdf26d
parent9359865cf1571d69a464387abb2b0b2c4982580d (diff)
parent1e2c114fca3cfbf3ec4018af80933f9659465a1b (diff)
downloadgitblit-95e1bfe1a908c6774f08ba7be90071dc831a07f2.tar.gz
gitblit-95e1bfe1a908c6774f08ba7be90071dc831a07f2.zip
Merge pull request #106 from gustavohenrique/master
Fix Ant run target by copying resources to output directory
-rw-r--r--build.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/build.xml b/build.xml
index c6fcd5b3..d995703d 100644
--- a/build.xml
+++ b/build.xml
@@ -185,6 +185,13 @@
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-->
<target name="run" depends="compile" description="Run Gitblit GO">
+ <!-- copy static files -->
+ <copy todir="${basedir}/build/classes" overwrite="false">
+ <fileset dir="${project.resources.dir}">
+ <exclude name="thumbs.db" />
+ <exclude name="*.mkd" />
+ </fileset>
+ </copy>
<!-- run the mainclass in a separate JVM -->
<mx:run fork="true" />