don't build the exe files on x86_64 or osx
This commit is contained in:
20
build.xml
20
build.xml
@ -46,12 +46,18 @@
|
|||||||
<copy file="apps/jetty/jettylib/javax.servlet.jar" todir="build/" />
|
<copy file="apps/jetty/jettylib/javax.servlet.jar" todir="build/" />
|
||||||
</target>
|
</target>
|
||||||
<target name="buildexe">
|
<target name="buildexe">
|
||||||
<condition property="osx">
|
<condition property="noExe">
|
||||||
<os family="mac" />
|
<os family="mac" />
|
||||||
</condition>
|
</condition>
|
||||||
|
<condition property="noExe">
|
||||||
|
<os arch="x86_64" />
|
||||||
|
</condition>
|
||||||
|
<condition property="noExe">
|
||||||
|
<os arch="amd64" />
|
||||||
|
</condition>
|
||||||
<ant target="doBuildEXE" />
|
<ant target="doBuildEXE" />
|
||||||
</target>
|
</target>
|
||||||
<target name="doBuildEXE" unless="osx">
|
<target name="doBuildEXE" unless="noExe">
|
||||||
<jar destfile="./build/launchi2p.jar">
|
<jar destfile="./build/launchi2p.jar">
|
||||||
<manifest>
|
<manifest>
|
||||||
<attribute name="Main-Class" value="net.i2p.router.RouterLaunch" />
|
<attribute name="Main-Class" value="net.i2p.router.RouterLaunch" />
|
||||||
@ -360,12 +366,18 @@
|
|||||||
<ant target="installerexe" />
|
<ant target="installerexe" />
|
||||||
</target>
|
</target>
|
||||||
<target name="installerexe">
|
<target name="installerexe">
|
||||||
<condition property="osx">
|
<condition property="noExe">
|
||||||
<os family="mac" />
|
<os family="mac" />
|
||||||
</condition>
|
</condition>
|
||||||
|
<condition property="noExe">
|
||||||
|
<os arch="x86_64" />
|
||||||
|
</condition>
|
||||||
|
<condition property="noExe">
|
||||||
|
<os arch="amd64" />
|
||||||
|
</condition>
|
||||||
<ant target="doInstallerEXE" />
|
<ant target="doInstallerEXE" />
|
||||||
</target>
|
</target>
|
||||||
<target name="doInstallerEXE">
|
<target name="doInstallerEXE" unless="noExe">
|
||||||
<!-- now the installer exe -->
|
<!-- now the installer exe -->
|
||||||
<taskdef name="launch4j"
|
<taskdef name="launch4j"
|
||||||
classname="net.sf.launch4j.ant.Launch4jTask"
|
classname="net.sf.launch4j.ant.Launch4jTask"
|
||||||
|
Reference in New Issue
Block a user