ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jesse Tilly <>
Subject RE: [PATCH] PropertyFile
Date Fri, 03 Nov 2000 15:58:25 GMT
One thing to note, I went against the author's original idea in that I use
the Properties object to write out to the outputstream.  According to the
Javadoc, Properties will escape characters it believes it needs to escape.
I think this is the better behavior, but it breaks the author's requirements
because a file reader he was using apparently did not like the escapes
(although the Properties object load expects them).


-----Original Message-----
From: Jesse Tilly []
Sent: Thursday, November 02, 2000 11:49 PM
To: ''
Subject: [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 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
                 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

> 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
 <<Jesse Tilly.vcf>> 

View raw message