Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 116146336 for ; Mon, 20 Jun 2011 10:10:10 +0000 (UTC) Received: (qmail 77779 invoked by uid 500); 20 Jun 2011 10:10:08 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 77714 invoked by uid 500); 20 Jun 2011 10:10:08 -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 77707 invoked by uid 99); 20 Jun 2011 10:10:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Jun 2011 10:10:08 +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; Mon, 20 Jun 2011 10:10:07 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 728A8423AD1 for ; Mon, 20 Jun 2011 10:09:47 +0000 (UTC) Date: Mon, 20 Jun 2011 10:09:47 +0000 (UTC) From: "Steven Rowe (JIRA)" To: dev@lucene.apache.org Message-ID: <710661533.20309.1308564587465.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1176119633.27009.1301640906086.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (SOLR-2452) rewrite solr build system 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-2452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steven Rowe updated SOLR-2452: ------------------------------ Attachment: SOLR-2452-post-reshuffling.patch SOLR-2452.dir.reshuffle.sh This Bash script and patch together eliminate {{solr/src/}} and move everything under it up one level, except for {{solr/src/java/}}, {{solr/src/test/}} and {{solr/src/test-files/}}, which are moved under a new directory {{solr/core/}}: {noformat} solr/ +---core/ +---dev-tools/ +---scripts/ +---site-src/ +---solrj/ +---test-framework/ +---webapp/ +---web/ ... {noformat} Additionally: # I merged {{solr/src/common/}} into the {{solrj/}} directory, and moved all {{o.a.s.client.solrj}} and {{o.a.s.common}} tests from the core tests to {{solrj/src/test/}}; and # I merged {{src/webapp/src/}} into the {{core/src/java/}} directory. The philosophy at work here is to keep all sources used to build an artifact under a single directory. Compilation and testing works, though the core<->solrj dependencies are unusual: non-test core depends on non-test solrj, but solrj tests depend on core tests. (The IntelliJ and Maven builds need fudging to make this work, since their dependency mechanisms are not fine-grained enough to directly support this setup - these changes are also included in the patch.) I haven't committed this to the branch because it's fairly radical, and I'd like to make sure nobody objects, but also because tracking trunk changes will become much harder after this change is committed to the branch. Robert, would you please review? > rewrite solr build system > ------------------------- > > Key: SOLR-2452 > URL: https://issues.apache.org/jira/browse/SOLR-2452 > Project: Solr > Issue Type: Task > Components: Build > Reporter: Robert Muir > Fix For: 3.3 > > Attachments: SOLR-2452-post-reshuffling.patch, SOLR-2452.dir.reshuffle.sh > > > As discussed some in SOLR-2002 (but that issue is long and hard to follow), I think we should rewrite the solr build system. > Its slow, cumbersome, and messy, and makes it hard for us to improve things. -- 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