This repository has been archived by the owner on Nov 19, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master'
- Loading branch information
Showing
6 changed files
with
93 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,49 @@ | ||
## Working with IDEs | ||
|
||
The following instructions have been tested and confirmed working | ||
The following instructions have been tested and confirmed working | ||
with Eclipse Kepler (4.3) and IntelliJ 12.1 on MacOSX. | ||
|
||
### Eclipse | ||
1. Checkout the project from its repository, for example | ||
|
||
```git clone [email protected]:istlab/Alitheia-Core.git``` | ||
|
||
2. Do the following | ||
``` | ||
`git clone [email protected]:istlab/Alitheia-Core.git` | ||
|
||
2. Do the following | ||
```bash | ||
mvn clean install | ||
mvn -DdownloadJavadoc -Ddownloadsources eclipse:eclipse | ||
``` | ||
``` | ||
|
||
3. In Eclipse, choose Import->General->Existing Projects into Workspace. | ||
3. 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. | ||
|
||
4. To debug, you run the debug.sh script from the top-level directory. This | ||
4. 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 the | ||
Run menu->Debug configurations, then select the Remote Java Application from | ||
`Run menu->Debug configurations`, then select the `Remote 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. | ||
|
||
### IntelliJ | ||
|
||
1. Checkout the project from its repository, for example | ||
```git clone [email protected]:istlab/Alitheia-Core.git``` | ||
|
||
2. Do the following | ||
``` | ||
`git clone [email protected]:istlab/Alitheia-Core.git` | ||
|
||
2. Do the following | ||
|
||
```bash | ||
mvn clean install | ||
mvn -DdownloadJavadoc -Ddownloadsources intellij:intellij | ||
``` | ||
3. In IntelliJ, go to File->Open project and choose the Alitheia Core top-level | ||
``` | ||
|
||
3. In IntelliJ, go to `File->Open` project and choose the Alitheia Core top-level | ||
directory. Importing will start. | ||
|
||
4. 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. | ||
the `debug.sh` script on the top-level directory. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ooss/admin/test/AdminServiceImplTest.java → ...ooss/admin/test/AdminServiceImplTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package eu.sqoooss.admin.test; | ||
package eu.sqooss.admin.test; | ||
|
||
import static org.junit.Assert.*; | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
.../eu/sqoooss/admin/test/FailingAction.java → ...a/eu/sqooss/admin/test/FailingAction.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package eu.sqoooss.admin.test; | ||
package eu.sqooss.admin.test; | ||
|
||
import eu.sqooss.service.admin.AdminActionBase; | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
.../sqoooss/admin/test/SucceedingAction.java → ...u/sqooss/admin/test/SucceedingAction.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package eu.sqoooss.admin.test; | ||
package eu.sqooss.admin.test; | ||
|
||
import eu.sqooss.service.admin.AdminActionBase; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters