summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuca Milanesio <luca@milanesio.org>2012-12-02 08:49:28 +0000
committerLuca Milanesio <luca@milanesio.org>2012-12-02 08:53:09 +0000
commit6534b72c23c2306bfe57a7b5ec7b02cce181cf89 (patch)
treee13bffb3498ac3b5309ce12d21969a5dc6265eb6
parent8d80685563c8b7a07aa10e4c20208a2e39d1ad7a (diff)
downloadgitblit-6534b72c23c2306bfe57a7b5ec7b02cce181cf89.tar.gz
gitblit-6534b72c23c2306bfe57a7b5ec7b02cce181cf89.zip
Add static assets for Maven artifact.
Needed to allow pluggability (code+assets) into other containers / applications (i.e. Gerrit Code Review)
-rw-r--r--build.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/build.xml b/build.xml
index 3dca221e..07fd0cad 100644
--- a/build.xml
+++ b/build.xml
@@ -496,6 +496,11 @@
<exclude name="com/gitblit/Launcher*.class" />
</fileset>
</copy>
+ <copy todir="${project.jar.dir}/static">
+ <fileset dir="${project.resources.dir}">
+ <exclude name="thumbs.db" />
+ </fileset>
+ </copy>
<!-- Build the JAR file -->
<jar basedir="${project.jar.dir}" destfile="${distribution.jarfile}" compress="true" />