Community
Participate
Working Groups
Error log: Bundle org.eclipse.datatools.sqltools.result_0.0.0 failed to resolve.: Unsatisfied import package org.apache.lucene.analysis_[1.9.0,3.0.0). Unsatisfied import package org.apache.lucene.analysis.standard_[1.9.0,3.0.0). Unsatisfied import package org.apache.lucene.document_[1.9.0,3.0.0). Unsatisfied import package org.apache.lucene.index_[1.9.0,3.0.0). Unsatisfied import package org.apache.lucene.queryParser_[1.9.0,3.0.0). Unsatisfied import package org.apache.lucene.search_[1.9.0,3.0.0). Unsatisfied import package org.apache.lucene.store_[1.9.0,3.0.0). Can also refer to build.log for details: http://www.eclipse.org/downloads/download.php?file=/datatools/downloads/drops/N_DTP_1.9/build.log
I'm trying to fix bug 333514, so I replaced the Require-Bundle of org.apache.lucene in the MANIFEST.MF of org.eclipse.datatools.sqltools.result with a set of Import-Package statements. Following good OSGi practice, I included version ranges on the Import-Package statements. However, it turns out that while Lucene 2.9.1 has package versions, Lucene 1.9.1 does not. I made the mistake of building with Eclipse 3.7 (Lucene 2.9.1) instead of Eclipse 3.6.1, so I didn't catch the error. I'll remove the package version ranges from the Import-Package statements. Unfortunately this leaves us exposed to a potential future problem in that Lucene can change again with a major (breaking) version change without us being aware of it.
Checked in fix. See bug 333514.
Verified in DTP 1.9.0 v20110116-1352