|
5 | 5 | <!--echo message="os.version = ${os.version}" /--> |
6 | 6 |
|
7 | 7 | <!-- Sets properties for macosx/windows/linux depending on current system --> |
8 | | - <condition property="macosx"><os family="mac" /></condition> |
9 | | - <condition property="windows"><os family="windows" /></condition> |
10 | | - <condition property="linux"><os family="unix" /></condition> |
11 | | - <condition property="linux32"><os family="unix" arch="i386" /></condition> |
12 | | - <condition property="linux64"><os family="unix" arch="amd64" /></condition> |
13 | | - |
14 | 8 | <condition property="platform" value="macosx"><os family="mac" /></condition> |
15 | 9 | <condition property="platform" value="windows"><os family="windows" /></condition> |
16 | 10 | <condition property="platform" value="linux32"><os family="unix" arch="i386" /></condition> |
17 | 11 | <condition property="platform" value="linux64"><os family="unix" arch="amd64" /></condition> |
18 | 12 |
|
19 | | - <condition property="staging_folder" value="macosx"><os family="mac" /></condition> |
20 | | - <condition property="staging_folder" value="windows"><os family="windows" /></condition> |
21 | | - <condition property="staging_folder" value="linux"><os family="unix" arch="i386" /></condition> |
22 | | - <condition property="staging_folder" value="linux"><os family="unix" arch="amd64" /></condition> |
23 | | - |
24 | | - <condition property="staging_hardware_folder" value="Arduino.app/Contents/Resources/Java/hardware"><os family="mac" /></condition> |
25 | | - <condition property="staging_hardware_folder" value="hardware"><os family="windows" /></condition> |
26 | | - <condition property="staging_hardware_folder" value="hardware"><os family="unix" arch="i386" /></condition> |
27 | | - <condition property="staging_hardware_folder" value="hardware"><os family="unix" arch="amd64" /></condition> |
| 13 | + <condition property="macosx"><equals arg1="${platform}" arg2="macosx" /></condition> |
| 14 | + <condition property="windows"><equals arg1="${platform}" arg2="windows" /></condition> |
| 15 | + <condition property="linux32"><equals arg1="${platform}" arg2="linux32" /></condition> |
| 16 | + <condition property="linux64"><equals arg1="${platform}" arg2="linux64" /></condition> |
| 17 | + <condition property="linux"><equals arg1="${platform}" arg2="linux32" /></condition> |
| 18 | + <condition property="linux"><equals arg1="${platform}" arg2="linux64" /></condition> |
| 19 | + |
| 20 | + <condition property="staging_folder" value="macosx"><equals arg1="${platform}" arg2="macosx" /></condition> |
| 21 | + <condition property="staging_folder" value="windows"><equals arg1="${platform}" arg2="windows" /></condition> |
| 22 | + <condition property="staging_folder" value="linux"><equals arg1="${platform}" arg2="linux32" /></condition> |
| 23 | + <condition property="staging_folder" value="linux"><equals arg1="${platform}" arg2="linux64" /></condition> |
| 24 | + |
| 25 | + <condition property="staging_hardware_folder" value="Arduino.app/Contents/Resources/Java/hardware"><equals arg1="${platform}" arg2="macosx" /></condition> |
| 26 | + <condition property="staging_hardware_folder" value="hardware"><equals arg1="${platform}" arg2="windows" /></condition> |
| 27 | + <condition property="staging_hardware_folder" value="hardware"><equals arg1="${platform}" arg2="linux32" /></condition> |
| 28 | + <condition property="staging_hardware_folder" value="hardware"><equals arg1="${platform}" arg2="linux64" /></condition> |
28 | 29 |
|
29 | 30 | <!-- Libraries required for running arduino --> |
30 | 31 | <fileset dir=".." id="runtime.jars"> |
|
0 commit comments