Loading...

velocity-dev@jakarta.apache.org

[Prev] Thread [Next]  |  [Prev] Date [Next]

DO NOT REPLY [Bug 21173] - AnakiaTask does not store templatePath if props file found. bugzilla Mon May 24 05:29:06 2004

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=21173

AnakiaTask does not store templatePath if props file found.





------- Additional Comments From [EMAIL PROTECTED]  2004-05-24 05:26 -------
Re-submitting a patch for bug 21173: "AnakiaTask does not store
templatePath if props file found."
(Please ignore the patch that I submitted to Bugzilla in January.)

The fix makes sure that templatePath is processed even if the properties
file is found (an "else if" branch became an independent "if"). This is
the correct, documented behavior of templatePath.

I also simplified the code: ve.init now only appears once. Without this
change, the fix would have been longer/uglier.

Please complain if anything's wrong -- this is the first time I'm
submitting a patch to Velocity.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]