summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2012-06-07 17:31:47 -0400
committerJames Moger <james.moger@gitblit.com>2012-06-07 17:31:47 -0400
commit764d944c3fc2b36640d0fa09ba0c0a575f7d43cc (patch)
treee22f548c020ec6599b350e537d598f28c1b71ebb
parentae9e157ef4e6a3708489725d4436cc15d273308f (diff)
downloadgitblit-764d944c3fc2b36640d0fa09ba0c0a575f7d43cc.tar.gz
gitblit-764d944c3fc2b36640d0fa09ba0c0a575f7d43cc.zip
Build gitblit jar file instead of exploded classes for Express build
-rw-r--r--build.xml7
1 files changed, 3 insertions, 4 deletions
diff --git a/build.xml b/build.xml
index 0dd19c5e..aa73e1e4 100644
--- a/build.xml
+++ b/build.xml
@@ -551,8 +551,7 @@
</copy>
<!-- Gitblit classes -->
- <mkdir dir="${deployments.root}/WEB-INF/classes"/>
- <copy todir="${deployments.root}/WEB-INF/classes">
+ <jar destfile="${deployments.root}/WEB-INF/lib/gitblit-${gb.version}.jar">
<fileset dir="${project.build.dir}">
<exclude name="WEB-INF/" />
<exclude name="com/gitblit/tests/" />
@@ -562,7 +561,7 @@
<exclude name="com/gitblit/Launcher*.class" />
<exclude name="com/gitblit/MakeCertificate*.class" />
</fileset>
- </copy>
+ </jar>
<!-- Build Express Zip file -->
<zip destfile="${express.zipfile}">
@@ -990,4 +989,4 @@
<delete dir="${project.war.dir}" />
<delete dir="${project.deploy.dir}" />
</target>
-</project>
+</project>