[
https://issues.apache.org/jira/browse/LUCENE-2609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12987427#action_12987427
]
Uwe Schindler commented on LUCENE-2609:
---------------------------------------
+1, the main problem with this JAR file is currently that it's useless as you
cannot run the tests from it (mainly because lots of tests need the test
indexes as real files in the classpath). Its only useful to get e.g.
LuceneTestCase and Mock*.
I was thinking of putting the whole test base classes into a separate folder
and compile separate before the main task. The problem with selecting a subset
of .class files from an already built tree is, that you cannot be sure that the
extraction is self-contained (so there are lots of dependencies and all those
anonymous inner classes).
> Generate jar containing test classes.
> -------------------------------------
>
> Key: LUCENE-2609
> URL: https://issues.apache.org/jira/browse/LUCENE-2609
> Project: Lucene - Java
> Issue Type: Improvement
> Components: Build
> Affects Versions: 3.0.2
> Reporter: Drew Farris
> Assignee: Shai Erera
> Priority: Minor
> Fix For: 3.1, 4.0
>
> Attachments: LUCENE-2609.patch, LUCENE-2609.patch
>
>
> The test classes are useful for writing unit tests for code external to the
> Lucene project. It would be helpful to build a jar of these classes and
> publish them as a maven dependency.
--
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]