----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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


Reply via email to