Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@apache.org Received: (qmail 10884 invoked from network); 23 May 2002 22:12:38 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 23 May 2002 22:12:38 -0000 Received: (qmail 5386 invoked by uid 97); 23 May 2002 22:12:42 -0000 Delivered-To: qmlist-jakarta-archive-ant-dev@jakarta.apache.org Received: (qmail 5370 invoked by uid 97); 23 May 2002 22:12:42 -0000 Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 5358 invoked by uid 98); 23 May 2002 22:12:41 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <98D21B073202584C9125C860580DC4EDEC0387@lgchexch006.ad.lgc.com> From: Dominique Devienne To: "'Ant Developers List'" Subject: RE: exporting classpath references from inner Ant builds to outer Ant builds. Date: Thu, 23 May 2002 17:12:38 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Please submit here. Even it gets turned down by Ant, I most likely want your patch (and I don't monitor Maven). Thanks, --DD -----Original Message----- From: James Strachan [mailto:james_strachan@yahoo.co.uk] Sent: Thursday, May 23, 2002 4:45 PM To: Ant Developers List Subject: Re: exporting classpath references from inner Ant builds to outer Ant builds. From: "Erik Hatcher" > This sounds kinda risky in that a sub-build could stomp on properties (I > assume you'd want those exported back up too?) and references that you did > expect to be altered. Do you envision any mechanisms for controlling what > gets exported? All references blindly? Or some selection mechanism? I've patched the Ant task to have exportRefs="true|false" and exportAll="true|false" to be the opposite of inheritRefs and inheritAll. For now I decided to only export (when the flag is on ;-) those references or properties which don't already exist in the parent project. So this new feature will never overwrite anything, only add new things not already defined in the parent project. This seems a reasonable compromise, that its safe, it won't change any references/properties if there is a clash. Seems to work pretty nicely so far; I can submit it here if anyone's interested, it is a minor patch. Otherwise I'll submit it to Maven... James -- To unsubscribe, e-mail: For additional commands, e-mail: