I'm using Torque and encountered a problem with multiple paths in Texen.
This causes problems in the sql/security/Control.vm, the offending line is:
#set ( $dbprops =
$properties.load("$generator.TemplatePath/sql/security/db.props") )
Looking in org.apache.velocity.texen.util.PropertiesUtil, it assumes that
templatePath is only a directory while Velocity works with the template path
as being a path (ie, set of directories).
If someone does not see any problem I would be glad to submit a patch so
that it loop through all possibles path in the template path to load the
properties. (first match wins) as does Velocity with the .vm
This is show stopper for me right now because I want to use default torque
templates that is shared by several projects where some of them need to
customize their Peer template differently.
Cheers,
--
St�phane Bailliez
Software Engineer, Paris - France
iMediation - http://www.imediation.com
Disclaimer: All the opinions expressed above are mine and not those from my
company.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]