On Wed, 2008-09-17 at 18:26 +0000, Scott Lawrence wrote:
> 
> I certainly don't think that we should try to do everything at once...
> but we also should not be adding things that make the job bigger.
> 
> What are 'settings'?  Give me an example. 

In the case of the sipx services that were added in the last couple
months, the settings are the configurable parameters of the service,
such as log level.  In the case of phones, the settings are the
configurable parameters that we all users to edit from the sipXconfig
phone pages.  These settings are stored in xml files. For an example,
see etc/sipxpbx/sipxregistrar/sipxregistrar.xml.

> 
> Mostly what I've seen added lately is the .vm files, which I believe are
> the velocity templates.  Surely it would not be a big deal to move them
> to under the datadir...

Yes, quite a few .vm (velocity templates) files have been added.  The
issue that I referred to is that when we specify which template to use,
we don't specify a full path.  We specify a path that is relative to the
path that is known to the Velocity engine.  I just did a quick check and
it looks like we can specify multiple base paths in the Velocity engine,
which means we could move Velocity templates individually, specifying
both the old and new base path in the engine, and then converting the
engine to only check the new path once all templates are moved.  I will
need to dig through the Settings code to see if we can do the same thing
there.

So, in summary, we can at least start moving Velocity templates now.

Kevin


_______________________________________________
sipx-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev

Reply via email to