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 note about newer Eclipse IDE version #5034

Closed
wants to merge 6 commits into from
Closed
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
29 changes: 29 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,35 @@ mvn -f kura/distrib/pom.xml clean install -DbuildAllContainers
After this command runs, images can be found in your preferred container engine image list.

### Eclipse IDE

> [!WARNING]
> If you DON'T use Oomph Setup, to make Kura work with newer versions of Eclipse you need to make the following changes in your workspace configuration:
Copy link
Contributor

@mattdibi mattdibi Dec 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Which following lines? The content of the XML is not following this statement

> 1. 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>
> ```
> 2. Install the `eclipse-tycho` plugin using the following repository: [m2eclipse-tycho](https://github.com/tesla/m2eclipse-tycho/releases/download/latest/).
> You can install it in the menu Help -> Install new software... -> Paste the repository url in the Work with: -> expand the category and select the `Tycho Project Configurators Feature` and proceed with the installation.
>
> Then restart Eclipse.

The simplest way to start developing on Eclipse Kura is to use an [Eclipse Installer](https://www.eclipse.org/downloads/) based setup. A detailed installation and setup guide is available on the [official documentation](https://eclipse.github.io/kura/docs-develop/java-application-development/development-environment-setup). Here you'll find a brief explaination of the required steps.

To correctly setup the environment, proceed as follows:
Expand Down