Commit 1f5d0137 authored by Bill Lynch's avatar Bill Lynch Committed by bill

Now creates a startup.jar


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@116 b35dd754-fafc-0310-a699-88a17e54d16e
parent 88ec1241
......@@ -41,7 +41,8 @@
<property name="lib.web.dir" value="${web.dir}/WEB-INF/lib" />
<property name="target.dir" value="${basedir}/target" />
<property name="compile.dir" value="${basedir}/target/classes" />
<property name="jar.name" value="messengerd.jar" />
<property name="jar.name" value="messenger.jar" />
<property name="jar.starter.name" value="startup.jar" />
<property name="jar.dest.dir" value="${target.dir}/lib" />
<property name="javadoc.src.dir" value="${src.dir}/javadoc" />
<property name="javadoc.dest.dir" value="${basedir}/target/javadoc" />
......@@ -152,10 +153,20 @@
<mkdir dir="${jar.dest.dir}" />
<!-- Make main Messenger jar -->
<jar jarfile="${jar.dest.dir}/${jar.name}">
<fileset dir="${compile.dir}" includes="**/*.class" />
<fileset dir="${compile.dir}" includes="**/*.class" excludes="org/jivesoftware/messenger/starter/ServerStarter.class" />
<fileset dir="${jspc.classes.dest.dir}" includes="**/*.class" />
<fileset dir="${src.i18n.dir}" includes="*.properties" />
<zipgroupfileset dir="${lib.merge.dir}" includes="*.jar"/>
<manifest>
<attribute name="Built-By" value="Jive Software (www.jivesoftware.org)"/>
</manifest>
</jar>
<!-- Make startup jar -->
<jar jarfile="${jar.dest.dir}/${jar.starter.name}">
<fileset dir="${compile.dir}">
<include name="org/jivesoftware/messenger/starter/ServerStarter.class" />
<include name="org/jivesoftware/messenger/starter/JiveClassLoader*.class" />
</fileset>
<manifest>
<attribute name="Main-Class" value="org.jivesoftware.messenger.starter.ServerStarter" />
<attribute name="Built-By" value="Jive Software (www.jivesoftware.org)"/>
......
......@@ -6,4 +6,5 @@ REM # $Revision$
REM # $Date$
REM #
java -jar ..\lib\messengerd.jar
\ No newline at end of file
java -jar ..\lib\startup.jar
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment