-
Notifications
You must be signed in to change notification settings - Fork 16
Developer setup
A quick look at the System Architecture tells us, that we're using a lot of Eclipse components for this application, so it is no surprise, that Eclipse is probably the best solution to hack on Jabylon.
Our personal recommendation is to use the Eclipse Indigo SR2 distribution for RCP and RAP developers (see http://eclipse.org/downloads/).
Jabylon as a web application based on https://vaadin.com. For state persistence we're currently using Eclipse EMF along with CDO which in turn connect to an embedded Derby database. As container we're currently using Equinox with an integrated Jetty. To checkout actual code (and commiting the translation) we have a Git provider based on JGit.
To work on Jabylon, just clone the repository via EGit (URL: https://github.com/jutzig/jabylon.git) and import the projects.
In project de.jutzig.jabylon.developer you'll find a target platform to be imported (Eclipse preferences -> Plug-in development -> Target Platform) in your Eclipse instance. This should resolve all the the required dependencies.
For now, the servers working directory (to store the checked out projects and the Derby DB) can be configured via a constants class (de.jutzig.jabylon.cdo.server.ServerConstants in /de.jutzig.jabylon.cdo.server). This will be replaced as soon as we can think of a better way to do that ;) Basically it should work without changing anything (in that case Jabylon will use the current user's home directory and create a sub-directory workspaces/translator/work to use.
The de.jutzig.jabylon.developer project also contains a launch configuration which should be enough to get the server startet. Make sure to have port 8080 free or change the system property -Dorg.eclipse.equinox.http.jetty.http.port to something else before starting. If the startup worked, you can reach the application via http://localhost:8080/jabylon in your favorite web browser. The default user name is "admin" with password "changeme"
Before starting hacking one thing is left: Import the Eclipse formatting template from https://github.com/jutzig/jabylon/blob/master/de.jutzig.jabylon.developer/eclipse-preferences/eclipse-formatter.xml to comply to our (very few) style preferences.