Return-Path: Delivered-To: apmail-ant-ivy-user-archive@www.apache.org Received: (qmail 79263 invoked from network); 10 Apr 2008 14:09:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Apr 2008 14:09:30 -0000 Received: (qmail 36553 invoked by uid 500); 10 Apr 2008 14:09:21 -0000 Delivered-To: apmail-ant-ivy-user-archive@ant.apache.org Received: (qmail 36538 invoked by uid 500); 10 Apr 2008 14:09:21 -0000 Mailing-List: contact ivy-user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ivy-user@ant.apache.org Delivered-To: mailing list ivy-user@ant.apache.org Received: (qmail 36526 invoked by uid 99); 10 Apr 2008 14:09:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Apr 2008 07:09:21 -0700 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [64.18.0.143] (HELO exprod5og102.obsmtp.com) (64.18.0.143) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 10 Apr 2008 14:08:29 +0000 Received: from source ([69.48.200.224]) by exprod5ob102.postini.com ([64.18.4.12]) with SMTP; Thu, 10 Apr 2008 07:08:46 PDT Received: (qmail 11375 invoked by uid 509); 10 Apr 2008 09:08:46 -0500 Received: from 10.20.1.54 by sgp-ns-01.pointserve.com (envelope-from , uid 507) with qmail-scanner-1.25-st-qms (clamdscan: 0.87/3572. spamassassin: 3.1.9. perlscan: 1.25-st-qms. Clear:RC:1(10.20.1.54):. Processed in 0.039306 secs); 10 Apr 2008 14:08:46 -0000 X-Antivirus-MYDOMAIN-Mail-From: rloehr@pointserve.com via sgp-ns-01.pointserve.com X-Antivirus-MYDOMAIN: 1.25-st-qms (Clear:RC:1(10.20.1.54):. Processed in 0.039306 secs Process 11368) Received: from unknown (HELO exchange2007.pointserve.com) (10.20.1.54) by sgp-ns-01.pointserve.com with RC4-MD5 encrypted SMTP; 10 Apr 2008 09:08:46 -0500 Received: from SGP-EXCHANGE.pointserve.com ([10.20.1.51]) by exchange2007.pointserve.com ([10.20.1.54]) with mapi; Thu, 10 Apr 2008 09:07:43 -0500 From: "Loehr, Ruel" To: "ivy-user@ant.apache.org" Date: Thu, 10 Apr 2008 09:07:40 -0500 Subject: RE: multimodule conversion from maven to ant + ivy Thread-Topic: multimodule conversion from maven to ant + ivy Thread-Index: AQHImw5uHs4z0T3SOkuWPDMmh4mHT42k8Q6w Message-ID: <93B3B6122B906D44BC7E8B8CEFB0DBBB1844B992A3@SGP-EXCHANGE.pointserve.com> In-Reply-To: <93B3B6122B906D44BC7E8B8CEFB0DBBB18448FA485@SGP-EXCHANGE.pointserve.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org To get a little more detailed: In my top level module I have a version.properties which defines a MAJOR, M= INOR, and REVISION property. When I call the main build, I have three specific targets:, dev, nightly, = release. The dev target constructs a version of 2.0.0-dev. It publishes to a local= repository. Nightly constructs a version of 2.0.0-SNAPSHOT. It publishes to a public r= epository. Release constructs a vesion of 2.0.0. Also publishes to a public reposito= ry. 1) Still not sure how handle versioning in sub modules. I assume that a = submodule can be executed standalone and I would like to not hardcode value= s in for project dependencies. Thoughts? -----Original Message----- From: Loehr, Ruel [mailto:rloehr@pointserve.com] Sent: Thursday, April 10, 2008 8:26 AM To: ivy-user@ant.apache.org Subject: multimodule conversion from maven to ant + ivy We have a legacy project which is maven based. Everyone hates maven, and w= e use ivy for other projects, thus, a migration is necessary. I'd like to keep the existing file structure as is, and simply replace the = build scripts. That part is done. I need some help with how to h= andle the versioning though. Assume we have a multi module structure: Root /a /b /c What I "think" should happen is that in the root directory I define a versi= on.properties file with the version. That version should propogate into e= ach submodule. The ivy.xml in submodule b will list a dependency like this: runtime"/> This works great as long you check out the root folder and always execute e= ach build from the top level aggregator. However, as we develop in eclips= e, people must check out each projects as standalone. Their isn't a vers= ion defined when running in that context. Has anyone else faced this? How do you handle it? In maven, it works du= e to the sub builds going to the repository and getting the parent pom..... R