Juan Antonio Martinez wrote:
Environment: Linux RedHat 9 kaffe-1.1.2
ant-1.5.4


Take a look at this item:
....
<target name="compile" depends="init"
      description="Compile the java code">
    <javac srcdir="${src}" destdir="${build}" compiler="kjc">
        <classpath refid="project.class.path"/>
    </javac>
</target>
.....

When using compiler="kjc" works fine, but if change to compiler="extJavac" I get these errors:

[javac] Compiling 2 source files to
/home/jantonio/public_html/work/test/build
[javac] Kjc: invalid option -- :

Attached comes output on "ant -v -debug"

Talking with kaffe people they suggested me that perhaps
"compiler=extJavac" behaviour should try to detect which
compiler is to be used and adjust invoice parametters
according it

I dont think this is a valid defect.

from the docs:
kjc (the kopi  compiler).
extJavac (run either modern or classic in a JVM of its own).

extJava is simply meant to be the normal compiler in a new JVM, not an arbitrary compiler. Why not stick to using kjc if that is what you want.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to