Changeset c968764 for build.xml


Ignore:
Timestamp:
Aug 31, 2011 5:13:24 PM (9 years ago)
Author:
kytv <kytv@…>
Branches:
master
Children:
a69267dc
Parents:
9e6f993
Message:

The Izpack utility "izpack2exe" doesn't work with 64bit jvms so it's
essentially useless. Perhaps later I'll add a target using launch4j.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • build.xml

    r9e6f993 rc968764  
    10621062            <arg value="${basedir}/pkg-temp/osx/i2p-${release.number}-osx-install.app" />
    10631063        </exec>
    1064         <zip destfile="${basedir}/i2pinstall_${release.number}-osx.zip" level="9" 
     1064        <zip destfile="${basedir}/i2pinstall_${release.number}-osx.zip" level="9"
    10651065            basedir="${basedir}/pkg-temp/osx" whenempty="fail" comment="${release.number}-${build.number}"/>
    1066     </target>
    1067 
    1068     <target name="checkForIzpack2Exe">
    1069         <available property="izpack2exe.available" file="${user.home}/IzPack/utils/wrappers/izpack2exe/izpack2exe.py" />
    10701066    </target>
    10711067
     
    10731069     and will fail if they don't exist. Thankfully these files are so very small there's not much harm in including them.
    10741070    -->
    1075     <target name="installer-windows" depends="clean, doBuildEXE, checkForIzpack2Exe, preppkg-windows-only, preppkg-unix, getReleaseNumber, getBuildNumber, buildProperties, util-list-changes" >
     1071    <target name="installer-windows" depends="clean, doBuildEXE, preppkg-windows-only, preppkg-unix, getReleaseNumber, getBuildNumber, buildProperties, util-list-changes" >
    10761072        <taskdef name="izpack" classpath="${basedir}/installer/lib/izpack/standalone-compiler.jar" classname="com.izforge.izpack.ant.IzPackTask" />
    10771073        <mkdir dir="pkg-temp/installer" />
     
    11031099        </jar>
    11041100        <izpack input="${basedir}/installer/install.xml" output="${basedir}/i2pinstall_${release.number}-windows-only.jar" installerType="standard" basedir="${basedir}" />
    1105         <ant target="installer2exe" />
    11061101        <delete dir="pkg-temp/win" />
    1107 
    1108     </target>
    1109 
    1110     <target name="installer2exe" if="izpack2exe.available"> <!-- different from the launch4j exe creator -->
    1111         <mkdir dir="pkg-temp/win" />
    1112         <exec executable="python" failonerror="true">
    1113             <arg value="${user.home}/IzPack/utils/wrappers/izpack2exe/izpack2exe.py" />
    1114             <arg value="--file=${basedir}/i2pinstall_${release.number}-windows-only.jar" />
    1115             <arg value="--no-upx" />
    1116             <arg value="--name=I2P" />
    1117             <arg value="--output=${basedir}/i2pinstall-${release.number}-windows.exe" />
    1118         </exec>
    1119     </target>
     1102    </target>
     1103
    11201104    <target name="installer-all" depends="installer-freebsd, installer-linux, installer-osx, installer-windows, installer" >
    11211105    </target>
Note: See TracChangeset for help on using the changeset viewer.