ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nico Seessle" <n...@apache.org>
Subject Re: using other compilers
Date Mon, 26 Mar 2001 20:50:20 GMT
----- Original Message -----
From: <Scott_Carter@i2.com>
To: <ant-user@jakarta.apache.org>
Sent: Monday, March 26, 2001 10:22 PM
Subject: using other compilers


>
> One other note, I will still have to use the javac compiler also.  So I
> need to be able to call the javac compiler, then the idl2java compiler
then
> javac again.  I do not know how to call the idl2java compiler.  I tryed
the
> exec command:
>
> <target name="idl">
>     <exec executable="idl2java
> {cm.root.dir}/com/i/cm/dna/sis/admin/Admin.idl" />
>   </target>
>

And you have read the documentation? It reads "executable  - the command to
execute without any command line arguments".

You should try something like

<target name="idl">
    <exec executable="idl2java">
     <arg value="{cm.root.dir}/com/i/cm/dna/sis/admin/Admin.idl" />
    </exec>
</target>

Nico



Mime
View raw message