ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oki DZ <>
Subject Re: native output
Date Wed, 12 Jun 2002 01:26:58 GMT
On 2002.06.11 23:37 Diane Holt wrote:
> I suspect you'd need to fork and specify gcj for your executable (see
> the doc for more details).

You meant forking with the exec task? So I guess, I have to put the 
resulting object files (*.o) in the same directories with the .java 

BTW, the following is my build.xml:
okidz@bdg:~/hello$ more build.xml
<project default="compile" basedir=".">
   <target name="compile">
     <javac srcdir="."
       <compilerarg line="--main=Hello -o hello"/>

The FAQ says that to define the command line options, you should use 
the <arg /> tag; it seems that it has to be <compilerarg />.


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message