You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Jesse Tilly <JT...@hoteltools.com> on 2000/11/03 05:49:17 UTC
[PATCH] PropertyFile
<<PropertyFile-patch.txt>> <<propertyfile.html>>
Included are a minor patch to the PropertyFile code and a documentation HTML
file. The code has been modified to default to a "string" property if no
type is specified rather than error out. It also uses the
Properties.store() method instead of the writing directly to the output
stream. This is in preparation of a better implementation that would allow
for maintaining comments placed in a properties file. I don't have the time
tonight to finish it. Maybe tomorrow or Saturday. The javadoc has been
completely revamped, however, and I think the Javadoc and HTML doc
improvements are worthwhile to be in the next build.
My plans: allow for the retention of comments in the original properties
file
limit the propertyfile task to file and comment parameters
forcing the use of entry tags
allow for a srcfile and destfile parameter set (maybe
eliminating the comment change since that would be harder than
srcfile/destfile)
> J E S S E E T I L L Y
> Senior Programmer, Development
> ____________________________________________
> HotelTools, Inc.
> 100 Galleria Parkway, Suite 1020
> Atlanta, GA 30339
> ph: 770.956.4080 x5361
> fax: 770.956.4077
> cell: 678.524.5764
> http://www.hoteltools.com
>
<<Jesse Tilly.vcf>>