Hello!

I want to use the exec task on Windows NT 4.0 SP5 and it works well with
Sun JDK 1.2.2.

With Sun JDK 1.3.1_01 it doesn't work.

<property name="jidl.dir" location="${SRCROOT}/libext/bin"/>

<target name="idl" depends="checkparams">
    <exec dir="${jidl.dir}" executable="jidl">
      <arg line="--output-dir ${dst.java.dir} --tie ${my.idl}"/>
    </exec>
</target>

Specifiying
    <exec executable="${jidl.dir}/jidl.exe">
      <arg line="--output-dir ${dst.java.dir} --tie ${my.idl}"/>
    </exec>

works well.

But the script should work on Unix too (and there isn't the .exe
extension at the same directory).

Any ideas?

Ciao,
Gerhard

Reply via email to