On 6/23/07, sebb <[EMAIL PROTECTED]> wrote:
On 24/06/07, Nathan Bubna <[EMAIL PROTECTED]> wrote:
> i believe you just need to add a line like this to the texen.properties file:
>
> context.objects.sort=org.apache.velocity.tools.generic.SortTool
Thanks - I looked at that, but the properties file is embedded in the
jar, and there does not seem to be any way to override it. Seems
rather messy to have to update the jar.
ugh. we should do something about that. properties should always be
overrideable.
> once Tools 2.0 is out, i plan to try and find time to provide better
> integration between Tools and Texen/Anakia/DVSL (or examples, where
> the current support is sufficient)
Perhaps the parsing of the contextProperties file could be extended to
behave like the internal file?
not sure. i'll try to remember to look into this. wanna open a jira issue? :)
As luck would have it, I have since found a hack to create the object
directly in the VTL script (so my problem is solved) but it would be
at lot nicer to be able to extend texen.properties as above.
yeah, i've seen those hacks. definitely not a long term solution. :)
> On 6/23/07, sebb <[EMAIL PROTECTED]> wrote:
> > I'd like to be able to use SortTools from Texen, but cannot work out
> > how to add the Velocity Tools so that they are accessible from Texen.
> >
> > Is it possible to get access without needing to extend Texen?
> > For example are there some properties that need to be set?
> >
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]