I want to build an RCP Application with Maven and Tycho but then I should make my Target Platform wich is only a folder in the file-system to a p2 repository.
To generate the p2 I createt a new workspace, set the target platform and followed this tutorial: nirmalsasidharan .wordpress.com/2010/10/09/provisioning-your-target-platform-as-local-p2-site/
Eclipse generates me a p2 repository and all seems fine but when I want to set this generated p2 as target platform in eclipse it fails. Eclipse says that "org.eclipse.swtbot.eclipse.finder" requieres 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 managed it somehow to get the jdk in this p2.
Can you please help me with this issue? Can't find any information witch can help.