ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor MacNeill" <>
Subject Re: element names accessible?
Date Tue, 28 Aug 2001 11:00:13 GMT

Not sure if I understand you correctly but there is a property
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

of the current 1.4 Beta documentation.


----- Original Message -----
From: "Robert A. (Bob) Morris" <>
To: <>
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?

View raw message