Bug 98647 - Launching Eclipse Application fails due to invalid platform.xml
Summary: Launching Eclipse Application fails due to invalid platform.xml
Status: RESOLVED DUPLICATE of bug 97148
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: PDE-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-07 06:22 EDT by Markus Schorn CLA
Modified: 2005-06-07 06:35 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Schorn CLA 2005-06-07 06:22:25 EDT
I use an installation of eclipse31-rc1 (c:/programs/eclipse31/eclipse)
a workspace containing a self written plugin (c:/dev/views/wb/vob/plugins/plg)
another installation of eclipse (c:/dev/views/wb/eclipse) which I use as my 
TargetPlatform.

When launching an eclipse application with my plugin, PDE creates the file
'platform.xml' in the 
folder '.metadata/org.eclipse.pde.core/launch/org.eclipse.update'. In there is 
the specification for the workspace plugins:
<site enabled="true" list="plugins/plg/" policy="USER-INCLUDE" 
updateable="true" url="file:../../../dev/views/wb/vob/">
</site>

Note that the url of the site is given relative to the site-url of eclipse 
hosting the launch. The eclipse application that is started tries to resolve 
this URL and makes it absolute by means of its site-url (which is the one of 
the target-platform), resulting in:
'c:/dev/dev/views/wb/vob/'

This directory does not exist, so my plugin does not get loaded :-(.
Comment 1 Wassim Melhem CLA 2005-06-07 06:35:49 EDT

*** This bug has been marked as a duplicate of 97148 ***