I want to build an RCP application with Maven and Tycho. For this I need to change my target platform which is only a folder in the file-system to a p2 repository. To generate the p2 repository I created a new workspace, set the target platform and followed this tutorial.
Eclipse generates a p2 repository for me and all seems fine, but when I want to set this generated p2 repository as target platform in Eclipse it fails. Eclipse says that org.eclipse.swtbot.eclipse.finder
requires the package javax.swing.text
.
I searched a bit and found out that javax.swing.text
is a part from the JDK, and some people somehow managed to get the JDK into the p2 repository.
How can I to satisfy this dependency and make the target resolution pass?