Bug 162717

Summary: Minimal headless eclipse environment
Product: [Eclipse Project] JDT Reporter: Bogdan Gohr <bogdan.gohr>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: VERIFIED WORKSFORME QA Contact:
Severity: minor    
Priority: P3 CC: Olivier_Thomann, remy.suen
Version: 3.2.1   
Target Milestone: 3.6 M1   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Bogdan Gohr CLA 2006-10-30 01:27:19 EST
I am using the JavaCodeFormatter in an ANT task. It may also be helpfull to document how to create a minimal headless eclipse environment for this feature. I have created one that needs 10.174.729 Bytes for eclipse 3.2.1 to run the JavaDocFormatter. I removing all unnecessary plungins with the trail & error strategy :-(

Are there any links for this issue?
Is there a simpler way to create a minimal headless eclipse environment.

I use this jars:

startup.jar
plugins
  com.ibm.icu_3.4.5.jar
  org.eclipse.core.commands_3.2.0.I20060605-1400.jar
  org.eclipse.core.contenttype_3.2.0.v20060603.jar
  org.eclipse.core.expressions_3.2.1.r321_v20060721.jar
  org.eclipse.core.filesystem_1.0.0.v20060603.jar
  org.eclipse.core.jobs_3.2.0.v20060603.jar
  org.eclipse.core.resources_3.2.1.R32x_v20060914.jar
  org.eclipse.core.runtime.compatibility_3.1.100.v20060603.jar
  org.eclipse.core.runtime_3.2.0.v20060603.jar
  org.eclipse.equinox.common_3.2.0.v20060603.jar
  org.eclipse.equinox.preferences_3.2.1.R32x_v20060717.jar
  org.eclipse.equinox.registry_3.2.1.R32x_v20060814.jar
  org.eclipse.jdt.core_3.2.1.v_677_R32x.jar
  org.eclipse.osgi_3.2.1.R32x_v20060919.jar
  org.eclipse.text_3.2.0.v20060605-1400.jar
  org.eclipse.update.configurator_3.2.1.v20092006.jar

Thanks.
Comment 1 Alex Blewitt CLA 2006-10-30 06:44:27 EST
An easy way to find out what's needed is to create an empty launch configuration for a PDE runtime, and then select 'org.eclipse.jdt.core'. Then click on 'add required', and it will tick every plugin that you need ...

I'm not sure whether it will also select optional ones, or just mandatory ones though. I'd imagine just mandatory ones.

Alex.
Comment 2 Olivier Thomann CLA 2009-06-25 15:13:54 EDT
Alex's suggestion is fine.
Closing as WORKSFORME.
Comment 3 Frederic Fusier CLA 2009-08-03 08:50:05 EDT
Verified for 3.6M1