gump-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: [RT] Moving gump forward
Date Tue, 09 Mar 2004 10:00:41 GMT
On Tue, 09 Mar 2004, Stefano Mazzocchi <stefano@apache.org> wrote:

> Stefan, any talks in ant-land about using eclipse JTD compiler
> instead of javac for the <javac> task?

AFAIK eclipse already does that 8-)

<javac> delegates the work to compiler adapters and those are
pluggable.  Some adapters are part of Ant (Sun's javac, jikes,
Microsoft's jvc, gcj, Symantecs sj and kopi), some have been written
by others[1] like the one for the early access generics compiler (now
obsoleted with the advent of JDK 1.5).

There seems to be an adapter for eclipse as well[2] - scroll down to
"Using the ant javac adapter".

> or, eventually, how can gump execute ant forcing the <javac> task to
> be our own?

Easy, write an adapter and set the build.compiler property before
invoking Ant.

I have no idea whether Maven would support this, though.

Stefan

Footnotes: 
[1]  http://ant.apache.org/external.html#Compiler%20Implementations

[2]  http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/org.eclipse.jdt.doc.isv/guide/jdt_api_compile.htm?content-type=text/html


---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


Mime
View raw message