lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Grant Ingersoll (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-2609) Generate jar containing test classes.
Date Thu, 27 Jan 2011 11:41:43 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-2609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12987508#action_12987508
] 

Grant Ingersoll commented on LUCENE-2609:
-----------------------------------------

Mostly, I think I need the SolrTestCaseJ4 (and thus the Lucene test case, Solr change is coming
soon) as it is really useful for writing down stream tests that test applications that use
Lucene/Solr, but if it's too big of a problem, I'm fine with reverting this and Drew and I
can just publish our own Jar file.  

bq. except its called from 'ant package', so I will see 'BUILD FAILED' if i refactor something
that breaks this (lets say I split up LuceneTestCase, etc).

While agree with the "Build Failed" notion in general, I often think that it's a bit short
sighted in that we make something marginally less annoying for us the committers (really,
is it that hard to fix?) and much harder for our users b/c they have to go re-invent the wheel.
 Not everyone is an expert.  We have to balance those two.  I think instead of putting up
roadblocks on principal to these kinds of things, we need to figure out ways to automate them
and validate them so that it is hard to break.

bq. I see a different tradeoff: 'maybe' breaking an unsupporte .jar to 'always' fetching a
7MB useless file ...

As for the 7mb file, really, that's an issue these days?  OK, well if it is useless than maybe,
but...  At any rate, what, does that take like 30 seconds to download, tops?  I downloaded
the Freebase dataset last night (1.6GB) for fun!

{quote}
Committed revision 1064066 (3x).
Committed revision 1064068 (trunk) - added more files to testfiles that exist only in trunk.

{quote}

How about some common courtesy here?  Making a decision in the middle of the night (for me)
to commit something I was working on without getting my input is pretty rude.  Is the issue
really that urgent that it couldn't wait a few hours?  I mean were you all of a sudden forced
to download a 7mb file?

> 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, 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message