Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 5276 invoked from network); 27 Nov 2003 05:23:55 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 27 Nov 2003 05:23:55 -0000 Received: (qmail 40136 invoked by uid 500); 27 Nov 2003 05:23:27 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 39878 invoked by uid 500); 27 Nov 2003 05:23:26 -0000 Mailing-List: contact user-help@ant.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 user@ant.apache.org Received: (qmail 39860 invoked from network); 27 Nov 2003 05:23:25 -0000 Received: from unknown (HELO psvsmtp.psv.com.vn) (203.162.104.82) by daedalus.apache.org with SMTP; 27 Nov 2003 05:23:25 -0000 Received: by PSVSMTP with Internet Mail Service (5.5.2657.72) id ; Thu, 27 Nov 2003 12:20:39 +0700 Message-ID: <0531BED80997D6119B9B00D0B748B66A13EE23@MAIL> From: Thai Thanh Ha To: 'Ant Users List' Subject: RE: How to get a absolute path to a file Date: Thu, 27 Nov 2003 12:20:42 +0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Thanks a lot! I can do it now :) -----Original Message----- From: Conor MacNeill [mailto:conor@cortexebusiness.com.au] Sent: Thursday, November 27, 2003 12:00 PM To: Ant Users List Subject: Re: How to get a absolute path to a file On Thu, 27 Nov 2003 03:45 pm, Thai Thanh Ha wrote: > > But is there a better way to get an absolute path to checkstyle.xml file? > This task doesn't include file name in the property. > Use a property with a location attribute rather than a value attribute. This sets the property to the absolute location of the file. http://ant.apache.org/manual/CoreTasks/property.html Conor --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org