Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » RAP e4 bundles and Maven Central(The RAP e4 bundles are not yet available on a public Maven repository.)
RAP e4 bundles and Maven Central [message #1848536] Tue, 07 December 2021 08:12 Go to next message
Ken Wenzel is currently offline Ken WenzelFriend
Messages: 51
Registered: July 2009
Member
Dear RAP developers,

the bundle "org.eclipse.rap.e4" and other e4-specific RAP components are not yet available on Maven Central.
Would it be possible to also publish these bundles to OSS Sonatype and/or Central?

Best regards,
Ken
Re: RAP e4 bundles and Maven Central [message #1848544 is a reply to message #1848536] Tue, 07 December 2021 10:21 Go to previous messageGo to next message
Markus Knauer is currently offline Markus KnauerFriend
Messages: 179
Registered: July 2009
Senior Member

Hi Ken,

I haven't been thinking about the effort that would be necessary to set this up and to maintain it in the future, but in theory it should be possible, maybe with the help of some sponsoring. My only concern is that we need to ensure that our forked bundles do not interfere in any way with the original ones from Eclipse Platform, and of course, we need some outside testing to verify that all dependencies can be met.

I would suggest that you open a bug in Bugzilla, then we can discuss it in more details if and how this is feasible.

Thanks and regards
Markus


--

Twitter: @mknauer23 and @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: RAP e4 bundles and Maven Central [message #1848546 is a reply to message #1848544] Tue, 07 December 2021 11:53 Go to previous messageGo to next message
Ken Wenzel is currently offline Ken WenzelFriend
Messages: 51
Registered: July 2009
Member
Hello Markus,

thank you for your quick response. I've created an enhancement request:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=577664

Best regards,
Ken
Re: RAP e4 bundles and Maven Central [message #1850557 is a reply to message #1848546] Tue, 08 March 2022 13:13 Go to previous messageGo to next message
Ken Wenzel is currently offline Ken WenzelFriend
Messages: 51
Registered: July 2009
Member
Dear Markus,

can it be expected that the e4-related bundles will be available soon?

Best regards,
Ken
Re: RAP e4 bundles and Maven Central [message #1850558 is a reply to message #1850557] Tue, 08 March 2022 13:27 Go to previous messageGo to next message
Markus Knauer is currently offline Markus KnauerFriend
Messages: 179
Registered: July 2009
Senior Member

Yep. Last week I created the initial pom.xml files - they are now waiting on my local disk for completion of the dependency chain. I should have something to test tomorrow or Thursday once the RC2 builds are done.

Regards
Markus


--

Twitter: @mknauer23 and @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: RAP e4 bundles and Maven Central [message #1850589 is a reply to message #1850558] Wed, 09 March 2022 09:10 Go to previous messageGo to next message
Ken Wenzel is currently offline Ken WenzelFriend
Messages: 51
Registered: July 2009
Member
This is fantastic - thank you!
Re: RAP e4 bundles and Maven Central [message #1851365 is a reply to message #1850589] Mon, 04 April 2022 07:50 Go to previous messageGo to next message
Markus Knauer is currently offline Markus KnauerFriend
Messages: 179
Registered: July 2009
Senior Member

The "old" set up Eclipse RAP bundles is available from Maven Central now.

For the new Eclipse RAP e4 ones, please watch out for the progress at https://bugs.eclipse.org/bugs/show_bug.cgi?id=577664.

Would you be able to test against the staging repo at https://oss.sonatype.org/content/repositories/orgeclipserap-1088/? It would be great to get some feedback before finalizing it.

Thanks and regards
Markus


--

Twitter: @mknauer23 and @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: RAP e4 bundles and Maven Central [message #1851853 is a reply to message #1851365] Wed, 20 April 2022 08:57 Go to previous messageGo to next message
Markus Knauer is currently offline Markus KnauerFriend
Messages: 179
Registered: July 2009
Senior Member

Ken, did you have time to test the staging repository with the new bundles in the meantime?
Before publishing it I'd like to see some kind of verification, and I don't know how long those staging repositories are kept before they are removed.

Thanks and regards
Markus


--

Twitter: @mknauer23 and @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: RAP e4 bundles and Maven Central [message #1852139 is a reply to message #1851365] Mon, 02 May 2022 11:25 Go to previous messageGo to next message
Ken Wenzel is currently offline Ken WenzelFriend
Messages: 51
Registered: July 2009
Member
Dear Markus,

sorry for my late reply and thank you for the good work!

I tested the staging repository but encountered some problems with version numbers of the dependencies. The following configuration worked (at least for compilation):

		<dependency>
			<groupId>org.eclipse.rap</groupId>
			<artifactId>org.eclipse.rap.e4</artifactId>
			<version>3.20.0</version>
			<exclusions>
				<exclusion>
					<groupId>javax.annotation</groupId>
					<artifactId>javax.annotation-api</artifactId>
				</exclusion>
				<exclusion>
					<groupId>org.eclipse.rap</groupId>
					<artifactId>org.eclipse.e4.ui.workbench.swt</artifactId>
				</exclusion>
			</exclusions>
		</dependency>
		<dependency>
			<groupId>org.eclipse.rap</groupId>
			<artifactId>org.eclipse.e4.ui.workbench.swt</artifactId>
			<version>0.13.0-rap-20210113-0925</version>
			<exclusions>
				<exclusion>
					<groupId>org.eclipse.rap</groupId>
					<artifactId>org.eclipse.e4.core.commands</artifactId>
				</exclusion>
				<exclusion>
					<groupId>org.eclipse.rap</groupId>
					<artifactId>org.eclipse.e4.ui.workbench</artifactId>
				</exclusion>
				<exclusion>
					<groupId>javax.annotation</groupId>
					<artifactId>javax.annotation-api</artifactId>
				</exclusion>
			</exclusions>
		</dependency>
		<dependency>
			<groupId>org.eclipse.rap</groupId>
			<artifactId>org.eclipse.e4.ui.workbench</artifactId>
			<version>1.3.0-rap-20201104-1920</version>
			<exclusions>
				<exclusion>
					<groupId>javax.annotation</groupId>
					<artifactId>javax.annotation-api</artifactId>
				</exclusion>
				<exclusion>
					<groupId>org.eclipse.rap</groupId>
					<artifactId>org.eclipse.e4.core.commands</artifactId>
				</exclusion>
			</exclusions>
		</dependency>
		<dependency>
			<groupId>org.eclipse.rap</groupId>
			<artifactId>org.eclipse.e4.ui.bindings</artifactId>
			<version>0.11.0-rap-20201104-1920</version>
			<exclusions>
				<exclusion>
					<groupId>javax.annotation</groupId>
					<artifactId>javax.annotation-api</artifactId>
				</exclusion>
				<exclusion>
					<groupId>org.eclipse.rap</groupId>
					<artifactId>org.eclipse.e4.core.commands</artifactId>
				</exclusion>
			</exclusions>
		</dependency>
		<dependency>
			<groupId>org.eclipse.platform</groupId>
			<artifactId>org.eclipse.e4.core.commands</artifactId>
			<version>1.0.100</version>
			<exclusions>
				<exclusion>
					<groupId>javax.annotation</groupId>
					<artifactId>javax.annotation-api</artifactId>
				</exclusion>
			</exclusions>
		</dependency>


The additional artifacts are referenced without the "-rap-YYYYMMDD-..." within the POM files and therefore not found by Maven.

I've also seen that you've included an own version of "org.eclipse.e4.core.commands" although it is already available within the "org.eclipse.platform" namespace on central.

Best regards,
Ken
Re: RAP e4 bundles and Maven Central [message #1852140 is a reply to message #1852139] Mon, 02 May 2022 11:47 Go to previous messageGo to next message
Markus Knauer is currently offline Markus KnauerFriend
Messages: 179
Registered: July 2009
Senior Member

Thanks for testing and feedback, I'll have a second look at your comments soon.

A short answer regarding your comment about org.eclipse.e4.core.commands:

Quote:
I've also seen that you've included an own version of "org.eclipse.e4.core.commands" although it is already available within the "org.eclipse.platform" namespace on central.


I've had a quick look at the history of the forked RAP version of the bundle, which is essentially what had been done before its move to the main RAP Runtime project here:

https://git.eclipse.org/c/rap/incubator/org.eclipse.rap.incubator.e4.git/log/bundles/org.eclipse.e4.core.commands

There is one commit included in the history that makes me believe that you still need the RAP version of the bundle: e4.core.commands uses statics which causes major problems on RAP. And this issue still seems to exist, although the trouble causing bug 458029 has been "closed" by the Eclipse Platform team.

Do you agree, or did I overlook something?

Thanks and regards
Markus



--

Twitter: @mknauer23 and @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: RAP e4 bundles and Maven Central [message #1852168 is a reply to message #1852140] Tue, 03 May 2022 13:37 Go to previous message
Ken Wenzel is currently offline Ken WenzelFriend
Messages: 51
Registered: July 2009
Member
Thanks - that sounds good.

Maybe it is also possible to add the correct dependency to javax.annotation-api as it can't be found on central. I think this also happens with other generated Maven artifacts of the Eclipse platform.

Best regards,
Ken
Previous Topic:RAP Support for QuickAccess
Next Topic:Language of the browser
Goto Forum:
  


Current Time: Fri Jun 14 07:58:37 GMT 2024

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

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

Back to the top