| Summary: | Build errors found in Today's Datatools 1.9.0 Build (BuildId: v20110114-1459 ) | ||
|---|---|---|---|
| Product: | [Tools] Data Tools | Reporter: | Yong Jiang <yjiang> |
| Component: | SQL Results View | Assignee: | dtp.sqldevtools-inbox <dtp.sqldevtools-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | P3 | CC: | bpayton, lchan |
| Version: | 1.9 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
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 |
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