From: <jos...@us...> - 2011-06-21 06:41:03
|
Revision: 7869 http://geonetwork.svn.sourceforge.net/geonetwork/?rev=7869&view=rev Author: josegar74 Date: 2011-06-21 06:40:57 +0000 (Tue, 21 Jun 2011) Log Message: ----------- Independent ant task for jar installer Modified Paths: -------------- trunk/installer/build.xml Modified: trunk/installer/build.xml =================================================================== --- trunk/installer/build.xml 2011-06-20 17:31:29 UTC (rev 7868) +++ trunk/installer/build.xml 2011-06-21 06:40:57 UTC (rev 7869) @@ -146,25 +146,32 @@ <!-- =================================================================================== --> <target name="installer" depends="setProperties"> - - <property file="../web/src/main/webapp/WEB-INF/server.prop"/> - - <delete dir="../geonetwork-${release}"/> - <mkdir dir="../geonetwork-${release}"/> - <echo message="Building platform independent installer on ${osys} using IzPack"/> + <ant dir="." target="jarinstall" /> + <ant dir="." target="wininstall" /> - <izpack input="${propsdir}/installer-config.xml" - output="../geonetwork-${release}/geonetwork-install-${release}-${subVersion}.jar" - installerType="standard" - basedir="${basedir}"/> + </target> - <ant dir="." target="wininstall" /> - - <checksum file="../geonetwork-${release}/geonetwork-install-${release}-${subVersion}.jar" forceOverwrite="yes"/> - - </target> - + <!-- =================================================================================== --> + + <target name="jarinstall" depends="setProperties"> + + <property file="../web/src/main/webapp/WEB-INF/server.prop"/> + + <delete dir="../geonetwork-${release}"/> + <mkdir dir="../geonetwork-${release}"/> + + <echo message="Building platform independent installer on ${osys} using IzPack"/> + + <izpack input="${propsdir}/installer-config.xml" + output="../geonetwork-${release}/geonetwork-install-${release}-${subVersion}.jar" + installerType="standard" + basedir="${basedir}"/> + + <checksum file="../geonetwork-${release}/geonetwork-install-${release}-${subVersion}.jar" forceOverwrite="yes"/> + + </target> + <!-- =================================================================================== --> <target name="wininstall"> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |