Changing javax to jakarta

2,354 views
Skip to first unread message

Mihai Nita

unread,
Feb 1, 2021, 5:43:47 PM2/1/21
to Group: okapi-devel
I've tried to update our dependencies to the latest release versions.
And things fail, because some of them renamed the javax namespace to jakarta


It touches JSRs, Glassfish, etc.
We have about 1500 instances, most of them in javax.xml:
  [1] javax.swing
  [2] javax.crypto
  [4] javax.imageio
  [7] javax.ws
  [8] javax.json
  [1704] javax.xml

I can work on doing the migration.
But I wanted to make sure that everybody is OK with it :-)

Cheers,
Mihai

Mihai Nita

unread,
Feb 1, 2021, 5:44:54 PM2/1/21
to Group: okapi-devel
It looks like we have 1700 or so :-)
There are about 1500 lines. I've counted different things.
Mihai

jim

unread,
Feb 1, 2021, 8:43:38 PM2/1/21
to okapi...@googlegroups.com, Mihai Nita
Mihai, as far as I understand we don't really have a choice if we want to use the latest versions. I'm ok to make the changes.

Jim
--
You received this message because you are subscribed to the Google Groups "okapi-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to okapi-devel...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/okapi-devel/CAK69zbkRz-YHzf8eyNxSvsyosvcwpSvV02Cw9hiO932q7Zkomw%40mail.gmail.com.

Mihai Nita

unread,
Feb 1, 2021, 9:13:26 PM2/1/21
to jim, Group: okapi-devel
Yes, in the long run we have no choice.
But we can delay it, if someone has a big blocker.
Mihai

Mihai Nita

unread,
Feb 2, 2021, 8:00:39 PM2/2/21
to jim, Group: okapi-devel
This is all it takes:

Looks like some of the new libraries decided to still keep the javax namespace.
The only tricky thing was to find the right replacements.

Mihai

Mihai Nita

unread,
Feb 3, 2021, 1:06:19 PM2/3/21
to jim, Group: okapi-devel
The javax - jakarta move is done and working fine in a branch (mihai_javax2jakarta)
https://bitbucket.org/okapiframework/okapi/commits/f9ea280

M.
Reply all
Reply to author
Forward
0 new messages