You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by bu...@apache.org on 2003/01/29 19:23:54 UTC

DO NOT REPLY [Bug 16551] New: - OverwriteProperties.java should be Ant Task

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16551>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16551

OverwriteProperties.java should be Ant Task

           Summary: OverwriteProperties.java should be Ant Task
           Product: Jetspeed
           Version: 1.4b4-dev /CVS
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Miscellaneous
        AssignedTo: jetspeed-dev@jakarta.apache.org
        ReportedBy: epugh@upstate.com


In the Tutorial for Jetspeed, the merging of tutorial specific properties into 
the vanilla jetspeed *.properties file is done via calling a main method.  I 
have written a testcase for OverwriteProperties, plus the supporting test 
data.  I refactored the OverwriteProperties so that a new class 
*.util.ant.OverwritePropertiesTask could use OverwriteProperties.  The new 
OverwriteProperties is 100% backward compatible.  I am successfully using the 
new ant task in my maven based Jetspeed plugin.  I love how overwrite 
properties works, and I think it might be something to backport into the 
turbine codebase at somepoint.  Once this new code is applied I will write up a 
doc on it.  Attached is the patch file for the build.xml, and a zip file with 
all the new classes and supporting test data.

Best,
Eric Pugh

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org