Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@apache.org Received: (qmail 58913 invoked from network); 1 Jun 2003 16:17:05 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 1 Jun 2003 16:17:05 -0000 Received: (qmail 26023 invoked by uid 97); 1 Jun 2003 16:19:19 -0000 Delivered-To: qmlist-jakarta-archive-commons-dev@nagoya.betaversion.org Received: (qmail 26016 invoked from network); 1 Jun 2003 16:19:18 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 1 Jun 2003 16:19:18 -0000 Received: (qmail 58730 invoked by uid 500); 1 Jun 2003 16:17:03 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 58719 invoked from network); 1 Jun 2003 16:17:02 -0000 Received: from unknown (HELO hume.tsdinc.steitz.com) (209.249.229.10) by daedalus.apache.org with SMTP; 1 Jun 2003 16:17:02 -0000 Content-Class: urn:content-classes:message Received: from Lavoie.tsdinc.steitz.com ([209.249.229.4]) by hume.tsdinc.steitz.com with Microsoft SMTPSVC(5.0.2195.5329); Sun, 1 Jun 2003 12:17:05 -0400 Received: from steitz.com ([130.13.162.175]) by Lavoie.tsdinc.steitz.com with Microsoft SMTPSVC(5.0.2195.5329); Sun, 1 Jun 2003 12:14:41 -0400 Message-ID: <3EDA2680.3040308@steitz.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Date: Sun, 01 Jun 2003 09:14:56 -0700 From: "Phil Steitz" User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020408 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Jakarta Commons Developers List" Subject: [math] maven magic and build.xml -- how to get ant build working again Content-Type: text/plain; format=flowed; charset="us-ascii" Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 01 Jun 2003 16:14:41.0991 (UTC) FILETIME=[E8872570:01C32858] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Our ant build (and hence nightly) is currently broken, since we have added dependencies on commons-beanutils, bringing along collections and logging. I personally have moved to maven entirely, but I thought we had agreed early on that we would maintain the ability to build from ant. Also, Craig pointed out that if we want nightly builds, we need to have a working build.xml. I see two ways to handle this: 1. Run maven ant:generate-build and replace build.xml with the result. This will add a get-deps target telling ant to grab the jars from ibiblio.org -- e.g., This works for me from the command line; but something tells me the nightly build might not like it and I have no idea whether or not the whole script has some hidden dependencies on maven. 2. Modify build.xml and build.properties.sample to include commons-lib.home, commons-beanutils.jar, commons-logging.jar and commons-collections.jar properties and expect the user (or bot) to fill these in, grab the jars and put them in the specified directories. The advantage of 1. is that it guarantees that builds from maven and ant use the same jars. The advantage of 2 is that build.xml is simpler and more standard. What are other maven-based projects doing to handle this? Phil --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org