BuildInstructions

Erland Isaksson edited this page Dec 31, 2015 · 1 revision

General instructions

Building with Maven

To build with maven in the top directory run:

mvn install

The result will be a jar file in the "target" directory. The jar file is self contained and contains all references needed to run the server.

To remove all the binaries, you can run:

mvn clean

Generating IntelliJ IDEA project files

To generate IntelliJ IDEA project files, in the top directory run:

mvn idea:idea

This will generate IntelliJ IDEA project files. In addition to this, you might need to setup the JDK inside IntelliJ IDEA to point to the same JDK as defined by JAVA_HOME.

Note! The IntelliJ project files will only build the class files, if you want the self contained JAR you need to use maven to build.

To remove all the IntelliJ IDEA project files, you can run:

mvn idea:clean

Generating Eclipse project files

To generate Eclipse project files, in the top directory run:

mvn eclipse:eclipse

This will generate Eclipse project files.

To open it in Eclipse you need to:

  1. Create a new workspace (or use an existing one) in Eclipse
  2. In Eclipse, select "File/Import.../General/Exisiting Projects into Workspace" and point to the top directory where you executed the mvn eclipse:eclipse command and select the project to import.
  3. To make Eclipse find the dependencies, you also need to goto "Preferences/Java/Build Path/Classpath Variables" and setup a new variable M2_REPO that points to the ~/.m2/repository directory (the directory where your local Maven repository is stored)

Note! The Eclipse project files will only build the class files, if you want the self contained JAR you need to use maven to build.

To remove all the Eclipse project files, you can run:

mvn eclipse:clean

SMD server

For more information about SMD Server, click here

The svn path is:

Latest pre-compiled binary version (if you don't want to build it locally):

To run, you build with maven as described above and then run:

  • java -jar smd-server-1.0-SNAPSHOT.jar

SMD frontend

For more information about SMD Server, click here

The svn path is:

Latest untested pre-compiled binary version (if you don't want to build it locally):

To run, you build with maven as described above and then run:

  • java -jar smd-frontend-1.0-SNAPSHOT.jar

SMD plugin

For more information about SMD Server, click here

The svn path is:

To build the perl only version of the plugin with maven:

  • mvn install

To build the plugin with bundled server (but not frontend) with maven:

  • mvn install -Pserver

To build the plugin with bundled server and frontend with maven:

  • mvn install -Dsmdsignpasswd=XXX

(Where XXX is a secret password, contact Erland if you need it)

The latest official tested build (with server/frontend bundled with plugin) is available in this repository which you can configure in SBS Settings/Plugins:

The latest official tested build (without server/frontend) is available in this repository which you can configure in SBS Settings/Plugins:

The latest untested binary build (with server/frontend bundled with plugin) is available in this repository which you can configure in SBS Settings/Plugins:

The latest untested binary build (without server/frontend) is available in this repository which you can configure in SBS Settings/Plugins:

SMD Yggdrasil (formerly known as RCP Client)

For more information about SMD Yggdrasil, click here

The svn path is:

Latest untested pre-compiled binary version (if you don't want to build it locally):

To run, you build with maven as described above and then run:

  1. Goto the org.socialmusicdiscovery.yggdrasil-product/target directory
  2. Enter the sub directory for your platform
  3. Run the yggdrasil launcher inside the eclipse directory

For more details regarding building yggdrasil, look in the ReadMe.txt file

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.