Documentation - Fixes and add images

This commit is contained in:
Jose Luis Osorno 2019-01-09 12:18:13 +01:00
parent 3b0c2ddc9b
commit 067473669b
7 changed files with 22 additions and 4 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

View File

@ -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._ _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. 5. Select `Help > JRebel > Configuration > Remote servers` to add a new remote server.
6. Select `Help > JRebel > Configuration > Projects` to configure the Alfresco project, and choose to use JRebel (locally) for all of your project and 6. Give a descriptive name to the new server and set the `Server URL` as `http://localhost:8080/alfresco`.
sub-projects.
![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 ## 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. 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. 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`. 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 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). 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 ## 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 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`. 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") ![Alt text](./imgs/sdk-hellofromjava.png?raw=true "Hello World webscript original result")