Skip to content

Installing from source

Torkild U. Resheim edited this page Jan 14, 2013 · 8 revisions

This guide explains how Elibrarium can be built from source and installed into Eclipse 3.7 or newer.

Requirements

  • The git command line client
  • Java compiler
  • Maven

On Linux and OS X hosts set up for development all of these features should be present.

Instructions

This project depends on the EPUB support in Mylyn Docs. This code is available in the project's official Git repository. In this case we'll be using the GitHub clone of the repository. Open a shell in the location where you want to put the source code and prepare to build Mylyn Docs:

git clone git://github.com/eclipse/mylyn.docs.git
cd org.eclipse.mylyn.docs
mvn install

Now Elibrārium must be built.

git clone git://github.com/turesheim/elibrarium.git
cd elibrarium
mvn package

Assuming everything went OK there will now be an Eclipse p2 repository which one can install from. This will include the EPUB parts from the Mylyn Docs project. If your git repository is at ~/git/elibrarium you should find it in no.resheim.elibrarium-site/target/site. Add this folder as an install location when using the Eclipse install wizard. The wizard is found in the main menu: Help > Install New Software…

image

If you want to update with the latest repository version you can execute:

git pull

As soon as the repository has been updated and built you can select Help > Check for Updates and the new build should be discovered and be installable.

Clone this wiki locally