ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Reich" <...@drjava.de>
Subject gjc [was: API docs for com.sun.tools.javac.* ??]
Date Thu, 23 Aug 2001 13:45:42 GMT
This discussion reminds me of something: I'm using the gjc compiler for many
projects.

GJ is an extended Java dialect that is bound to be integrated in JDK 1.5
(http://www.research.avayalabs.com/user/wadler//pizza/gj/).

Naturally, I wanted to integrate gjc in ant. I managed to do this, but there
were a few obstacles to take:

-gjc is not open source (maybe the Sun prototype is, I should check that)
-I had to modify gjc.Main a little (I had to decompile it to do that)
-I also had to modify the ant compiler integration framework a little

I could submit a patch, but it's not in a very clean state. Plus there's the
license issue of having reverse engineered and modified gjc.Main.

My question is - has anyone heard of another effort to integrate gjc and
Ant? Both tools have growing popularity, so it's maybe not utterly unlikely.

-Stefan

----- Original Message -----
From: "Greg Fenton" <greg_fenton@yahoo.com>
To: <ant-dev@jakarta.apache.org>
Sent: Thursday, August 23, 2001 3:18 PM
Subject: RE: API docs for com.sun.tools.javac.* ??


>
> --- Stephane Bailliez <sbailliez@imediation.com> wrote:
> >
> > Download the full JDK sources and you will get the code.
> > http://www.sun.com/software/communitysource/java2/
> >
>
> Excellent, thank you.
>
> > > I want to look into some minor enhancements to
> > > Javac13.java and/or CompilerAdapter, but I need
> > > to see what can be accomplished with the compiler
> > > other than simply starting it up.
> >
> > mmm... what about IBM compiler ?
> >
>
> I certainly would like to make this change available for
> all compilers, but the particular feature is actually
> compiler dependent.  I don't know if javac(.exe) will
> even return the necessary information [class dependencies].
>
> greg_fenton.
>
> =====
> Greg Fenton
> greg_fenton@yahoo.com
>
> __________________________________________________
> Do You Yahoo!?
> Make international calls for as low as $.04/minute with Yahoo! Messenger
> http://phonecard.yahoo.com/


Mime
View raw message