Commit 84434d12 authored by Bill Lynch's avatar Bill Lynch Committed by bill

Added _beta to file name if beta is specified as a prop


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@126 b35dd754-fafc-0310-a699-88a17e54d16e
parent aaa703d6
......@@ -22,6 +22,16 @@
Jive Messenger build script.
</description>
<!-- ======================================================================================= -->
<!-- GLOBAL TASKDEFs -->
<!-- ======================================================================================= -->
<taskdef resource="net/sf/antcontrib/antcontrib.properties">
<classpath>
<pathelement location="${basedir}/build/lib/ant-contrib.jar"/>
</classpath>
</taskdef>
<!-- ======================================================================================= -->
<!-- GLOBAL PROPERTIES -->
<!-- ======================================================================================= -->
......@@ -58,9 +68,7 @@
<property name="version.major" value="2" />
<property name="version.minor" value="0" />
<property name="version.revision" value="0" />
<property name="version.extra" value="beta" />
<property name="version" value="${version.major}.${version.minor}.${version.revision}" />
<property name="version.filename" value="${version.major}_${version.minor}_${version.revision}" />
<property name="version.extra" value="beta1" />
<property name="dist.prefix" value="jive_messenger" />
<!-- ======================================================================================= -->
......@@ -132,6 +140,19 @@
</tstamp>
<mkdir dir="${target.dir}" />
<!-- Setup the versions correctly -->
<if>
<equals arg1="${version.extra}" arg2="" />
<then>
<property name="version" value="${version.major}.${version.minor}.${version.revision}" />
<property name="version.filename" value="${version.major}_${version.minor}_${version.revision}" />
</then>
<else>
<property name="version" value="${version.major}.${version.minor}.${version.revision}.${version.extra}" />
<property name="version.filename" value="${version.major}_${version.minor}_${version.revision}_${version.extra}" />
</else>
</if>
</target>
<!-- compile =============================================================================== -->
......@@ -199,12 +220,12 @@
sourcepath="${src.java.dir}"
packagenames="org.jivesoftware.*"
destdir="${javadoc.dest.dir}"
windowtitle="Jive Messenger ${version} ${version.extra} Javadoc"
windowtitle="Jive Messenger ${version} Javadoc"
overview="${src.java.dir}/overview.html"
failonerror="yes"
>
<doctitle><![CDATA[<font face="arial,helvetica,sans-serif">Jive Messenger ${version} ${version.extra} Javadoc</font>]]></doctitle>
<header><![CDATA[<b>Jive Messenger ${version} ${version.extra} Javadoc</b>]]></header>
<doctitle><![CDATA[<font face="arial,helvetica,sans-serif">Jive Messenger ${version} Javadoc</font>]]></doctitle>
<header><![CDATA[<b>Jive Messenger ${version} Javadoc</b>]]></header>
<bottom><![CDATA[<i>Copyright &copy; 1999-2004 Jive Software.</i>]]></bottom>
<classpath>
<path refid="javadoc.dependencies" />
......@@ -370,10 +391,13 @@
<mkdir dir="${release.dest.dir}" />
<!-- Create a new prop for the final release dirs then create the dirs -->
<property name="release.out.name" value="${dist.prefix}_${version.filename}" />
<property name="release.src.out.name" value="${dist.prefix}_src_${version.filename}" />
<property name="release.out.dir" value="${release.dest.dir}/${release.out.name}" />
<property name="release.src.out.dir" value="${release.dest.dir}/${release.src.out.name}" />
<mkdir dir="${release.out.dir}" />
<mkdir dir="${release.src.out.dir}" />
......
......@@ -12,4 +12,5 @@ jasper-runtime.jar | Jetty 5.0.0
servlets.jar | Jetty 5.0.0
wls_stax.jar | Downloaded 10/19/2004
dom4j.jar | 1.5
junit.jar | 3.8.1
\ No newline at end of file
junit.jar | 3.8.1
ant-contrib | 0.6
\ No newline at end of file
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