Replaced arrows, revised step 1

This commit is contained in:
Tyler Gebhard
2014-10-27 04:47:30 -04:00
parent 43e3469e63
commit d3ca301675

View File

@@ -61,19 +61,19 @@ Local development
Steps to configuring a development environment for CommaFeed may include, but may not be limited to:
1. git clone https://github.com/Athou/CommaFeed into some folder to get the project files.
1. `git clone https://github.com/Athou/CommaFeed` into some folder to get the project files.
2. Install Eclipse Luna (or latest) from http://www.eclipse.org/downloads/packages/eclipse-ide-java-developers/lunasr1 or your repo if available.
3. In Eclipse, Window -> Preferences -> Maven -> Annotation Processing
3. In Eclipse, Window Preferences Maven Annotation Processing
Check "Automatically configure JDT APT"
* You may have to install the m2e-apt connector to have "Annotation Processing" as an option. Do so from Window -> Preferences -> Maven -> Discovery -> Open Catalog -> type "m2e-apt" in the search box
* You may have to install the m2e-apt connector to have "Annotation Processing" as an option. Do so from Window Preferences Maven Discovery Open Catalog type "m2e-apt" in the search box
* If you have installed Eclipse EE instead of Luna, you may have trouble installing m2e-apt
4. Install Lombok into Eclipse from http://projectlombok.org/download.html
* You may have to run `java -jar lombok.jar` as an administrator if your eclipse installation is not in your home folder
5. In Eclipse, File -> Import -> Maven -> Existing Maven Projects
5. In Eclipse, File Import Maven Existing Maven Projects
Navigate to where you cloned the CommaFeed files into, and select that as the root directory. Click Finish.
* You may notice some errors along the lines of "Plugin execution not covered by lifecycle configuration". These are inconsequential.
6. Find the file "CommaFeedApplication.java" under the navigation pane.
7. Right click it to bring up the context menu -> Debug as... -> Debug Configurations
7. Right click it to bring up the context menu Debug as... Debug Configurations
8. Type `server config.dev.yml` under "Program arguments" in the "Arguments" tab for the Java Application setting "CommaFeedApplication"
9. Apply and hit "Debug"
10. The debugger is now working. To connect to it, open a terminal (or command prompt) and navigate to the directory where you cloned the CommaFeed files.