[jira] [Updated] (LUCENE-3378) Some contribs depend on core tests to be compiled and fail when ant clean was done before

2011-08-17 Thread Robert Muir (JIRA)

 [ 
https://issues.apache.org/jira/browse/LUCENE-3378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Muir updated LUCENE-3378:


Attachment: LUCENE-3378.patch

patch for trunk

 Some contribs depend on core tests to be compiled and fail when ant clean was 
 done before
 -

 Key: LUCENE-3378
 URL: https://issues.apache.org/jira/browse/LUCENE-3378
 Project: Lucene - Java
  Issue Type: Bug
  Components: general/test
Affects Versions: 3.4, 4.0
Reporter: Uwe Schindler
 Attachments: LUCENE-3378.patch


 If you do ant clean on the root level of Lucene and then go to e.g. 
 contrib/queryparser (3.x only) or contrib/misc (3.x and trunk) and call ant 
 test, the build of tests fails:
 - contrib/queryparser's ExtendedableQPTests extend a core TestQueryParser 
 (3.x only, in module this works, of course)
 - contrib/misc/TestIndexSplitter uses a core class to build its index
 To find the root cause: We should first remove the core tests from contrib 
 classpath, so the issue gets visible even without ant clean before. Then we 
 can fix this.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Updated] (LUCENE-3378) Some contribs depend on core tests to be compiled and fail when ant clean was done before

2011-08-17 Thread Robert Muir (JIRA)

 [ 
https://issues.apache.org/jira/browse/LUCENE-3378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Muir updated LUCENE-3378:


Attachment: LUCENE-3378_qp.patch

ok this fixes branch_3x.

I refactored TestQueryParser into a QueryParserTestBase, and extended it by the 
core TestQP and this ExtendableQP.

Really we should clean this up more for a bunch of the other QPs, but this is a 
start and fixes the build.

 Some contribs depend on core tests to be compiled and fail when ant clean was 
 done before
 -

 Key: LUCENE-3378
 URL: https://issues.apache.org/jira/browse/LUCENE-3378
 Project: Lucene - Java
  Issue Type: Bug
  Components: general/test
Affects Versions: 3.4, 4.0
Reporter: Uwe Schindler
 Attachments: LUCENE-3378.patch, LUCENE-3378_qp.patch


 If you do ant clean on the root level of Lucene and then go to e.g. 
 contrib/queryparser (3.x only) or contrib/misc (3.x and trunk) and call ant 
 test, the build of tests fails:
 - contrib/queryparser's ExtendedableQPTests extend a core TestQueryParser 
 (3.x only, in module this works, of course)
 - contrib/misc/TestIndexSplitter uses a core class to build its index
 To find the root cause: We should first remove the core tests from contrib 
 classpath, so the issue gets visible even without ant clean before. Then we 
 can fix this.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org