adjust the exe build filter to only run on linux or windows

This commit is contained in:
jrandom
2005-10-30 01:07:09 +00:00
committed by zzz
parent ac3b88b9e9
commit f7c2ae9a3b

View File

@@ -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">