forked from I2P_Developers/i2p.i2p
adjust the exe build filter to only run on linux or windows
This commit is contained in:
22
build.xml
22
build.xml
@@ -55,9 +55,6 @@
|
|||||||
<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="noExe">
|
|
||||||
<os family="mac" />
|
|
||||||
</condition>
|
|
||||||
<condition property="noExe">
|
<condition property="noExe">
|
||||||
<os arch="x86_64" />
|
<os arch="x86_64" />
|
||||||
</condition>
|
</condition>
|
||||||
@@ -67,6 +64,14 @@
|
|||||||
<condition property="noExe">
|
<condition property="noExe">
|
||||||
<os arch="amd64" />
|
<os arch="amd64" />
|
||||||
</condition>
|
</condition>
|
||||||
|
<condition property="noExe">
|
||||||
|
<not>
|
||||||
|
<or>
|
||||||
|
<os name="Linux" />
|
||||||
|
<os family="windows" />
|
||||||
|
</or>
|
||||||
|
</not>
|
||||||
|
</condition>
|
||||||
<ant target="doBuildEXE" />
|
<ant target="doBuildEXE" />
|
||||||
</target>
|
</target>
|
||||||
<target name="doBuildEXE" unless="noExe">
|
<target name="doBuildEXE" unless="noExe">
|
||||||
@@ -396,15 +401,20 @@
|
|||||||
<ant target="installerexe" />
|
<ant target="installerexe" />
|
||||||
</target>
|
</target>
|
||||||
<target name="installerexe">
|
<target name="installerexe">
|
||||||
<condition property="noExe">
|
|
||||||
<os family="mac" />
|
|
||||||
</condition>
|
|
||||||
<condition property="noExe">
|
<condition property="noExe">
|
||||||
<os arch="x86_64" />
|
<os arch="x86_64" />
|
||||||
</condition>
|
</condition>
|
||||||
<condition property="noExe">
|
<condition property="noExe">
|
||||||
<os arch="amd64" />
|
<os arch="amd64" />
|
||||||
</condition>
|
</condition>
|
||||||
|
<condition property="noExe">
|
||||||
|
<not>
|
||||||
|
<or>
|
||||||
|
<os name="Linux" />
|
||||||
|
<os family="windows" />
|
||||||
|
</or>
|
||||||
|
</not>
|
||||||
|
</condition>
|
||||||
<ant target="doInstallerEXE" />
|
<ant target="doInstallerEXE" />
|
||||||
</target>
|
</target>
|
||||||
<target name="doInstallerEXE" unless="noExe">
|
<target name="doInstallerEXE" unless="noExe">
|
||||||
|
|||||||
Reference in New Issue
Block a user