You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Takashi Okamoto <to...@kun.ne.jp> on 2001/06/16 18:00:04 UTC

[PATCH] compiler plug-in for kjc

Hi, tomcat guys!

I implemented compiler plug-in for KJC Java Compiler. KJC has high
compatibility about Java Language Specification that is repotred to
kaffe-ml by Edouard G. Parmelan (see bibliography end of this
mail). Believe it or not, KJC beats SUN's Java Compiler in JLS. I have
been believing that integrating various opensources bring their
software to good way, and wrote kjc plugin for tomcat (I also wrote
kjc plug-in for ant). I hope tomcat won't become only RI of JSR, but
also RI of Java opensources though I don't know how you feel about
this....

Well, I attached a patch. I tested it with only tomcat 3.2.2. But it
may work with tomcat 4.x.(I haven't confirmed yet)

But I must give you a CAUTION that recent stable kjc release
(kjc-1.5A) doesn't work with tomcat because encoding option isn't
supported yet. Although I wrote a patch about this problem for kjc and
it was commited already. Tomcat will work fine with next kjc
release. Well, you may want to test it soon, but compiling kjc from
CVS isn't so easy. So, I provide compiled kjc at following URL:

  http://www21.freeweb.ne.jp/computer/torakun/java/kjc-i18n.jar

You can pick it up freely. It is distributed under GPL. 

One more thing, we can integrate kjc for Coccon by same approach.
If anyone is interested in it, could you implement it?

Cheers.


bibliography:

[KOPI Project]
http://www.dms.at/kopi/

[Edouard G. Parmelan's report]
http://rpmfind.net/tools/Kaffe/messages/1291.html

PS.
Tomcat 3.2.2 Debian package is released. You can do 
'apt-get install tomcat' if you use unstable or testing Debian.
---------------
 ^^  	Takashi Okamoto     <tora at debian.org>
= ..=	Debian Project      http://www.debian.org/
 -o-	  Key fingerprint:
            8B37 1FE6 76B2 7BA6 D59A  9BF7 E7F4 46C8 5293 6E17

Re: [PATCH] compiler plug-in for kjc

Posted by Takashi Okamoto <to...@kun.ne.jp>.
At Sat, 16 Jun 2001 14:20:19 -0700 (PDT),
Craig R. McClanahan <cr...@apache.org> wrote:
> Ugh, "GPL" is not going to be popular here.  Not so much because
> Apache folks wouldn't like to use it, but because the GPL folks
> consider the two licenses to be incompatible (read Stallman
> et. al. for the gory details).

Sure, I know. My mean is not distributing tomcat with kjc. I want to
give a chance to use tomcat with kjc for users.

> Any chance the KJC folks would consider distributing this under a BSD-like
> license?

I can't say certainly but you don't have such a chance because GPL is
too tough for opensource. But user can use tomcat with kjc freely
(ex. apache needs glibc on Linux) though you can not distribute tomcat
with kjc. 

BTW, I forgot attach the patch because I was too heating up to do it;)
Now I am sure to attach it which was just modified
SunJavaCompiler.java and it should be distrebuted under Apache
Software License;)
----
Takashi Okamoto 


Re: [PATCH] compiler plug-in for kjc

Posted by "Craig R. McClanahan" <cr...@apache.org>.

On Sun, 17 Jun 2001, Takashi Okamoto wrote:

> So, I provide compiled kjc at following URL:
> 
>   http://www21.freeweb.ne.jp/computer/torakun/java/kjc-i18n.jar
> 
> You can pick it up freely. It is distributed under GPL. 
> 

Ugh, "GPL" is not going to be popular here.  Not so much because Apache
folks wouldn't like to use it, but because the GPL folks consider the two
licenses to be incompatible (read Stallman et. al. for the gory details).

Any chance the KJC folks would consider distributing this under a BSD-like
license?


>  ^^  	Takashi Okamoto     <tora at debian.org>
> = ..=	Debian Project      http://www.debian.org/
>  -o-	  Key fingerprint:
>             8B37 1FE6 76B2 7BA6 D59A  9BF7 E7F4 46C8 5293 6E17
> 

Craig McClanahan