Dev Environment Setup

In order to develop the LiteracyBridge software projects you need to setup your development environment and download the source code.
Here is a step-by-step guide that helps with the setup:

Download and configure Eclipse

  1. Download Eclipse for RCP/Plug-in Developers from [http://www.eclipse.org/downloads/]
  2. Install the following plugins by using the Help -> Install new software function

Download the source code

  1. In Eclipse, click File -> New -> Project…
  2. Select Maven -> Checkout Maven Projects from SCM and click Next
  3. Select svn in the dropdown list and enter Literacy Bridge's subversion url:
  4. Make sure Check out Head Revision and Check out All projects are both checked
  5. Click Finish

Eclipse now downloads all source code, fetches dependencies using Maven, and creates a separate project for each software module.

Building and starting the ACM project

After making changes in acm-core it is necessary to invoke the Maven build, which compiles and deploys the backend jar file in the UI's lib directory:

  1. Right-click on literacybridge-parent in the Package Explorer in Eclipse
  2. Click Run As -> Maven package
  3. After the build completed expand the acm-ui project in the Package Explorer
  4. Right-click on plugin.xml within the acm-ui project
  5. Click Run As -> Eclipse Application

Note: If you see the following error: "java.lang.UnsatisfiedLinkError: Cannot load 32-bit SWT libraries on 64-bit JVM", you have two options to fix it:
* Right-click on plugin.xml and click Run As -> Run Configurations…, go to the Arguments tab, and add -d32 to the VM arguments textbox
* Or: download the 64bit version of Eclipse for RCP/Plug-in Developers and repeat all steps of this guide