[ https://issues.apache.org/jira/browse/LUCENE-1344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12632178#action_12632178 ]
Michael McCandless commented on LUCENE-1344: -------------------------------------------- Gunnar, when I apply the patch and run a toplevel "ant clean" followed by "ant test", I hit an error when trying to compile/test contrib/highlighter. Are you seeing this too? {code} compile-highlighter: [echo] Building highlighter... build-memory: [echo] Highlighter building dependency /lucene/lucene.osgi/build/contrib/memory/lucene-memory-2.4-dev.jar [echo] Building memory... javacc-uptodate-check: javacc-notice: jflex-uptodate-check: jflex-notice: common.init: build-lucene: init: clover.setup: clover.info: [echo] [echo] Clover not found. Code coverage reports disabled. [echo] clover: compile-core: [mkdir] Created dir: /lucene/lucene.osgi/build/contrib/highlighter/classes/java [javac] Compiling 22 source files to /lucene/lucene.osgi/build/contrib/highlighter/classes/java [javac] /lucene/lucene.osgi/contrib/highlighter/src/java/org/apache/lucene/search/highlight/WeightedSpanTermExtractor.java˘:35: package org.apache.lucene.index.memory does not exist [javac] import org.apache.lucene.index.memory.MemoryIndex; [javac] ^ [javac] /lucene/lucene.osgi/contrib/highlighter/src/java/org/apache/lucene/search/highlight/WeightedSpanTermExtractor.java:312: cannot find symbol [javac] symbol : class MemoryIndex [javac] location: class org.apache.lucene.search.highlight.WeightedSpanTermExtractor [javac] MemoryIndex indexer = new MemoryIndex(); [javac] ^ [javac] /lucene/lucene.osgi/contrib/highlighter/src/java/org/apache/lucene/search/highlight/WeightedSpanTermExtractor.java:312: cannot find symbol [javac] symbol : class MemoryIndex [javac] location: class org.apache.lucene.search.highlight.WeightedSpanTermExtractor [javac] MemoryIndex indexer = new MemoryIndex(); [javac] ^ [javac] 3 errors BUILD FAILED /lucene/lucene.osgi/build.xml:562: The following error occurred while executing this line: /lucene/lucene.osgi/build.xml:552: The following error occurred while executing this line: /lucene/lucene.osgi/contrib/benchmark/build.xml:173: The following error occurred while executing this line: /lucene/lucene.osgi/contrib/highlighter/build.xml:41: The following error occurred while executing this line: /lucene/lucene.osgi/common-build.xml:229: The following error occurred while executing this line: /lucene/lucene.osgi/common-build.xml:505: Compile failed; see the compiler error output for details. {code} > Make the Lucene jar an OSGi bundle > ---------------------------------- > > Key: LUCENE-1344 > URL: https://issues.apache.org/jira/browse/LUCENE-1344 > Project: Lucene - Java > Issue Type: Improvement > Components: Build > Reporter: Nicolas Lalevée > Assignee: Michael McCandless > Attachments: LUCENE-1344-r679133.patch, LUCENE-1344-r690675.patch, > LUCENE-1344-r690691.patch, LUCENE-1344.patch, LUCENE-1344.patch, > MANIFEST.MF.diff > > > In order to use Lucene in an OSGi environment, some additional headers are > needed in the manifest of the jar. As Lucene has no dependency, it is pretty > straight forward and it ill be easy to maintain I think. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]