I've done a quick change to allow condition to set multiple poperties. This is an example of how it can be used

  <target name="platform_props">
    <condition>
      <os family="unix"/>
      <propertyset>
        <property name="target" value="bash"/>
        <property name="extension" value="sh"/>
        <property name="shell" value="bash"/>
      </propertyset>
    </condition>
    <condition>
      <and>
        <os family="windows"/>
        <not>
          <os family="win9x"/>
        </not>
      </and>
      <propertyset>
        <property name="target" value="win2k"/>
        <property name="extension" value="bat"/>
        <property name="shell" value="cmd.exe"/>
      </propertyset>
    </condition>
  </target>

Worth committing? Thoughts?

Conor


-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>



Reply via email to