Itema-as / dawn-marketplace-server

An open source Eclipse marketplace server. Compatible with the built-in marketplace client.
Eclipse Public License 1.0
6 stars 5 forks source link

DAWN Marketplace Server Build Status

An open source Eclipse marketplace server based on the marketplace client REST API.

This server implementation differs from the Eclipse Foundation's server in some key areas:

Technology stack

This server is built on Spring Boot, Eclipse EMF, HyperSQL DB, Hibernate and Eclipse Teneo. It is self-contained, so there is no need to install anything for deployment except for Java 8. While it is created for serving DAWN plug-ins, it can be used for distributing plug-ins for any Eclipse based product as it is compatible with the Eclipse Marketplace client.

Usage

Starting the server

When running the standalone server you need to start it from the command line. E.g. java -jar org.dawnsci.marketplace.server-1.0-SNAPSHOT.war.

See the notes for the server for more details.

Using the marketplace client

Start Eclipse with required parameters for connecting to the server, e.g. /Eclipse.app/Contents/MacOS/eclipse -vmargs -Dorg.eclipse.epp.internal.mpc.core.service.DefaultMarketplaceService.url=http://localhost:8080/mpc -Dorg.eclipse.epp.internal.mpc.core.service.DefaultCatalogService.url=http://localhost:8080/mpc

Replace http://localhost:8080 with whatever you have the server running on.

Development and Building

When doing development on this code, you should start the server from within Eclipse. That will allow you to do normal debugging. Make sure the Spring tool suite is installed and launch the org.dawnsci.marketplace.server project as a Spring Boot App.

The server is built using Maven so it is sufficient to execute mvn clean install from the project root.

If you want to build the client for integration with an Eclipse RCP application you must specify to use the client profile, mvn -Pclient clean install.