/[Apache-SVN]
ViewVC logotype

Revision 271503


Jump to revision: Previous Next
Author: ehatcher
Date: Fri Feb 22 01:53:36 2002 UTC (22 years, 1 month ago)
Changed paths: 4
Log Message:
Here goes: propertyfile refactoring to hopefully fix all outstanding issues with it. "now" and "never" were removed as operations (didn't make sense). "never" was removed as a value (it caused a null pointer exception anyway).

Other code cleanup (axing "m_" prefixes).

Added "unit" attribute to <entry> defaulting to DAY. This was essentially the previous default, but it was far too confusing.

Test cases beefed up to consider several scenarios.

There may be more changes needed to satisfy other use cases, and certainly some previous (undocumented) behavior has been changed (for the better!).

Is there a use-case for "never" as a value?


Changed paths

Path Details
Directoryant/core/trunk/docs/manual/OptionalTasks/propertyfile.html modified , text changed
Directoryant/core/trunk/src/etc/testcases/taskdefs/optional/propertyfile.xml modified , text changed
Directoryant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/PropertyFile.java modified , text changed
Directoryant/core/trunk/src/testcases/org/apache/tools/ant/taskdefs/optional/PropertyFileTest.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26