Tycho and Eclipse: How to resolve OSGI dependencies to my own bundles at development time within Eclipse, without opening all of them in the IDE

后端 未结 2 1741
天涯浪人
天涯浪人 2020-12-25 08:25

Background

My Eclipse RCP application is built using Tycho. It consists of multiple components (in the form of OSGi bundles/Eclipse plug-ins). One of these compon

2条回答
  •  悲&欢浪女
    2020-12-25 09:20

    As indicated by Nick Wilson, you will need to install the m2e Tycho Configurator, which basically "links up" Eclipse and Tycho (i.e., makes Tycho available in Eclipse).

    You should've been pointed towards it after having installed m2e, but you can also install it manually:

    1. Go to Window > Preferences > Maven > Discovery.

    2. Click the "Open Catalog" button. This will open the "m2e Marketplace" window.

    3. Search for "tycho", this should give you the "Tycho Configurator" as sole search result.

    4. Click "Finish", you're done.

    I've had this issue as well, and it isn't simple to find the solution, so I hope this helps!

提交回复
热议问题