ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gerhard Wiesinger <e9125...@student.tuwien.ac.at>
Subject Second problem with exec and jdk 1.3.1_01
Date Fri, 19 Oct 2001 09:11:51 GMT
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


Mime
View raw message