Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 344766

Summary: BPEL Editor missing prereqs when installed on Eclipse platform runtime binary
Product: z_Archived Reporter: Nick Boldt <nboldt>
Component: BPELAssignee: Robert Brodt <bbrodt>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Screenshot-Eclipse-BPEL1.png
none
installed.eclipse.bpel.05.txt
none
Screenshot-Eclipse-BPEL2-wizards-avail-JDK6.png none

Description Nick Boldt CLA 2011-05-04 17:19:49 EDT
Created attachment 194770 [details]
Screenshot-Eclipse-BPEL1.png

1. download eclipse-platform-3.6.2-linux-gtk.tar.gz [1] ; unpack into fresh dir and point eclipse at fresh workspace.

[1] http://download.eclipse.org/eclipse/downloads/drops/R-3.6.2-201102101200/index.php#PlatformRuntime

#!/bin/bash

workspace=/home/nboldt/eclipse/workspace-clean36
target=/home/nboldt/eclipse/36clean

eclipse=eclipse-platform-3.6.2-linux-gtk.tar.gz

if [[ $1 ]]; then
  echo "Wipe $target/eclipse and $workspace ..."
  rm -fr $target/eclipse $workspace
  echo "Unpack $eclipse ..."
  tar xzf $eclipse
fi

export GDK_NATIVE_WINDOWS=true
./eclipse/eclipse -clean -showLocation -data $workspace -consolelog -console -vm /opt/jdk1.5.0_19/bin/java -vmargs -Xms128M -Xmx256M -XX:PermSize=128M -XX:MaxPermSize=256M 2>&1 | tee "logs/eclipse.log.`date`.txt"

2. Help > Install New Software, then add these URLs to Eclipse:

a) http://download.jboss.org/jbosstools/updates/helios/ (to provide dependencies)
   AND
b) http://download.eclipse.org/technology/bpel/update-site (to provide latest stable Eclipse BPEL Editor 0.5)
   OR, use stable released milestone
c) https://hudson.eclipse.org/hudson/job/bpel-0.5/ws/site/target/site/ (to provide latest nightly of Eclipse BPEL Editor 0.5)

3. Next, install only the BPEL editor feature(s):

(see Screenshot-Eclipse-BPEL1.png)

4. After install, disk footprint for Eclipse BPEL 0.5 (including source feature) is only 141M.

There is no wizard under File > New > Other (CTRL-N) which matches the pattern "BPEL" in its name.

This says that something on which the wizard(s) depend has not been installed, because BPEL does not declare its dependency on it.

Solution:

    * fix BPEL plugin manifests to define all needed upstream plugins from Eclipse platform, WTP, DTP, GMF, EMF, etc.
      OR
    * fix BPEL feature manifest to define all needed upstream features/plugins from Eclipse platform, WTP, DTP, etc.
Comment 1 Nick Boldt CLA 2011-05-04 17:20:41 EDT
Created attachment 194771 [details]
installed.eclipse.bpel.05.txt

Attached, see log of what gets installed into Eclipse platform runtime binary (http://download.eclipse.org/eclipse/downloads/drops/R-3.6.2-201102101200/index.php#PlatformRuntime) and screenshot showing which feature is selected to install.
Comment 2 Nick Boldt CLA 2011-05-04 17:21:15 EDT
See also similar issue https://issues.jboss.org/browse/JBIDE-8853 for other fork of BPEL editor in JBoss Tools.
Comment 3 Nick Boldt CLA 2011-05-04 17:56:29 EDT
Created attachment 194775 [details]
Screenshot-Eclipse-BPEL2-wizards-avail-JDK6.png

Wow, that's embarrassing. 

Apparently if I run w/ JDK6, all three wizards appear. If I run with JDK5, none do. So... not a prereq issue at all, but a "don't use JDK5!" issue.
Comment 4 Robert Brodt CLA 2011-06-14 12:26:11 EDT
Added feature req'mts for missing WST plugins.