harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmed Saad <myanywh...@gmail.com>
Subject [compiler] JDT batch mode
Date Sat, 21 May 2005 00:55:14 GMT
hi all.. as i posted before i was writing a wrapper for JDT to feel like 
"javac" (The TCK requires a JVM to look and feel like the Sun JVM, including 
the java/javac command lines as noted by Stefano Mazzocchi)... i read the 
jasper JDTCompiler class in the tomcat source code ... and i was googling 
for more info about how to programatically compile java sources with JDT... 
i found that JDT developers have already implemented such "batch" wrapper 
meaning so it's already done 

It supports all standard javac options...except for "-J option" which passes 
the specified option to the "java" launcher called by javac (can be 
implemented at the native binary for javac) and the "-X" options are also 
supported but using different names ( like "-warn:xx" instead of "-Xlint:xx" 
but the warning names are different ).

for more about compiling with JDT


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message