Hi Nikolas,
Thanks a lot for being the first unlucky bug reporter and for offering your
help :-).
Indeed there would be tons of things to do to handle Linux and Unices
properly, your help is highly welcome (I added you to the project).
As for the null pointer exception that blew it, I've just uploaded a fixed
JAR (where the default include path on anything not mac nor win32 is simply
".") :
http://ochafik.free.fr/Java/jnaerator.jar
I hope this time it's going to behave more properly :-)
Cheers
2009/2/16 Nikolas Lotz <nlo...@nde.ag>
JNAerator (hehe) is still very buggy and has many limitations but I think
it
might already be useful to JNA users who need to generate large
interfaces
(it knows about defines, enums, constants, structs, callbacks, converts
comments to javadocs, has experimental expressions translation...).
I'm getting a NPE on Linux, because DEFAULT_INCLUDE_PATH isn't set:
if (SystemUtils.isMacOSX()) { [...] }
else if (SystemUtils.isWindows()) { [...] }
=> DEFAULT_INCLUDE_PATH is NULL on other systems
I could create an issue or fix this if you add me (nikolas.lotz) to
the list of developers. I could also add a few improvements for the
unixish platforms in SystemUtils.
thanks for your efforts !
nikolas
Vorsitzende des Aufsichtsrates: Angelika Mozdzen
Sitz und Registergericht: Hamburg, HRB 90934
Vorstand: Jens-U. Mozdzen
USt-IdNr. DE 814 013 983