Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 329057 - Incorrect manifest error for Lucene
Summary: Incorrect manifest error for Lucene
Status: CLOSED DUPLICATE of bug 259959
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: PDE-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-29 11:28 EDT by John Arthorne CLA
Modified: 2010-11-01 09:01 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Arthorne CLA 2010-10-29 11:28:49 EDT
Build: 3.7 M3

1) Import Lucene and its dependencies from orbit

After it compiles, PDE reports a manifest error in org.apache.lucene on its package exports. However I think this bundle is fine - it is exporting packages that are defined by its imports. At least at runtime OSGi doesn't complain about it and lucene is able to start successfully regardless of the error.

CCing Tom just to confirm that lucene's manifest is legal.
Comment 1 John Arthorne CLA 2010-10-29 11:30:28 EDT
Here are some map file entries to load lucene and prereqs, I'm not sure if it is exhaustive:

<project reference="1.0,:extssh:dev.eclipse.org:/cvsroot/tools,org.eclipse.orbit/org.apache.commons.codec,org.apache.commons.codec,v1_3"/>
<project reference="1.0,:extssh:dev.eclipse.org:/cvsroot/tools,org.eclipse.orbit/org.apache.commons.fileupload,org.apache.commons.fileupload,v1_2"/>
<project reference="1.0,:extssh:dev.eclipse.org:/cvsroot/tools,org.eclipse.orbit/org.apache.commons.io,org.apache.commons.io,v1_4"/>
<project reference="1.0,:extssh:dev.eclipse.org:/cvsroot/tools,org.eclipse.orbit/org.apache.commons.httpclient,org.apache.commons.httpclient,v3_1_0"/>
<project reference="1.0,:extssh:dev.eclipse.org:/cvsroot/tools,org.eclipse.orbit/org.apache.commons.logging,org.apache.commons.logging,v1_0_4"/>

<project reference="1.0,:extssh:dev.eclipse.org:/cvsroot/tools,org.eclipse.orbit/org.apache.lucene,org.apache.lucene,v2_9_1"/>
<project reference="1.0,:extssh:dev.eclipse.org:/cvsroot/tools,org.eclipse.orbit/org.apache.lucene.analysis,org.apache.lucene.analysis,v2_9_1"/>
<project reference="1.0,:extssh:dev.eclipse.org:/cvsroot/tools,org.eclipse.orbit/org.apache.lucene.core,org.apache.lucene.core,v2_9_1"/>
<project reference="1.0,:extssh:dev.eclipse.org:/cvsroot/tools,org.eclipse.orbit/org.apache.lucene.highlighter,org.apache.lucene.highlighter,v2_9_1"/>
<project reference="1.0,:extssh:dev.eclipse.org:/cvsroot/tools,org.eclipse.orbit/org.apache.lucene.memory,org.apache.lucene.memory,v2_9_1"/>
<project reference="1.0,:extssh:dev.eclipse.org:/cvsroot/tools,org.eclipse.orbit/org.apache.lucene.misc,org.apache.lucene.misc,v2_9_1"/>
<project reference="1.0,:extssh:dev.eclipse.org:/cvsroot/tools,org.eclipse.orbit/org.apache.lucene.queries,org.apache.lucene.queries,v2_9_1"/>
<project reference="1.0,:extssh:dev.eclipse.org:/cvsroot/tools,org.eclipse.orbit/org.apache.lucene.snowball,org.apache.lucene.snowball,v2_9_1"/>
<project reference="1.0,:extssh:dev.eclipse.org:/cvsroot/tools,org.eclipse.orbit/org.apache.lucene.spellchecker,org.apache.lucene.spellchecker,v2_9_1"/>
<project reference="1.0,:pserver:dev.eclipse.org:/cvsroot/tools,org.eclipse.orbit/org.slf4j.api,org.slf4j.api,v1_5_11"/>
Comment 2 Thomas Watson CLA 2010-11-01 09:01:48 EDT
Yes this manifest is legal.  Dup'ing to bug 259959.

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