Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: c661b32bb55f890b5fdac0d8db8e7ad3a04d160b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<project name="testFamilies" default="testFamilies">

  <target name="testFamilies">
  <!-- 
    <echo message="family ${os.name}" />

    <condition property="familyValue" value="mac">
      <os family="mac" />
    </condition>
    <echo message="familyValue: ${familyValue}" />
    <condition property="familyValue2" value="unix">
      <os family="unix" />
    </condition>
    <echo message="familyValue2: ${familyValue2}" />
    <condition property="archValue" value="x86_64">
      <os arch="x86_64" />
    </condition>
    <echo message="archValue: ${archValue}" />
     -->
     <condition property="platformArchive" value="eclipse-platform-${buildId}-macosx-cocoa-x86_64.tar.gz">
      <and>
        <os family="mac" />
        <os family="unix" />
        <or>
          <os arch="x86_64" />
          <os arch="amd64" />
        </or>
      </and>
    </condition>
    <echo message="platformArchive: ${platformArchive}" />
  </target>
</project> 

Back to the top