Skip to content

Conversation

@eirikbakke
Copy link
Contributor

@eirikbakke eirikbakke commented Jan 24, 2025

In #7941, we switched NetBeans' SVG icon loading library from Batik to JSVG. As discussed in the latter issue, we can now remove the Batik library altogether, as we have used JSVG for a while and seen no issues.

(This is for the next NB release, not the one freezing today.)

Closes #7969.

@eirikbakke eirikbakke added Code cleanup Label for cleanup done on the Netbeans IDE Upgrade Library Library (Dependency) Upgrade UI User Interface labels Jan 24, 2025
@eirikbakke eirikbakke added this to the NB26 milestone Jan 24, 2025
Copy link
Contributor

@matthiasblaesing matthiasblaesing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tend to agree with the removal. We might need to tell people that they can grab the nbm from maven central:

https://repo1.maven.org/maven2/org/netbeans/api/org-netbeans-libs-batik-read/RELEASE240/org-netbeans-libs-batik-read-RELEASE240.nbm

and should be good if their plugins rely in batik.

@mbien
Copy link
Member

mbien commented Feb 13, 2025

We might need to tell people that they can grab the nbm from maven central

possibly as temporary workaround, but with integration of this PR the nbm won't be updated again. The only long-term solution for users which relied on that dependency would be to maintain and ship their own lib wrapper.

Copy link
Member

@mbien mbien left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good

As NetBeans has switched to JSVG for SVG loading, and JSVG has been tested for a while, we can now remove the Batik library as previously envisioned.

See apache#7969
@eirikbakke
Copy link
Contributor Author

Rebased on master for merging after tests pass again.

@eirikbakke eirikbakke merged commit b2bdb81 into apache:master Feb 22, 2025
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Code cleanup Label for cleanup done on the Netbeans IDE UI User Interface Upgrade Library Library (Dependency) Upgrade

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove the Batik SVG library once JSVG has been tested for a while

3 participants