diff --git a/docs/imgs/sdk-jrebel-eclipse-projects.png b/docs/imgs/sdk-jrebel-eclipse-projects.png new file mode 100644 index 00000000..445530e4 Binary files /dev/null and b/docs/imgs/sdk-jrebel-eclipse-projects.png differ diff --git a/docs/imgs/sdk-jrebel-eclipse-server.png b/docs/imgs/sdk-jrebel-eclipse-server.png new file mode 100644 index 00000000..8137e3b3 Binary files /dev/null and b/docs/imgs/sdk-jrebel-eclipse-server.png differ diff --git a/docs/imgs/sdk-jrebel-eclipse-servers.png b/docs/imgs/sdk-jrebel-eclipse-servers.png new file mode 100644 index 00000000..1619a96a Binary files /dev/null and b/docs/imgs/sdk-jrebel-eclipse-servers.png differ diff --git a/docs/imgs/sdk-jrebel-intellij-projects.png b/docs/imgs/sdk-jrebel-intellij-projects.png new file mode 100644 index 00000000..63f995fc Binary files /dev/null and b/docs/imgs/sdk-jrebel-intellij-projects.png differ diff --git a/docs/imgs/sdk-jrebel-intellij-server.png b/docs/imgs/sdk-jrebel-intellij-server.png new file mode 100644 index 00000000..8bd85354 Binary files /dev/null and b/docs/imgs/sdk-jrebel-intellij-server.png differ diff --git a/docs/imgs/sdk-jrebel-intellij-servers.png b/docs/imgs/sdk-jrebel-intellij-servers.png new file mode 100644 index 00000000..13bc8994 Binary files /dev/null and b/docs/imgs/sdk-jrebel-intellij-servers.png differ diff --git a/docs/jrebel.md b/docs/jrebel.md index 08c36972..ce3d8121 100644 --- a/docs/jrebel.md +++ b/docs/jrebel.md @@ -27,9 +27,19 @@ _Note that a license is required. In this step you will be able to request a tri _Note that a license is required. In this step you will be able to request a trial license._ -5. Select `Help > JRebel > Configuration > Startup` to configure your installation, and choose Run via IDE. -6. Select `Help > JRebel > Configuration > Projects` to configure the Alfresco project, and choose to use JRebel (locally) for all of your project and -sub-projects. +5. Select `Help > JRebel > Configuration > Remote servers` to add a new remote server. +6. Give a descriptive name to the new server and set the `Server URL` as `http://localhost:8080/alfresco`. + +![Alt text](./imgs/sdk-jrebel-eclipse-server.png?raw=true "Eclipse JRebel remote server configuration") + +7. Select the checkbox to enable the server synchronisation and the checkbox to `Synchronise on build`. + +![Alt text](./imgs/sdk-jrebel-eclipse-servers.png?raw=true "Eclipse JRebel remote servers synchronisation") + +8. Select `Help > JRebel > Configuration > Projects` and select the checkbox to enable JRebel and the remote server support for required projects (the complete +project in case of the Platform Jar archetype or the `PROJECT_ARTIFACT_ID-platform-jar` and `integration-tests` modules in case of the All-In-One archetype). + +![Alt text](./imgs/sdk-jrebel-eclipse-projects.png?raw=true "Eclipse JRebel projects configuration") ## Installing JRebel using IntelliJ IDEA @@ -42,10 +52,18 @@ _Note that a license is required. In this step you will be able to request a tri 5. Select `Preferences > JRebel > Remote Servers` to add a new remote server. 6. Give a descriptive name to the new server and set the `Server URL` as `http://localhost:8080/alfresco. + +![Alt text](./imgs/sdk-jrebel-intellij-server.png?raw=true "Eclipse JRebel remote server configuration") + 7. Select the checkbox to enable the server synchronisation and the checkbox to `Synchronise on build`. + +![Alt text](./imgs/sdk-jrebel-intellij-servers.png?raw=true "Eclipse JRebel remote server configuration") + 8. Open the JRebel Panel and select the checkbox to enable JRebel and the remote server support for required projects (the complete project in case of the Platform Jar archetype or the `PROJECT_ARTIFACT_ID-platform-jar` and `integration-tests` modules in case of the All-In-One archetype). +![Alt text](./imgs/sdk-jrebel-intellij-projects.png?raw=true "Eclipse JRebel projects configuration") + ## Configuring JRebel in the project By default, JRebel is not set up in the projects generated making use of the Alfresco SDK archetypes. So, in order to enable it, you'll need to follow the next @@ -117,7 +135,7 @@ You'll recognize JRebel is working when you see similar log messages: 2. Before making any changes, let's run the sample webscript by opening your browser and typing `http://localhost:8080/alfresco/s/sample/helloworld`. -This is a sample webscript generated in every project created using SDK 3.0 and the platform artifact. +This is a sample webscript generated in every project created using SDK 4.0 and the platform artifact. ![Alt text](./imgs/sdk-hellofromjava.png?raw=true "Hello World webscript original result")