Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 19228 invoked from network); 25 May 2004 08:23:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 25 May 2004 08:23:12 -0000 Received: (qmail 43492 invoked by uid 500); 25 May 2004 08:23:33 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 43293 invoked by uid 500); 25 May 2004 08:23:32 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 43246 invoked by uid 98); 25 May 2004 08:23:31 -0000 Received: from ap-cocoon-dev@m.gmane.org by hermes.apache.org by uid 82 with qmail-scanner-1.20 (clamuko: 0.70. Clear:RC:0(80.91.224.249):. Processed in 0.195164 secs); 25 May 2004 08:23:31 -0000 X-Qmail-Scanner-Mail-From: ap-cocoon-dev@m.gmane.org via hermes.apache.org X-Qmail-Scanner: 1.20 (Clear:RC:0(80.91.224.249):. Processed in 0.195164 secs) Received: from unknown (HELO main.gmane.org) (80.91.224.249) by hermes.apache.org with SMTP; 25 May 2004 08:23:30 -0000 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BSXCh-0005ZL-00 for ; Tue, 25 May 2004 10:22:31 +0200 Received: from host190-154.pool80204.interbusiness.it ([80.204.154.190]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 25 May 2004 10:22:31 +0200 Received: from nicolaken by host190-154.pool80204.interbusiness.it with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 25 May 2004 10:22:31 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: dev@cocoon.apache.org From: Nicola Ken Barozzi Subject: Re: What's wrong with our build system? Date: Tue, 25 May 2004 10:22:13 +0200 Lines: 64 Message-ID: References: <41303.10.0.0.5.1085433531.squirrel@ags01.agsoftware.dnsalias.com> <9D9078A6-AE1F-11D8-B49A-000A95AF004E@apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: host190-154.pool80204.interbusiness.it User-Agent: Mozilla Thunderbird 0.6 (Windows/20040502) X-Accept-Language: en In-Reply-To: <9D9078A6-AE1F-11D8-B49A-000A95AF004E@apache.org> Sender: news X-Spam-Rating: hermes.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Bertrand Delacretaz wrote: >> ...I propose to move Cocoon to Maven. Please VOTE: > > I know the vote is canceled, but maybe we can talk about the problems > before looking at a solution? +1 > IMHO these are the problems of the current build system: > > 1) Monolithic repository makes it impossible to include libraries having > non-ASF compatible licenses. > > That's the big thing for me, specially as it causes a big loss of energy > discussing licenses for library X or Y instead of just hosting these > cool components in non-ASF repositories. > > I know Real Blocks will solve this, but does anyone see Real Blocks > happening in the near future? > > 2) Monolithic repository requires a big download before being able to do > anything with Cocoon. > > I might be wrong but I don't see any other issues with the current build > system. > > IMHO, being able to include parts of external repositories in the build > (by getting them dynamically from their CVS or SVN repositories at build > time) would bring most of what people are waiting for in Real Blocks. http://incubator.apache.org/depot/ in particular http://incubator.apache.org/depot/update/ The current SVN version gets the jars specified in the gump xml file too. - 0 - As for our build, there is another thing that should be done to make it better, as the current xsl-based hack I had put up was needed with Ant 1.5. Now that we have Ant 1.6, we should instead do this: 1 - make a block-build.xml file in the blocks dir that contains a default block build file. 2 - add a build.xml file to every block with 3 - in each block build.xml file we can add extra targets or override the ones imported 4 - use to make the build system call all block buildfiles This is how to set up in Ant what Maven calls the "reactor". I was waiting to see the switch to SVN to test it on a branch, but since you came up with this thread, I thought I'd share it now :-) -- Nicola Ken Barozzi nicolaken@apache.org - verba volant, scripta manent - (discussions get forgotten, just code remains) ---------------------------------------------------------------------