Return-Path: Delivered-To: apmail-ant-ivy-user-archive@www.apache.org Received: (qmail 41524 invoked from network); 23 Jun 2009 17:15:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 Jun 2009 17:15:39 -0000 Received: (qmail 46358 invoked by uid 500); 23 Jun 2009 17:15:50 -0000 Delivered-To: apmail-ant-ivy-user-archive@ant.apache.org Received: (qmail 46285 invoked by uid 500); 23 Jun 2009 17:15:50 -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 46275 invoked by uid 99); 23 Jun 2009 17:15:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Jun 2009 17:15:50 +0000 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 (athena.apache.org: domain of prvs=6425a482ee=shawn.castrianni@halliburton.com designates 34.254.247.11 as permitted sender) Received: from [34.254.247.11] (HELO NP1MAIL001.halliburton.com) (34.254.247.11) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Jun 2009 17:15:40 +0000 Received: from NP1EXHU010.corp.halliburton.com (np1exhu010.corp.halliburton.com [34.34.132.66]) by NP1MAIL001 (8.14.3/8.14.3) with ESMTP id n5NHFJ5E002081 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT) for ; Tue, 23 Jun 2009 12:15:19 -0500 Received: from NP1EXCH012.corp.halliburton.com ([34.34.132.75]) by NP1EXHU010.corp.halliburton.com ([34.34.132.66]) with mapi; Tue, 23 Jun 2009 12:15:19 -0500 From: Shawn Castrianni To: "'ivy-user@ant.apache.org'" Date: Tue, 23 Jun 2009 12:15:18 -0500 Subject: RE: inline resolve mode Thread-Topic: inline resolve mode Thread-Index: Acn0ISo7ckQFwDi5QUmVPOu29IUprwABJ+DQ Message-ID: <34721A41A7BCF54ABC3B116219A8C1C2057B68A37F@NP1EXCH012.corp.halliburton.com> References: <34721A41A7BCF54ABC3B116219A8C1C2057B68A37B@NP1EXCH012.corp.halliburton.com> <3bc8237c0906230741g544a27deo8abec288f6a3e37@mail.gmail.com> <34721A41A7BCF54ABC3B116219A8C1C2057B68A37D@NP1EXCH012.corp.halliburton.com> <20090623163852.GA46504@nmhq.net> In-Reply-To: <20090623163852.GA46504@nmhq.net> 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-HALSTAMP: TRUE X-Proofpoint-Virus-Version: vendor=fsecure engine=1.12.7400:2.4.4,1.2.40,4.0.166 definitions=2009-06-23_10:2009-06-01,2009-06-23,2009-06-23 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=5.0.0-0811170000 definitions=main-0906230134 X-Virus-Checked: Checked by ClamAV on apache.org The addition of these extraDependencies is done at runtime and the ivy.xml = file is never modified. The ANT code would do something like: 1. run normal resolve using ivy.xml file 2. loop through extraDependencies property, and for each extra dependency r= un inline resolve The problem with this is what my original email stated, that I am guessing = that the multiple calls to resolve (one normal and the rest inline) will no= t be able to perform conflict management since the resolve operations are s= eparate. --- Shawn Castrianni -----Original Message----- From: Niklas Matthies [mailto:ml_ivy-user@nmhq.net]=20 Sent: Tuesday, June 23, 2009 11:39 AM To: ivy-user@ant.apache.org Subject: Re: inline resolve mode On Tue 2009-06-23 at 11:18h, Shawn Castrianni wrote on ivy-user: > I am trying to allow my users to experiment with dependencies. I do > have real ivy.xml files for all of my modules. Right now, if my > users want to experiment and change their dependencies of their > module, they have to edit the dependencies section of the ivy.xml > file. That is fine, however, by changing the real ivy.xml file, > they may accidentally commit this change to the SVN repo by mistake. > Therefore, I would like to somehow give them a way to add > dependencies to the ones already listed in the ivy.xml file through > some ANT property or something. Like: >=20 > ant dependencies -DextraDependencies=3D"A,B" >=20 > my ant script could check if the extraDependencies property is set > and then somehow tell ivy to add these two modules (A and B) to the > list of dependencies found in the ivy.xml file I don't understand how adding dependencies to the Ivy file using Ant instead of manually will prevent the modified Ivy file to be committed. -- Niklas Matthies ---------------------------------------------------------------------- This e-mail, including any attached files, may contain confidential and pri= vileged information for the sole use of the intended recipient. Any review= , use, distribution, or disclosure by others is strictly prohibited. If yo= u are not the intended recipient (or authorized to receive information for = the intended recipient), please contact the sender by reply e-mail and dele= te all copies of this message.