Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 44094 invoked from network); 30 Mar 2011 14:23:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 30 Mar 2011 14:23:45 -0000 Received: (qmail 89231 invoked by uid 500); 30 Mar 2011 14:23:44 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 89178 invoked by uid 500); 30 Mar 2011 14:23:44 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 89171 invoked by uid 99); 30 Mar 2011 14:23:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Mar 2011 14:23:44 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Mar 2011 14:23:42 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id B24C98A6E0 for ; Wed, 30 Mar 2011 14:23:05 +0000 (UTC) Date: Wed, 30 Mar 2011 14:23:05 +0000 (UTC) From: "Robert Muir (JIRA)" To: dev@lucene.apache.org Message-ID: <26357964.21365.1301494985727.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (SOLR-2002) improve build/tests MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SOLR-2002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13012981#comment-13012981 ] Robert Muir commented on SOLR-2002: ----------------------------------- Hi Chris, so mainly i want to start with the patch where Solr's build system extends Lucene's. This gives us a 'single' build system (as the modules and lucene contrib already extend lucene's) rather than the 4 or 5 we have now: as solr contribs actually basically have their own standalone build. So in lucene's common-build, we can easily add new targets/checks/functionality (e.g. findbugs/failing on javadocs/etc) and it applies to everything. Also in my tests this was a huge speedup to the solr build, especially things like ant test -Dtestcase But, there is a lot to do: in my patch i only did the basics (compile/test/etc). * we need to implement things like solr 'example' tasks. * we need to look at lucene and solr's build.xml and see what things are duplicates, such as packaging tasks, that can be added to common-build.xml: an example is artifact signing and hashing. * i think it might be worth our time to look at antunit or something of that nature to implement 'tests' for the build system. By this i don't really mean tests that ensure our ant logic is correct: I mean automated tests that look at whether things like packaging are correct. But i havent looked at antunit yet, so I admittedly don't know what I am talking about. * once everything is using a single common-build recursively, we should consider additional features (pmd, findbugs, ...) that we would want to implement to perform even more checks: this can really be separate issues but its good to think right now about how we can make our build system as picky as possible to try to keep the codebase in good shape. > improve build/tests > ------------------- > > Key: SOLR-2002 > URL: https://issues.apache.org/jira/browse/SOLR-2002 > Project: Solr > Issue Type: Task > Components: Build > Reporter: Robert Muir > Assignee: Robert Muir > Priority: Minor > Fix For: 4.0, Next > > Attachments: SOLR-2002.junit.xml.formatter.patch, SOLR-2002.patch, SOLR-2002_buildfailed.patch, SOLR-2002_core_contrib.patch, SOLR-2002_dih.patch, SOLR-2002_lbhttpsolrserver.patch, SOLR-2002_localization.patch, SOLR-2002_lucenetestcase.patch, SOLR-2002_merged.patch, SOLR-2002_merged.patch, SOLR-2002_merged.patch, SOLR-2002_merged.patch, SOLR-2002_replication.patch, SOLR-2002_testiter.patch, SOLR-2002_testmethod.patch, SOLR-2002_timeout.patch, SOLR-2002setupteardown.patch, TEST-org.apache.solr.spelling.suggest.SuggesterTest.txt > > > we are working on improving some functionality in lucene's build/tests, it would be good to improve the solr side to take advantage of it. > currently its only sorta-kinda integrated and a bit messy. > i'd like to do some incremental improvements piece-by-piece on this issue. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org