I'm trying to use kaffe jdk in my java developments, but found several problems when using ant to build projects:
1- I need to invoke ant with "-Dbuild.compiler=extJavac" option. Else doesn't ever run optionally can use compiler="extJavac" in javac task to get it working. żIs this normal or a bug? 2- Take a look at these build.xml extract: [.......] <target name="compile" depends="init" description="Compile the java code"> <javac srcdir="${src}" destdir="${build}" compiler="extJavac"> <classpath refid="project.class.path"/> </javac> <!-- here comes some non-relevant items ..... --> </target> [.....] when invoked "ant -v compile" just get this message: -------------------------------------------- [....] ga/javaxml/example/PersonExample.java [javac] /home/jantonio/public_html/almacen/cosas/skaringa/src/com/skaringa/javaxml/example/Person.java [javac] /home/jantonio/public_html/almacen/cosas/skaringa/src/com/skaringa/javaxml/example/OrgMember.java [javac] Kjc: invalid option -- : BUILD FAILED file:/home/jantonio/public_html/almacen/cosas/skaringa/build.xml:33: Compile failed; see the compiler error output for details. at org.apache.tools.ant.taskdefs.Javac.compile (Javac.java:844) at org.apache.tools.ant.taskdefs.Javac.execute (Javac.java:682) at org.apache.tools.ant.Task.perform (Task.java:341) at org.apache.tools.ant.Target.execute (Target.java:309) at org.apache.tools.ant.Target.performTasks (Target.java:336) at org.apache.tools.ant.Project.executeTarget (Project.java:1339) at org.apache.tools.ant.Project.executeTargets (Project.java:1255) at org.apache.tools.ant.Main.runBuild (Main.java:609) at org.apache.tools.ant.Main.start (Main.java:196) at org.apache.tools.ant.Main.main (Main.java:235) Total time: 2 seconds ------------------------------------------------- Of course, it works fine on Sun's JDK What am i doing wrong? Thanks in advance -- Juan Antonio Martinez <[EMAIL PROTECTED]> Dpto Ingenieria Telematica
signature.asc
Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente