]> source.dussan.org Git - gitblit.git/commitdiff
Add static assets for Maven artifact.
authorLuca Milanesio <luca@milanesio.org>
Sun, 2 Dec 2012 08:49:28 +0000 (08:49 +0000)
committerLuca Milanesio <luca@milanesio.org>
Sun, 2 Dec 2012 08:53:09 +0000 (08:53 +0000)
Needed to allow pluggability (code+assets) into
other containers / applications (i.e. Gerrit Code Review)

build.xml

index 3dca221eae2c9e73bf517b5aef6a22edfabefcd9..07fd0cad1d9ebb2cc7b8fe1b7a488662f5620cd2 100644 (file)
--- a/build.xml
+++ b/build.xml
                                <exclude name="com/gitblit/Launcher*.class" />\r
                        </fileset>\r
                </copy>\r
+               <copy todir="${project.jar.dir}/static">\r
+                       <fileset dir="${project.resources.dir}">\r
+                               <exclude name="thumbs.db" />\r
+                       </fileset>\r
+               </copy>\r
 \r
                <!-- Build the JAR file -->\r
                <jar basedir="${project.jar.dir}" destfile="${distribution.jarfile}" compress="true" />\r