The following instructions have been tested and confirmed working with Eclipse Kepler (4.3) and IntelliJ 12.1 on MacOSX.
-
Checkout the project from its repository, for example
git clone [email protected]:istlab/Alitheia-Core.git
-
Do the following
mvn clean install
mvn -DdownloadJavadoc -Ddownloadsources eclipse:eclipse
-
In Eclipse, choose
Import->General->Existing
Projects into Workspace. In the next dialogue, you enter the checkout directory and a list of project modules appears. Here you should select only the modules you will be working with. -
To debug, you run the
debug.sh
script from the top-level directory. This will start Alitheia Core in debug mode; initialisation will stop until an external debug is attached. To attach the eclipse debugger, click on theRun menu->Debug configurations
, then select theRemote Java Application
from the list and click on the new launch configuration button. Add a name click debug. Eclipse will connect to the waiting virtual machine and will stop at any breakpoint you have set in the code.
-
Checkout the project from its repository, for example
git clone [email protected]:istlab/Alitheia-Core.git
-
Do the following
mvn clean install
mvn -DdownloadJavadoc -Ddownloadsources intellij:intellij
-
In IntelliJ, go to
File->Open
project and choose the Alitheia Core top-level directory. Importing will start. -
To debug, create a debug configuration (Run->Debug->Edit Configurations) and then click on + and select Remote. Set port to 8000 and click Debug. Then run the
debug.sh
script on the top-level directory.