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

Bug 232269

Summary: Pre-installed packages are not installed. And cannot be either
Product: [Technology] EPP Reporter: Kristoffer Peterhänsel <kristoffer>
Component: jee-packageAssignee: Project Inbox <epp.packager-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: david_williams, mknauer, pascal
Version: 1.0.2   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Kristoffer Peterhänsel CLA 2008-05-15 06:37:25 EDT
Build ID: I20080502-0100

Steps To Reproduce:
1. Download a package from http://phoenix.eclipse.org/packages/ (I used the JEE one)
2. Unpack it and fire it up
3. Check that only the Eclipse Platform is installed in p2 software update window
4. See that there is no option to install the plugins locally.

More information:
It seems that p2 does not register features and plugins that are part of the initial installation.

While it could be argued that the pre-packaged stuff should be placed in the dropins folder. It seems rather odd that you cannot even tell p2 to install the packages. But all the relevant update sites are listed.

The 'Installed Software' tab in the 'Software Updates' only shows 'Eclipse Platform'. And the 'Feature Details' button in the 'About Eclipse Platform' dialog only shows 'Eclipse Platform', 'Eclipse RCP' and 'Help System Core'. But the features and plugins folders have all the stuff from the usual JEE distribution.
Comment 1 Markus Knauer CLA 2008-05-15 07:39:34 EDT
Just one question: Did you rename the 'eclipse' directory to something else before starting the Eclipse package for the first time?

If so then this is a known bug (see e.g. bug 231974 or bug bug 231178).
Comment 2 Pascal Rapicault CLA 2008-05-15 09:55:14 EDT
Which package did you dl?
Comment 3 Kristoffer Peterhänsel CLA 2008-05-15 10:32:14 EDT
(In reply to comment #1)
> Just one question: Did you rename the 'eclipse' directory to something else
> before starting the Eclipse package for the first time?
> 
> If so then this is a known bug (see e.g. bug 231974 or bug bug 231178).

Ahhhh yes, I did. That might be it. I didn't think about that. Just got tired of having two dirs to work though so I renamed the eclipse folder instead of making one to store it in.

(In reply to comment #2)
> Which package did you dl?

The JEE one aka 'Eclipse IDE for Java EE Developers' (I said so in the initial post :p )

Comment 4 Kristoffer Peterhänsel CLA 2008-05-16 04:10:40 EDT
That seems, indeed, to be the case. If I keep the eclipse folder it seems to work. Minor annoyance is that there seems to then be two of every update site. But that is a separate matter.
Comment 5 John Arthorne CLA 2008-05-16 09:20:41 EDT
Markus, are the EPP packages still assembled by just unzipping over the platform? This would explain the behaviour he sees where the features don't appear in the installed software list. This list only shows software that was installed using p2 UI or p2 director application.
Comment 6 Markus Knauer CLA 2008-05-16 11:45:19 EDT
(In reply to comment #5)
It is not (yet) a p2 operation, they are still assembled with the help of the PDE packager. This is not really 'unzipping', but from your point of view very similar.

The errors we are talking about here are caused by two problems: The way EPP builds the packages AND the hard coded path 'eclipse' that is mentioned in another bug.
Comment 7 David Williams CLA 2009-05-15 02:30:53 EDT
I'm marking as 'wontfix' since reported against Ganymede, and we won't be changing Ganymede. 

But, I _think_ Galileo should work more like you expect, as we are moving to pure P2 operations. 

Please test early, test often. :) 

Thank you for reporting.