Bug 107602 - [Intro] NL fragments can cause missing images in jarred Intro plugins
Summary: [Intro] NL fragments can cause missing images in jarred Intro plugins
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: User Assistance (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1.1   Edit
Assignee: Mazen Faraj CLA Friend
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 107374
Blocks:
  Show dependency tree
 
Reported: 2005-08-22 10:17 EDT by Mazen Faraj CLA Friend
Modified: 2005-10-03 11:47 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 Mazen Faraj CLA Friend 2005-08-22 10:17:52 EDT
NL support is intro has a bug that appears when plugins that have intro comtent 
are jarred.
when a plugin that contains intro content is jarred, the intro code extracts 
all resources from the directory that contains that intro content file. (The 
assumption is that all resources must be relative to the intro content file and 
so extracting the parent folder is sufficient to expose all resource to the SWT 
browser on the file system).
However, when there is an NL fragment for the jarred intro plugin, the 
extraction code in intro is not sufficient to extract all resources. What is 
happening is that resources from under the fragment are being extracted but the 
original host plugin reousrces are not. This is bad because "delta" resources 
(eg: images and CSS files) can not be dropped in NL fragments. All resources 
need to be copied to the NL fragment to work around this problem.  

Currently, the runtime apis do not have convenience/util apis that return a 
list of URLs that represent a given folder (or IPath) when multiple matches are 
found. The Runtime team supplied a workaround in bug 107374 (btw, that runtime 
team). 

Intro component will use this workaround for 3.1.1. In 3.2, the runtime team 
might posibly include these apis and make them public.
Comment 1 Mazen Faraj CLA Friend 2005-08-22 10:35:16 EDT
Runtime workaround in bug 107374 is released in intro R3_1_maintanence stream.
Map file will be updated today after more testing.  
Comment 2 Mazen Faraj CLA Friend 2005-08-22 17:31:50 EDT
map file updated and released. 
Tested on Linux.
Comment 3 Mazen Faraj CLA Friend 2005-09-28 12:28:05 EDT
verified on eclipse-SDK-M20050923-1430-win32.zip with the following IES NL 
fragments: 
  
NLpack1_FeatureOverlay-eclipse-SDK-M20050923-1430.zip
NLpack1-eclipse-SDK-M20050923-1430-win32.zip
NLpack2_FeatureOverlay-eclipse-SDK-M20050923-1430.zip
NLpack2-eclipse-SDK-M20050923-1430-win32.zip
NLpackBidi_FeatureOverlay-eclipse-SDK-M20050923-1430.zip
NLpackBidi-eclipse-SDK-M20050923-1430-win32.zip