Hi all,

I am having some very weird behaviour from ant v1.6.5. The following two tags are executed one after the other, the exec tag matches the os parameter on Linux, and is run correctly. The apply tag doesn't match the os parameter on Linux, and isn't run at all.

Is this a known bug?

    <!-- does not match on Linux -->
    <apply executable="mex" os="Linux">
      <arg line="-v -glnxa64 -outdir &quot;${build-dir}&quot;"/>
      <srcfile/>
      <fileset refid="target-mex-fileset"/>
    </apply>

    <!-- does match on Linux -->
<exec dir="." failonerror="true" executable="mcc" os="Mac OS X, Linux, Windows XP, Windows 2003, SunOS"> <arg line="-W java:${component},${component},1.0 -d &quot;${build-dir}&quot; -S -T link:lib -v -g -d &quot;${build-dir}&quot; -w disable" />
      <arg line="-B"/>
      <arg file="${build-dir}/options.txt" />
    </exec>

Regards,
Graham
--

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to