ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert A. (Bob) Morris" <...@cs.umb.edu>
Subject Re: element names accessible?
Date Tue, 28 Aug 2001 12:40:06 GMT
Yep, thanks.

Conor MacNeill writes:
 > Date: Tue, 28 Aug 2001 21:00:13 +1000
 > From: "Conor MacNeill" <conor@cortexebusiness.com.au>
 > To: <ant-user@jakarta.apache.org>, <ram@cs.umb.edu>
 > Subject: Re: element names accessible?
 > 
 > Bob,
 > 
 > Not sure if I understand you correctly but there is a property
 > ant.project.name
 > which contains the name of the project that is currently executing; it is
 > set in the name attribute of <project>.
 > 
 > Is that what you are after?
 > 
 > The list of properties is found in
 > docs/manual/using.html#built-in-props
 > 
 > of the current 1.4 Beta documentation.
 > 
 > Conor
 > 
 > 
 > ----- Original Message -----
 > From: "Robert A. (Bob) Morris" <ram@cs.umb.edu>
 > To: <ant-user@jakarta.apache.org>
 > Sent: Tuesday, August 28, 2001 11:15 AM
 > Subject: element names accessible?
 > 
 > 
 > > I have several different patterns of build files, each applicable to
 > > several projects. I'd like to have to edit only the project name to
 > > reuse the build. The way that comes to mind is to refer to the project
 > > name with a variable, which would reduce me to two edits, one for the
 > > project element name attribute, and one for the variable. But I wonder
 > > if element data, e.g. the name attribute, is available without
 > > explicitly copying it by hand in the file.
 > >
 > > If yes, did I miss this in the documentation?
 > >
 > 
 > 

Mime
View raw message