Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 75264 invoked from network); 21 Oct 2002 20:50:17 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 21 Oct 2002 20:50:17 -0000 Received: (qmail 15819 invoked by uid 97); 21 Oct 2002 20:50:55 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 15779 invoked by uid 97); 21 Oct 2002 20:50:55 -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 15760 invoked by uid 98); 21 Oct 2002 20:50:54 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: From: Dominique Devienne To: "'Ant Users List'" Subject: RE: 'basedir' property Date: Mon, 21 Oct 2002 15:49:56 -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 No, and No! basedir should most of the time be omitted, in which case it defaults to the parent directory of the build.xml file. If your build.xml is at the root of your project (most people do that), don't define it at all, or define it to "." (not the current directory, but the directory in which build.xml is). If not set in , basedir is set by Ant, so cannot be overridden later. --DD -----Original Message----- From: Saripalli, Raju [mailto:Raju.Saripalli@jenzabar.net] Sent: Monday, October 21, 2002 3:42 PM To: 'ant-user@jakarta.apache.org' Subject: 'basedir' property Hi, Normally, the signature for the start of an ant build file is in the following form: Can 'basedir' be set and/or reset elsewhere in the ant file ? For example, I would like to abstract all hard-coded directory information into a seperate XML file that gets included as part of the build process. This way, the "core" buidl file does not change, only a few properties in a XML file. Can 'basedir' be set (A) before the element as below : Can it be set in "user-build.xml" ? ]> .... .... (B) after the element ? .... .... Thanks, Raju -- To unsubscribe, e-mail: For additional commands, e-mail: