Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 70192 invoked from network); 17 Jan 2003 15:26:27 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 17 Jan 2003 15:26:27 -0000 Received: (qmail 26790 invoked by uid 97); 17 Jan 2003 14:47:35 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 26689 invoked by uid 97); 17 Jan 2003 14:47:34 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 26564 invoked by uid 98); 17 Jan 2003 14:47:33 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) From: "Andy Kriger" To: "Ant Users List" Subject: RE: Referencing a path id in another build file Date: Fri, 17 Jan 2003 09:55:23 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <567342BA34057A40A86EDE8DACB40E6201040AAA@expyxis01.pyxis.cahais.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N You could try this... At the top of your build.xml, use this ]> And then within your build.xml &paths; This includes the file paths.xml in the file build.xml The benefit is that you can isolate common elements and reuse them. The drawback is that paths.xml must contain fragments (just the path elements instead of a valid build file with project as its root). -----Original Message----- From: Nau, Michael [mailto:Michael.Nau@pyxis.com] Sent: Friday, January 17, 2003 4:19 To: ant-user@jakarta.apache.org Subject: Referencing a path id in another build file Is there a way to reference a path id setup in foo.xml in bar.xml? For example: foo.xml ============================================= ============================================= bar.xml ============================================= ============================================= output ============================================= D:\Temp>ant -f foo.xml foo Buildfile: foo.xml foo: print-foo.cp: BUILD FAILED file:D:/Temp/bar.xml:3: Reference foo.cp not found. Total time: 1 second ============================================= -- To unsubscribe, e-mail: For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: