Commit 34ec53b1 authored by Matt Tucker's avatar Matt Tucker Committed by matt

Added support for extra version info to install4j.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@6974 b35dd754-fafc-0310-a699-88a17e54d16e
parent 59097e85
......@@ -949,10 +949,22 @@
<mkdir dir="${installer.dest.dir}"/>
<!-- Install4j doesn't support extra version info (like beta) correctly, so
define a special revision number. -->
<if>
<equals arg1="${version.extra}" arg2=""/>
<then>
<property name="install4j.revision" value="${version.revision}"/>
</then>
<else>
<property name="install4j.revision" value="${version.revision}.${version.extra}"/>
</else>
</if>
<install4j projectfile="${installer.install4j.srcfile}" destination="${installer.dest.dir}">
<variable name="VERSION_MAJOR" value="${version.major}"/>
<variable name="VERSION_MINOR" value="${version.minor}"/>
<variable name="VERSION_REVISION" value="${version.revision}"/>
<variable name="VERSION_REVISION" value="${install4j.revision}"/>
<variable name="APP_NAME" value="${installer.app_name}"/>
<variable name="APP_SHORT_NAME" value="${installer.app_short_name}"/>
<variable name="PRODUCT_NAME" value="${installer.product_name}"/>
......
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