ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shackelford, John-Mason" <Sha...@ncs.com>
Subject RE: Property case
Date Tue, 15 Oct 2002 07:06:34 GMT
Stefan,

The MARC link:
http://marc.theaimsgroup.com/?l=ant-dev&m=102555728827626&w=2

One second read it looks like Alexey only *suggested* a patch rather than
submitted one. I have been using a version of ant-contrib PropertyCopy I
hacked up for this purpose and would gladly through that in or else write a
patch and testcases for a change to the property task if you think it's
appropriate. Basically I just add an attribute for case (or perhaps
valuecase would be more clear) and define an EnumAttr Case with 'lower' and
'upper' as acceptable pararms. Then I do the conversion on the value just
before adding the property.

The casing conversion just helps me with a templating issue and allows me to
calculate some properties that I would otherwise have had to add to a
property file.

John-Mason Shackelford

Software Developer
NCS Pearson - Measurement Services
2510 North Dodge St.
Iowa City, IA 52245
319-354-9200x6214
shacjo@ncs.com



-----Original Message-----
From: Stefan Bodewig [mailto:bodewig@apache.org] 
Sent: Tuesday, October 15, 2002 1:48 AM
To: ant-dev@jakarta.apache.org
Subject: Re: Property case


On Mon, 14 Oct 2002, John-Mason Shackelford <ShacJo@ncs.com> wrote:

> In July Alexey Solofnenko submitted a patch for an attribute on the 
> property task that would allow one to specify a case conversion.

I can't remember that thread, must somehow have vanished from my radar.  Can
you post the direct MARC link?

>From your description it seems as if you could implement it as a
filterreader and use <loadproperties> instead of <property>.

Stefan

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>

**************************************************************************** 
This email may contain confidential material. 
If you were not an intended recipient, 
Please notify the sender and delete all copies. 
We may monitor email to and from our network. 
****************************************************************************

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message