Date: prev next · Thread: first prev next last


I like the way Guava is showing their API changes in the release notes
<https://github.com/google/guava/releases> by a report of JDiff
<https://guava.dev/releases/31.1-jre/api/diffs/>.
While the JDiff does not seem to be in their build environment I tested to
build the origin and some fork in spf4j
<https://mvnrepository.com/artifact/org.spf4j/spf4j-jdiff-maven-plugin> (
source
<https://github.com/zolyfarkas/spf4j/tree/master/spf4j-jdiff-maven-plugin>)
but realized that it is requiring JDK 8 (as they are using the JDK Doclet
API and I remember the pain we went through when moving from JDK 8 to JDK 9
with our taglets (annotations in JavaDoc of our generated Java classes of
ODFDOM to generate automatically hyperlinks to the appropriate place in the
ODF spec to that generated XML node).

But others had the same problems and I found a discussion in a JDK issue
<https://github.com/watson-developer-cloud/java-sdk/pull/869>, which lead
to https://siom79.github.io/japicmp/

I cloned, build and finally tested the JApiCmp tool via command line using
*java -jar japicmp-0.16.0-jar-with-dependencies.jar -m -n
./master-branch/odfdom-java-0.11.0-SNAPSHOT.jar -o
 ./odf-codegen/odfdom-java-0.11.0-SNAPSHOT.jar --ignore-missing-classes
--html-file out.html*

It analyzes the class files and writes an HTML report.
I have uploaded the output to my GitHub pages of the odf-codegen branch:

*https://svanteschubert.github.io/odftoolkit/api/ODFDOM_API_CHANGES_odf-codgen_branch.html
<https://svanteschubert.github.io/odftoolkit/api/ODFDOM_API_CHANGES_odf-codgen_branch.html>*

Of course, I am still looking for an IDE plugin that is able to record
refactorings and save or apply such refactorings. But for now, this is
quite nice.

Let's discuss the results in a follow-up email.

Cheers,
Svante

-- 
To unsubscribe e-mail to: dev+unsubscribe@odftoolkit.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.odftoolkit.org/dev/
Privacy Policy: https://www.documentfoundation.org/privacy

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.