Skip to content
This repository has been archived by the owner on May 7, 2020. It is now read-only.

Commit

Permalink
Update IDE setup images (#6243)
Browse files Browse the repository at this point in the history
Closes #6225.

Signed-off-by: Henning Treu <henning.treu@telekom.de>
  • Loading branch information
htreu authored and maggu2810 committed Sep 20, 2018
1 parent 1bca717 commit 2dc6353
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions docs/documentation/development/ide.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,25 +13,38 @@ Please ensure that you have the following prerequisites installed on your machin
1. [Oracle JDK 8](http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html)
1. [Python >=2.5](https://www.python.org/downloads/) (to build UIs with npm)

The Eclipse IDE is used for Eclipse SmartHome developments. The Eclipse Installer automatically prepares the IDE so that it comes with all required plug-ins, the correct workspace encoding settings, pre-configured code formatters and more. Simply follow these steps:
The Eclipse IDE is used for Eclipse SmartHome developments.
The Eclipse Installer automatically prepares the IDE so that it comes with all required plug-ins, the correct workspace encoding settings, pre-configured code formatters and more.
Simply follow these steps:

1. Download the [Eclipse Installer](https://wiki.eclipse.org/Eclipse_Installer)

2. Launch the Eclipse Installer and switch to „Advanced Mode“ in the top right menu:
![Step 0](images/ide0.png)

3. Choose the "Eclipse IDE for Java Developers" and select "Next":
![Step 1](images/ide1.png)

4. Expand the "SmartHome" entry, double click "Runtime" and select "Next":
![Step 2](images/ide2.png)

5. Now provide an installation folder and your Github id (used to push your changesets to) and select "Next":
![Step 3](images/ide3.png)

6. The installation will now begin when pressing "Finish".
![Step 4](images/ide4.png)
7. Once it is done, you will see the Eclipse Welcome Screen, which you can close by clicking "Workbench" on the top right. You will see that the installer not only set up an Eclipse IDE instance for you, but also checked out the Eclipse SmartHome git repository and imported all projects into the workspace. Don't worry that you still see error markers at that point, this will be addressed in the next steps.

7. Once it is done, you will see the Eclipse Welcome Screen, which you can close by clicking "Workbench" on the top right.
You will see that the installer not only set up an Eclipse IDE instance for you, but also checked out the Eclipse SmartHome git repository and imported all projects into the workspace.
Don't worry that you still see error markers at that point, this will be addressed in the next steps.
![Step 5](images/ide5.png)

8. Wait until all automatic tasks have been finished (see status field bottom left). After that select "Help->Perform Setup Tasks..." from the menu and click "Finish":
![Step 6](images/ide6.png)

9. Your workspace should now fully compile and you can start the runtime by launching the "SmartHome Runtime" launch configuration:
![Step 8](images/ide8.png)

10. Note: The Paper UI and Basic UI have been built by "Perform Setup Tasks...". It could be necessary to repeat that step after code has been changed. Access the Paper UI at [http://localhost:8080/paperui/index.html](http://localhost:8080/paperui/index.html). For more information about Paper UI see [Paper UI Development](notes.html#paperui-development-jshtml).

Note that you will find the sources in a subfolder called "git" within your selected installation folder. You can use any kind of git client here, if you do not want to use the git support from within the Eclipse IDE.
Expand Down
Binary file modified docs/documentation/development/images/ide0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/documentation/development/images/ide1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/documentation/development/images/ide2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/documentation/development/images/ide3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/documentation/development/images/ide4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/documentation/development/images/ide8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 2dc6353

Please sign in to comment.