You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by "White, Tim" <Ti...@qwest.com> on 2007/07/30 16:58:27 UTC

Overriding directive.properties?

What's the "right" way to override directive.properties?
 
I've tried commenting out lines in the .jar version, I've tried deleing
the .jar version and adding my own version, I've tried dropping a
version in WEB-INF along with velocity.properties, I still don't seem to
be affecting anything.
 
Any thoughts?
 
Thanks,
 
Tim


This communication is the property of Qwest and may contain confidential or
privileged information. Unauthorized use of this communication is strictly 
prohibited and may be unlawful.  If you have received this communication 
in error, please immediately notify the sender by reply e-mail and destroy 
all copies of the communication and any attachments.

Re: Overriding directive.properties?

Posted by Nathan Bubna <nb...@gmail.com>.
i'm not aware of any way to override them.  so far as i know, you can
only modify it manually if you wish to change the core directives, or
else add "userdirective=<class>" properties to add your own custom
directives.

in your case, i think you'll probably just want to modify
directive.properties to point to your custom,renamed Include directive
class, rather than use the userdirective method.

On 7/30/07, White, Tim <Ti...@qwest.com> wrote:
> What's the "right" way to override directive.properties?
>
> I've tried commenting out lines in the .jar version, I've tried deleing
> the .jar version and adding my own version, I've tried dropping a
> version in WEB-INF along with velocity.properties, I still don't seem to
> be affecting anything.
>
> Any thoughts?
>
> Thanks,
>
> Tim
>
>
> This communication is the property of Qwest and may contain confidential or
> privileged information. Unauthorized use of this communication is strictly
> prohibited and may be unlawful.  If you have received this communication
> in error, please immediately notify the sender by reply e-mail and destroy
> all copies of the communication and any attachments.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
For additional commands, e-mail: user-help@velocity.apache.org