specs-java-libs
Java libraries created or extended (-Plus suffix) by SPeCS research group
Configuring Eclipse
- Create an Eclipse workspace on a folder outside of the repository. The workspace is local and should not be shared.
- Import the configurations in the folder
SupportJavaLibs/configs/
- Go to Window > Preferences
- Go to Java > Code Style > Code Templates, press "Import" and choose "codetemplates.xml"
- Go to Java > Code Style > Formatter, press "Import" and choose "java_code_formatter.xml".
- Still in Java > Code Style > Formatter, choose "Java Conventions [built-in] - SPeCS" from the "Active profile:" dropdown.
- Go to Java > Code Style > Clean Up, choose "Import" and then select "cleanup.xml" and then click "Ok".
- Go to Java > Build Path > User Libraries, choose "Import" and then press "Browse...". Select "repo.userlibraries" and then click "OK" (the file is in the root of the repository).
- Import the projects you want to.
- For certain projects, you might need to install additional Eclipse plugins (how to install Eclipse plugins using update site links), it is recommended that you install the plugins and restart Eclipse before importing the projects. Currently, the used plugins are:
- Import projects from Git. Select "Import...->Git->Projects from Git->Existing Local Repository. Here you add the repository, by selecting the folder where you cloned this repository. The default option is "Import Eclipse Projects", do next, and choose the projects you want to import.
Installing Eclipse plugins using update site links
- Go to Help > Install New Software...
- Click "Add..."
- Choose a name (e.g., JavaCC), add the location of the plugin (e.g., http://eclipse-javacc.sourceforge.net/) and click "Add"
- The entry should now appear in the "Work with:" dropdown, choose the plugin
- Check the boxes that appear in the area below "Work with", click "Next" and follow the instructions