velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nathan Bubna <>
Subject Re: [tools] Automatic discovery of tools
Date Wed, 25 Feb 2009 14:45:26 GMT
For Tools 1.4, no.  For Tools 2.0, just put a tools.xml file in the
root directory of your jar (classpath) or in the current directory of
the file system and it should be auto-loaded by ToolManager,
ViewToolManager or VelocityView (whichever you use).   See
ConfigurationUtils.getAutoLoaded() for more on this.

On Wed, Feb 25, 2009 at 3:47 AM, Antonio Petrelli
<> wrote:
> Hi all,
> is there a way to discover automatically tools that will be used?
> I am thinking of an XML file that is put under a META-INF directory of
> JARs that are automatically loaded and configured.
> Is there such a thing? If not, I think that I could help developing
> it, if it seems interesting.
> Antonio
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message