Summary: | Reconciliation is processing non-existent features | ||
---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Vlad Klicnik <klicnik> |
Component: | Update (deprecated - use Eclipse>Equinox>p2) | Assignee: | Christophe Elek <celek> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | major | ||
Priority: | P1 | ||
Version: | 2.0 | ||
Target Milestone: | 2.0 M6 | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: |
Description
Vlad Klicnik
2002-05-20 09:16:04 EDT
When the plugin registry is loaded, the code makes a check for plugin.xml/ feature.xml as follows: InputStream is = null; try { is = manifest.openStream(); } catch (IOException e) { if (debug) debug("No plugin found for: " + manifest); return null; } // parse the xml file by passing it the stream // close the stream We need to do something similar .... ie. need to distinguish missing xml file from inability to parse. Changed code in SiteFileParser to check for existence of feature.xml in directory. Checked scenario, the workspace opens but doesn't prompt the user fora new feature. The delat XML file is not created. The log shows the warning: !MESSAGE Install/Update WARNING:Unable to find feature.xml in directory:C:\SDK 0515\eclipse\features\org.eclipse.jdt_2.0.1 |