config.ini setup for headless eclipse

前端 未结 1 1540
渐次进展
渐次进展 2021-01-24 01:50

From this post, I have this error message when I tried to execute headless eclipse code.

java.lang.RuntimeException: Could not find framework
    at org.eclipse         


        
相关标签:
1条回答
  • 2021-01-24 02:24

    Exporting a product (even a plugin-based product) works much better for providing what you need to get a running RCP application.

    But if you've already created a launch config for your headless app, you can find out exactly what bundles you need and potentially what an config.ini file looks like by looking in <workspace>/.metadata/.plugins/org.eclipse.pde.core/<launch-config.name>. There should be a config.ini that PDE generated to launch your headless app.

    I'd still recommend creating a .product file for your application and exporting that, unless you have a reason not to.

    0 讨论(0)
提交回复
热议问题