ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ant-...@apache.org
Subject [Ant Wiki] Updated: AntNewbies
Date Mon, 05 Jul 2004 12:29:06 GMT
   Date: 2004-07-05T05:29:06
   Editor: StefanBodewig <stefan.bodewig@freenet.de>
   Wiki: Ant Wiki
   Page: AntNewbies
   URL: http://wiki.apache.org/ant/AntNewbies

   no comment

Change Log:

------------------------------------------------------------------------------
@@ -1,23 +1,5 @@
 == 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>
<Sources>
-}}}
-
-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="${dir.build}"
verbose="true" fork="yes" executable="org.eclipse.jdt.internal.compiler.batch.Main">
-		<classpath refid="classpath"/>
-	</javac>
-</target>
-}}}
  ```Question#1``` How do you escape a '''"''' in an argument to an Exec command. This is
what I have.
 
 {{{
@@ -54,3 +36,22 @@
        	</exec>
   </target>
 }}}
+ ```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>
<Sources>
+}}}
+
+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="${dir.build}"
verbose="true" fork="yes" executable="org.eclipse.jdt.internal.compiler.batch.Main">
+		<classpath refid="classpath"/>
+	</javac>
+</target>
+}}}
+

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message