I've just added the patch. Sorry it took so long, but I stumbled upon some problems I haven't foreseen.
Notes:
- org.eclipse.core.resources.win32 has been renamed to org.eclipse.core.resources.win32.x86
- LogView is now defined in plugin org.eclipse.ui.views.log
This build patch does not work. There is a problem that I wasn't able to resolve and finally I lost hope. Maybe you guys will look at it with fresh eyes and see something I didn't see.
When you launch workbench on the empty workspace, you get list a exceptions like this in the log (application launches and work though):
!ENTRY org.eclipse.update.configurator 4 0 2008-11-02 09:56:28.703
!MESSAGE Could not install bundle plugins/com.sun.syndication_1.0.0.RC1.jar Bundle "com.sun.syndication" version "1.0.0.RC1" has already been installed from: reference:file:plugins/com.sun.syndication_1.0.0.RC1.jar
Same thing happens when tests are launched. They fail because of some unresolved dependencies, message says:
!ENTRY org.eclipse.osgi 2 0 2008-11-02 09:49:15.468
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2008-11-02 09:49:15.468
!MESSAGE Bundle update@plugins/org.eclipse.ant.optional.junit_3.2.100.jar [132] was not resolved.
!SUBENTRY 2 org.eclipse.ant.optional.junit 2 0 2008-11-02 09:49:15.468
!MESSAGE Constraints from the fragment conflict with the host: Require-Bundle: org.eclipse.core.runtime.compatibility; bundle-version="0.0.0"
!SUBENTRY 2 org.eclipse.ant.optional.junit 2 0 2008-11-02 09:49:15.468
!MESSAGE Constraints from the fragment conflict with the host: Require-Bundle: org.junit; bundle-version="0.0.0"
!SUBENTRY 1 org.eclipse.osgi 2 0 2008-11-02 09:49:15.468
!MESSAGE Bundle update@plugins/org.eclipse.ui.workbench.compatibility_3.2.0.I20080509-2000/ [284] was not resolved.
!SUBENTRY 2 org.eclipse.ui.workbench.compatibility 2 0 2008-11-02 09:49:15.468
!MESSAGE Constraints from the fragment conflict with the host: Require-Bundle: org.eclipse.core.resources; bundle-version="[3.2.0,4.0.0)"
These are not our plugins, I have no idea what's going on.
I worked on this using packages in version 3.4.1.
When trying to build Workbench against 3.4 target platform, I'm getting some strange error as below. Obviously, Workbench runs fine under 3.4 target platform when launched from Eclipse. Any ideas? (hint: the plugin that is supposedly missing is there)
build: [java] Buildfile: d:/dev/java/eclipse/plugins/org.eclipse.pde.build_3.4.0.v20080604/scripts/productBuild/productBuild.xml [java] [java] main: [java] [java] preBuild: [java] [mkdir] Created dir: E:\repositories\sourceforge.net\carrot2-3.0\tmp\workbench\build-dir [java] [java] preSetup: [java] [java] checkLocalMaps: [java] [java] getMapFiles: [java] [concat] No existing resources and no nested text, doing nothing [java] [java] postSetup: [java] [java] fetchBuildFiles: [java] [copy] Copying 625 files to E:\repositories\sourceforge.net\carrot2-3.0\tmp\workbench\build-dir\plugins [java] [copy] Copied 200 empty directories to 1 empty directory under E:\repositories\sourceforge.net\carrot2-3.0\tmp\workbench\build-dir\plugins [java] [copy] Copying 182 files to E:\repositories\sourceforge.net\carrot2-3.0\tmp\workbench\build-dir\plugins [java] [copy] Copied 48 empty directories to 1 empty directory under E:\repositories\sourceforge.net\carrot2-3.0\tmp\workbench\build-dir\plugins [java] [copy] Copying 4 files to E:\repositories\sourceforge.net\carrot2-3.0\tmp\workbench\build-dir\features\org.carrot2.workbench [java] [java] checkLocalBase: [java] [java] getBaseComponents: [java] [java] generateFeature: [java] [java] fetch: [java] [java] generateFeature: [java] [java] generate: [java] [java] preGenerate: [java] [java] allElements: [java] [java] allElementsDelegator: [java] [java] init: [java] [java] generateScript: [java] [java] BUILD FAILED [java] d:\dev\java\eclipse\plugins\org.eclipse.pde.build_3.4.0.v20080604\scripts\productBuild\productBuild.xml:28: The following error occurred while executing this line: [java] D:\dev\java\eclipse\plugins\org.eclipse.pde.build_3.4.0.v20080604\scripts\build.xml:64: The following error occurred while executing this line: [java] E:\repositories\sourceforge.net\carrot2-3.0\workbench\build-conf\customTargets.xml:42: The following error occurred while executing this line: [java] D:\dev\java\eclipse\plugins\org.eclipse.pde.build_3.4.0.v20080604\scripts\productBuild\allElements.xml:9: The following error occurred while executing this line: [java] D:\dev\java\eclipse\plugins\org.eclipse.pde.build_3.4.0.v20080604\scripts\genericTargets.xml:88: Unable to find plug-in: org.eclipse.core.resources.win32_0.0.0. Please check the error log for more details. [java] [java] Total time: 2 seconds BUILD FAILED E:\repositories\sourceforge.net\carrot2-3.0\build-workbench.xml:89: The following error occurred while executing this line: E:\repositories\sourceforge.net\carrot2-3.0\build-workbench.xml:24: Java returned: 13