ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oki DZ <ok...@pindad.com>
Subject Re: native output
Date Wed, 12 Jun 2002 01:58:25 GMT
On 2002.06.12 08:39 Diane Holt wrote:
> Actually, no -- I meant forking within the <javac> task. (Again, see
> the Javac task documentation for details.)

okidz@bdg:~/hello$ ant
Buildfile: build.xml

compile:
     [javac] Since compiler setting isn't classic or modern,ignoring 
fork setting.
     [javac] Compiling 1 source file to /home/okidz/hello
     [javac] Since compiler setting isn't classic or modern,ignoring 
fork setting.
     [javac] gcj: cannot specify both -C and -o

BUILD FAILED
/home/okidz/hello/build.xml:7: Compile failed; see the compiler error 
output for details.

Total time: 5 seconds
okidz@bdg:~/hello$ more build.xml
<project default="compile" basedir=".">
   <target name="compile">
     <javac srcdir="."
            includes="Hello.java"
            destdir="."
            compiler="gcj"
            fork="yes">
       <compilerarg line="--main=Hello -o hello"/>
     </javac>
   </target>
</project>

I believe the message is pretty clear: Wanna be going native? Use 
"make".

Oki

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message