Sunday, August 19, 2012

Carrot2 + eClipse


!SESSION Sun Aug 19 09:02:32 PDT 2012 ------------------------------------------
!ENTRY org.eclipse.equinox.launcher 4 0 2012-08-19 09:02:32.341
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.ClassNotFoundException: org.eclipse.core.runtime.adaptor.EclipseStarter
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:626)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1414)



Check jar files in your project which are mentioned in config.ini if not proper then install manually and then follow the following steps:
  1. Select your product configuration file, right-click on it and select Run As Run Configurations
  2. Select "Validate plug-ins prior to launching". This will check if you have all required plug-ins in your run configuration. If this check reports that some plug-ins are missing, try clicking the "Add Required-Plug-Ins" button. Also make sure to define all dependencies in your product. And your application start running
It turns out eClipse default only around 10 plugin selected, once click on "Select All". The Carrot2 WorkBench should be able to be built. 
 
A couple of links: 
1. Eclipse download: http://www.eclipse.org/downloads/
2. Target Platform download: http://www.eclipse.org/downloads/
place target platform into  C:\Projects\Carrot2\Source\workbench\org.carrot2.workbench.target
where subfolder has eclipse version (3.5 or 3.6.2)


No comments:

Post a Comment