diff options
author | James Moger <james.moger@gitblit.com> | 2012-06-07 17:31:47 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2012-06-07 17:31:47 -0400 |
commit | 764d944c3fc2b36640d0fa09ba0c0a575f7d43cc (patch) | |
tree | e22f548c020ec6599b350e537d598f28c1b71ebb | |
parent | ae9e157ef4e6a3708489725d4436cc15d273308f (diff) | |
download | gitblit-764d944c3fc2b36640d0fa09ba0c0a575f7d43cc.tar.gz gitblit-764d944c3fc2b36640d0fa09ba0c0a575f7d43cc.zip |
Build gitblit jar file instead of exploded classes for Express build
-rw-r--r-- | build.xml | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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>
|