Skip to content

Commit

Permalink
docs: Added required steps for the Eclipse workspace [backport docs-r…
Browse files Browse the repository at this point in the history
…elease-5.4] (#5064)
  • Loading branch information
mattdibi authored Dec 13, 2023
1 parent 9b0f604 commit df67eda
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions docs/java-application-development/development-environment-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,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://eclipse.dev/kura/downloads.php).
Expand Down

0 comments on commit df67eda

Please sign in to comment.