ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Ant Wiki] Updated: AntNewbies
Date Mon, 05 Jul 2004 12:24:02 GMT
   Date: 2004-07-05T05:24:02
   Editor: <>
   Wiki: Ant Wiki
   Page: AntNewbies

   no comment

Change Log:

@@ -1,6 +1,23 @@
 == This is the AntNewbies page where newbies can ask difficult but clear questions. ==
+ ```Question#2``` How do i use a different JAVA Compiler than javac.
+I tried to use the JDT to compile my Source but i don't know the right Syntax to start it
correct in ANT.
+The Commandline is:
+    java -classpath jdtcore.jar org/eclipse/jdt/internal/compiler/batch/Main <options>
+I tried it with this Options. (jdtcore.jar is in Classpath set)
+<target name="buildSources">
+	<javac includes="**/*.java, *.java" srcdir="${dir.project.root}/src" destdir="${}"
verbose="true" fork="yes" executable="org.eclipse.jdt.internal.compiler.batch.Main">
+		<classpath refid="classpath"/>
+	</javac>
  ```Question#1``` How do you escape a '''"''' in an argument to an Exec command. This is
what I have.

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

View raw message