John Leuner wrote:
> 
> > $ java-jdk11 net.wuffies.japi.Japize -f $JAVAHOME/lib/classes.zip java >
> > jdk11.japi
> 
> I can't compile Japize because it depends on java.util.zip. Is it possible
> to make it work on plain filesystem tree?

I have added support for scanning a filesystem tree, although it's
currently untested. The source, a .class file in case you can't compile
it without j.u.z, and documentation are available at
http://stuart.wuffies.net/japi/ . There is also a copy of jdk11.japi so
that you can compare against it without having to have the JDK
installed.

Note that the argument syntax has changed - you can now specify more
than one zipfile and/or more than one directory, and also include and
exclude stuff so that the "grep -v" required in the original
instructions can now be done by Japize itself. See the webpage for more
info.

Please feel free to test this and send patches if you have any problems.
The code is horribly documented but I don't think it's actually bad
code; it should be possible to follow it with a little effort.
Commenting is the very next thing on my TODO list ;)

If you do get this working, I'd be interested if you could mail me a
copy of classpath.japi, just for completeness :) Anyone who produces a
full jdk12.japi or jdk13.japi, I'd also be interested to see those, as I
don't have either on my box right now. Since they're probably big
(jdk11.japi is just over 1Mb) it's probably best to give me a URL rather
than sending an email.

Thanks for testing this; enjoy :)

Stuart.

Reply via email to