문제

I am using Eclipse Galileo. I am learning Eclipse RCP and doing some examples from a book. Recently my Eclipse Galileo updated and some updated bundles arrived. I have the following problem which totally prevents me from exporting an Eclipse RCP product via the wizard. While exporting a product I get the following error:

alt text http://img12.imageshack.us/img12/1091/eclipseexportproduct.png

I don't understand how can I fix it..

PS. I fully read the OSGi R4 specification (v 4.1) and some of the compendium chapters. I am also familiar with Equinox since I read another book on pure OSGi development.

Thank you.

도움이 되었습니까?

해결책

The closest I have found from your error message is this thread, with this answer:

Is your target defined as an "installation" of ${eclipse_home}?
In this case the p2 profile is queried to determine what bundles are present in your host.
I would only expect one version of a bundle to be installed in your host.

That is why some PDE development settings would advise to remove that ${eclipse_home} from the location of the runtime environment. See for instance Corona

Step 5: Define Workspace Target Platform
Each Plug-in Development Workspace can be configured for a specific target platform.

  • Open the team.corona/runtime/CoronaDevelopmentRuntime.target file
  • In Location, remove the two items:
${eclipse_home}
http://download.eclipse.org/eclipse/updates/3.5
  • Click Add
  • Select Directory and click Next
  • In Location browse to team.corona\runtime\generated\corona\eclipse
  • Click Finish
  • Click on Set as Target Platform link on the Top Right corner.
  • Save the file and close it.
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top