jax-doclets icon indicating copy to clipboard operation
jax-doclets copied to clipboard

Java 8 compatibility

Open youribonnaffe opened this issue 10 years ago • 22 comments

It seems that with Java 8 every is broken.

I started to do some changes but it feels like this is going to be a lot of rework, the doclet API has been through massive changes..

Unfortunately I cannot find a lot of details about this API online. I'd like to contribute but I wondering what the best solution would be.

youribonnaffe avatar Apr 10 '14 16:04 youribonnaffe

Aw, damn. That would also mean we need to break Java < 8 compatibility if we support it, no?

FroMage avatar Apr 10 '14 17:04 FroMage

It seems so. The options I see for now are:

  • Java 8 only version
  • embed doclet API from Java < 8 and rename packages (dirty)

What bothers me is that I quickly looked for information about API changes for doclets and did not find anything. Isn't it used a bit, by other people writing custom doclets?...

youribonnaffe avatar Apr 10 '14 17:04 youribonnaffe

I don't think anybody writes doclets anymore ;)

FroMage avatar Apr 10 '14 20:04 FroMage

Same issue in Apache Marmotta (MARMOTTA-513), where the doclet is used to generate documentation form the JAX-RS web services.

Any plan to support Java>=8 ?

wikier avatar Jul 09 '14 09:07 wikier

The truth of the matter is that I don't have time to maintain this project anymore. If you want to make it work for both Java 7 and Java 8 I can grant you commit access.

FroMage avatar Jul 09 '14 11:07 FroMage

For us (Marmotta) the urgent think would be to get 0.10.1 released and pushed to maven central as soon as possible,

I have no time either to maintain it, but I do have some time to keep it running and manage some fixes.

wikier avatar Jul 09 '14 11:07 wikier

Well, I'm not using this project for work anymore, which is also why I don't have time to maintain it. If you have time to put at least your fixes, and perhaps other contributors's fixes that work for you, I can let you push to maven central too (if I figure out how that works again). Let me know if that would work for you and I'll arrange it.

FroMage avatar Jul 09 '14 12:07 FroMage

If you give me the credentials, I can help to get 0.10.1 out (issue #63).

wikier avatar Jul 10 '14 08:07 wikier

You should have push access now. For Maven Central it's trickier: I just checked and you need to create a JIRA to ask for permission to publish jax-doclets like me. I can't grant you that permission in the UI myself.

FroMage avatar Jul 10 '14 08:07 FroMage

@FroMage, are you publishing via Sonatype OSS, right? Then you should open an issue, referencing OSSRH-855, asking to grant me (wikier) over the com.lunatech.jax-doclets groupId.

Please, comment issue #63 whatever should be taken into account for publishing 0.10.1 (what contains, etc)

wikier avatar Jul 10 '14 10:07 wikier

OK done: https://issues.sonatype.org/browse/OSSRH-10624

FroMage avatar Jul 10 '14 12:07 FroMage

As for what went in, you can see the list here: https://github.com/FroMage/jax-doclets/issues?direction=desc&milestone=2&page=1&sort=created&state=closed and what should go in, I don't really care. Release when you need it released ;) Releasing often is never a bad thing.

FroMage avatar Jul 10 '14 12:07 FroMage

Permission granted apparently.

FroMage avatar Jul 10 '14 14:07 FroMage

continue this thread at issue #63

wikier avatar Jul 11 '14 05:07 wikier

I am wondering if this project is still alive? This issue is very old and still not closed. Also JDK7 has this month it last month about any public updates. So the pressure is here to move to JDK8. Can someone tell more about the project status and about any further interest on the project?

dpalic avatar Apr 01 '15 20:04 dpalic

not really... I jumped in to solve a concrete an quick issue, but @FroMage is not maintaining it anymore, I guess.

wikier avatar Apr 02 '15 07:04 wikier

No, this is pretty much looking for a brave maintainer :)

FroMage avatar Apr 02 '15 07:04 FroMage

Is there any idea of how many users are using this doclet project? I am willing to support, but only if a community is in the background to help us too...

dpalic avatar Apr 02 '15 10:04 dpalic

I've no idea TBH.

FroMage avatar Apr 02 '15 11:04 FroMage

We use it in Apache Marmotta, that's why I needed released 0.10.1 (see issue #63). So I may help.

wikier avatar Apr 02 '15 12:04 wikier

FroMage, are you willing to support us with your knowledge? If so, we are already 3 persons to maintain ;-)

dpalic avatar Apr 02 '15 17:04 dpalic

What little knowledge I have I will share gladly ;)

FroMage avatar Apr 02 '15 19:04 FroMage