Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Added required steps for the Eclipse workspace #5049

Merged
merged 1 commit into from
Dec 7, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ Before installing Eclipse, you should choose directory locations for the Eclipse
Once Eclipse is installed and workspaces are created, they should never be moved to another location in the file system. <br />
- There may be multiple installs of Eclipse (of different or similar versions), and single instances of each install can be run simultaneously; but there should never be more that one instance of a specific install running at the same time (to avoid corruption to the Eclipse environment). <br />
- Each workspace should be used with only one Eclipse install. You should avoid opening the workspace from more than one installation of Eclipse. <br />
- For the purposes of this guide, only a single Eclipse installation will be covered.

Download the current distribution of Eclipse for your OS from [Eclipse official website](https://www.eclipse.org/downloads/packages/). Choose the **Eclipse IDE for Eclipse Committers**.

Expand Down Expand Up @@ -72,6 +71,32 @@ After the new workspace opens, click the Workbench icon to display the developme

![Workspace](./images/development-environment-setup/image4.png)

!!! info
Additional workspace configuration:

- In the Eclipse workspace modify the lifecycle mapping by adding these XML lines to the `lifecycle-mapping-metadata.xml` in Kura workspace.
You can find the file in the Windows -> Preferences -> Maven -> Lifecycle Mappings -> Open workspace lifecycle mappings metadata.
After editing the file, reload it by pressing the "Reload workspace lifecycle mappings metadata" button.
```xml
<?xml version="1.0" encoding="UTF-8"?>
<lifecycleMappingMetadata>
<lifecycleMappingFilters>
<lifecycleMappingFilter>
<symbolicName>org.eclipse.m2e.pde.connector</symbolicName>
<versionRange>[2.1.2,)</versionRange>
<packagingTypes>
<packagingType>eclipse-test-plugin</packagingType>
<packagingType>eclipse-plugin</packagingType>
<packagingType>eclipse-feature</packagingType>
</packagingTypes>
</lifecycleMappingFilter>
</lifecycleMappingFilters>
</lifecycleMappingMetadata>
```
- Install the `eclipse-tycho` plugin following this steps:
1. Menu Help -> Install new software... -> Paste the [m2eclipse-tycho repository URL](https://github.com/tesla/m2eclipse-tycho/releases/download/latest/) in the `Work with:` text field -> expand the category and select the `Tycho Project Configurators Feature` and proceed with the installation.
2. Then restart Eclipse.

### Importing the Kura User Workspace

To set up your Kura project workspace, you will need to download the Kura User Workspace archive from [Eclipse Kura Download Page](https://websites.eclipseprojects.io/kura/downloads.php).
Expand Down
Loading