Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Missing bundle javax.xml
Missing bundle javax.xml [message #1829795] Fri, 10 July 2020 15:42 Go to next message
Timothy Vogel is currently offline Timothy VogelFriend
Messages: 82
Registered: July 2009
Member
I am updating my RCP project from circa 2015 to 2020-06. I am getting a missing constraint on the bundle javax.xml after changing the RCP feature.

My 2015 target file included
<unit id="org.eclipse.rcp.feature.group" version="4.5.1.v20150904-0015"/>
which provided the bundle javax.xml. I updated this to be
<unit id="org.eclipse.rcp.feature.group" version="4.16.0.v20200604-0951"/>
, which does not provide the bundle.

Where is this bundle available from in 2020-06 release ?

More information available on SO on this message.

https://stackoverflow.com/questions/62822899/eclipse-rcp-build-missing-javax-xml

[Updated on: Fri, 10 July 2020 15:54]

Report message to a moderator

Re: Missing bundle javax.xml [message #1829821 is a reply to message #1829795] Sat, 11 July 2020 13:36 Go to previous messageGo to next message
Rolf Theunissen is currently offline Rolf TheunissenFriend
Messages: 260
Registered: April 2012
Senior Member
This is mentioned in the "Plug-in Migration Guide":
https://help.eclipse.org/2020-06/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Fporting%2F4.7%2Fincompatibilities.html&cp%3D2_3_10_2

javax.xml is provided by JavaSE 1.7 and higher.
Re: Missing bundle javax.xml [message #1829822 is a reply to message #1829821] Sat, 11 July 2020 13:39 Go to previous messageGo to next message
Rolf Theunissen is currently offline Rolf TheunissenFriend
Messages: 260
Registered: April 2012
Senior Member
When you are using Java 10 or higher, this might be relevant to you:
https://stackoverflow.com/questions/51094274/eclipse-cant-find-xml-related-classes-after-switching-build-path-to-jdk-10/53824670#53824670
Re: Missing bundle javax.xml [message #1829823 is a reply to message #1829822] Sat, 11 July 2020 13:53 Go to previous messageGo to next message
Timothy Vogel is currently offline Timothy VogelFriend
Messages: 82
Registered: July 2009
Member
Thanks for the link. Still using Java 1.8. Turns out that the Eclipse platform no longer requires javax.xml. There is a separate unit to include in the target

	<location includeAllPlatforms="true" includeConfigurePhase="true" includeMode="slicer" includeSource="false" type="InstallableUnit">
	    <repository location="https://download.eclipse.org/releases/2020-06"/>
	    <unit id="javax.xml" version="0.0.0"/>
	</location>	



Re: Missing bundle javax.xml [message #1829824 is a reply to message #1829821] Sat, 11 July 2020 15:30 Go to previous message
Timothy Vogel is currently offline Timothy VogelFriend
Messages: 82
Registered: July 2009
Member
Rolf,
Thanks for the direct answer and link to the migration guide!
Timothy

P.S. The migration guide was super useful as it identified other changes that I need to address.

[Updated on: Sat, 11 July 2020 17:18]

Report message to a moderator

Previous Topic:Public SSH Key adding option is disabled in Gerrit
Next Topic:Update the tool control values programmatically
Goto Forum:
  


Current Time: Tue Oct 08 19:41:09 GMT 2024

Powered by FUDForum. Page generated in 0.04713 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top