ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phil Hourihane <>
Subject enhancement for PropertyFile, have a patch
Date Sat, 01 Oct 2005 22:23:32 GMT
Hi folks,

A little while ago I posted that I had code to grant
which would allow the PropertyFile task to retain the
layout of the properties file that it was editing
(mail subject was also "enhancement for PropertyFile,
have a patch").

I was busy for a while, so didn't get around to
posting the changes, but here they are. There are
changes to two files (java source for the task, and
the associated documentation), and a few associated
and test classes.

The changes listed below are contained in the patch
file. The other files are attached individually.

Any feedback or comments welcome. This is my first
submission, so I hope I am doing this right. Feel free
to point it out if I am not.


	The task now makes use of the
LayoutPreservingProperties (see below). Also, a new
attribute allows the user to select using a regular
java.util.Properties file instead, if they so choose.

	Documentation changes to follow the task changes.

New files:

	A subclass of java.util.Properties that preserves the
layout of the input stream(s) from which properties
were loaded (if applicable)
	Unit tests for the new class.

	Test data for the unit tests.
Philip Hourihane

Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail
View raw message