How do I setup dependencies on org.eclipse.rap.ui bundles for single sourcing?
The shared package structure between org.eclipse.ui and org.eclipse.rap.ui bundles requires that dependencies be specified either via package-import or require-bundle in the bundle manifest. When single sourcing using require-bundle, it is necessary to mark the bundles as optional that are specific to either target platform, (e.g., org.eclipse.ui and org.eclipse.rap.ui). When using package-import be cautious of split-packages, see this thread for more info.