ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher" <jakarta-...@ehatchersolutions.com>
Subject Re: Getting the filename from a property
Date Fri, 01 Mar 2002 11:43:20 GMT
----- Original Message -----
From: "Ara Abrahamian" <ara_e_w@yahoo.com>


> > We gotta make things like this simpler, perhaps with special property
> > syntax
> > similar to how MessageFormat stuff works.
> >
> > ${propertyname,file,filename}
> >
> > Come to think of it, is MessageFormat at all extensible to be able to
> > define
> > other things besides "date", "time", "number", or "choice"? [I don't
> think
> > so, but one can dream!]
>
> Looks interesting. Attaching type info to a literal value is interesting
> and useful. And you can derive from MessageFormat and define whatever
> you like there.

Does anyone know of examples subclassing MessageFormat to achieve such
things?  I don't want to reinvent the wheel if I prototype something like
this.

Also, what do others thing of this kind of thing?  (syntax or general idea)

    Erik



--
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