[Kde-java] Re: GCJ (Re: Build system for KDE4)

Martijn Klingens klingens at kde.org
Wed Jun 15 15:15:02 CEST 2005


Thomas Zander said:
> My idea was to generate classes that do nothing but wrap the kde libs and
> create some classes with static methods that do any needed conversion on
> the from the jint/jfloat to the native versions.

Do you have to wrap KDE libs? I understood from our talks and from
http://www.valdyas.org/fading/index.cgi/hacking/javalib.html?seemore=y
that it is possible to import and call C++ classes directly with gcj
without the need to wrap anything at all. That's why I like this idea so
much, because the bridge between both worlds is by definition in sync with
no bindings needed at all.

> The biggest problem I see for this is the generation of good Docs since we
> don't have all methods in Java, we can't easily create Javadocs for them.
> There are so many essential things missing in the doxygen generated docs
> that Java developers are used to having in their docs.  I feel that this
> documentation in standard javadocs is an essential part of the bindings
> for Java.

This looks like an implementation detail to me though, plus I wouldn't be
surprised if doxygen is able to output javadocs.

-- 
Martijn


More information about the Kde-java mailing list