James Moger
2013-07-24 95e1bfe1a908c6774f08ba7be90071dc831a07f2
Merge pull request #106 from gustavohenrique/master

Fix Ant run target by copying resources to output directory
1 files modified
7 ■■■■■ changed files
build.xml 7 ●●●●● patch | view | raw | blame | history
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" />