velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Ã…hlen <tho...@obidobi.net>
Subject Re: macros powerfull but dangerous
Date Sun, 25 Nov 2001 08:46:46 GMT
>> #parse.jar( "myfile" )
>> #parse.db( "myfile" )
>>
>> [velocity.properties]
>> file.resource.loader.jar.description = ...
>> file.resource.loader.jar.class = ...
>> file.resource.loader.jar.path = ...
>>
>> file.resource.loader.db.description = ...
>> file.resource.loader.db.class = ...
>> file.resource.loader.db.path = ...

>This means that your template is tightly tied to your configuration...

Yes I see your point. But I can't see why someone would like to run their
application with someone elses configuration :). The advantage I see in the
above notation is that it makes it possible to categorise your templates.

Thomas


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


Mime
View raw message