Skip to content

Commit 95e1bfe

Browse files
committed
Merge pull request #106 from gustavohenrique/master
Fix Ant run target by copying resources to output directory
2 parents 9359865 + 1e2c114 commit 95e1bfe

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

build.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,13 @@
185185
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
186186
-->
187187
<target name="run" depends="compile" description="Run Gitblit GO">
188+
<!-- copy static files -->
189+
<copy todir="${basedir}/build/classes" overwrite="false">
190+
<fileset dir="${project.resources.dir}">
191+
<exclude name="thumbs.db" />
192+
<exclude name="*.mkd" />
193+
</fileset>
194+
</copy>
188195

189196
<!-- run the mainclass in a separate JVM -->
190197
<mx:run fork="true" />

0 commit comments

Comments
 (0)