I just noticed this in the 2.0 db upgrade script ..

insert roller_properties (name,value) values ('site.shortName','');
insert roller_properties (name,value) values 
('planet.cache.dir','/var/roller/planet-cache');

there is nothing wrong with this really, however this isn't the intended way to 
add values to the roller_properties table.

When Roller starts up the rollerRuntimeConfigDefs.xml file is checked for any 
new properties which are immediately inserted with their default values by the 
application.  so, all you need to do is add the property to the runtime config 
defs and it'll be automatically added to the db on the next deployment.

Just FYI.  I'm going to remove those lines from the upgrade script.

-- Allen


Reply via email to