I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 224405d7 authored by kytv's avatar kytv
Browse files

Allow EXEs to be built on AMD64

Enabling this should be safe since we will ship separate installers for
Win/non-Win. Those that don't want to build the EXEs can set noEXE in build.properties,
Even better might be to run one of
* ant installer-freebsd
* ant installer-linux
* ant installer-nowindows
* ant installer-osx
parent 53768581
No related branches found
No related tags found
No related merge requests found
......@@ -18,3 +18,5 @@ i2pdocs.url=http://docs.i2p-projekt.de/javadoc/
junitdocs.url=http://junit.org/apidocs/
# This will go in the jar manifests
build.built-by=unknown
# Uncomment the next line to prevent building EXEs (changing it to false will have no impact)
#noExe=true
......@@ -212,16 +212,10 @@
<!-- this makes an empty build/launchi2p.jar and the build/i2p.exe for the no-wrapper windows startup, if possible -->
<target name="buildexe">
<condition property="noExe">
<os arch="x86_64" />
</condition>
<condition property="noExe">
<os arch="ppc" />
</condition>
<condition property="noExe">
<os arch="armv5tejl" />
</condition>
<condition property="noExe">
<os arch="amd64" />
<or>
<os arch="ppc" />
<os arch="armv5tejl" />
</or>
</condition>
<condition property="noExe">
<not>
......@@ -240,6 +234,7 @@
<!-- this makes an empty build/launchi2p.jar and the build/i2p.exe for the no-wrapper windows startup -->
<target name="doBuildEXE" depends="buildProperties" unless="noExe">
<echo message="See the file &quot;build.properties&quot; if this step fails." />
<jar destfile="./build/launchi2p.jar">
<manifest>
<attribute name="Main-Class" value="net.i2p.router.RouterLaunch" />
......@@ -1192,10 +1187,10 @@
<target name="installerexe">
<condition property="noExe">
<os arch="x86_64" />
</condition>
<condition property="noExe">
<os arch="amd64" />
<or>
<os arch="ppc" />
<os arch="armv5tejl" />
</or>
</condition>
<condition property="noExe">
<not>
......@@ -1210,6 +1205,7 @@
<!-- this makes i2pinstall.exe from install.jar -->
<target name="doInstallerEXE" unless="noExe">
<echo message="See the file &quot;build.properties&quot; if this step fails." />
<!-- now the installer exe -->
<launch4j configFile="./installer/i2pinstaller.xml" />
<!-- thazzit -->
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment