[Cartoweb-users] Creating a new project
alexandre.saunier at camptocamp.com
Mon Jan 23 12:05:58 EST 2006
Valerio Noti wrote:
> My question is:
> Does the install command of cw3setup.php modify all the cartoweb
> projects or something went wrong during these changes?
With CartoWeb 3.1.0, launching cw3setup.php affects all the projects. To
make the script even more convenient, we added the possibility to
interact with a single (or several) project at a time. But the
improvement is for now only available in CartoWeb dev version (CVS version).
About your "mapInfo.loadPlugins" troubles:
CartoWeb owns a deployment system integrated in the cw3setup.php script.
It is useful to quickly install a project on various servers without
having to update by hand the config files. Config files (.ini) may then
be generated by replacing @PARAMETER_NAME@ variables in template config
files (.ini.in) by their values in matching .properties files.
If your project owns an italy.ini.in file, an italy.in config file will
be generated every time you launched cw3setup.php --install, crushing
the previous italy.ini. To have your changes taken into account you may
- edit the italy.ini.in file and update "mapInfo.loadPlugins"
- delete italy.ini.in and update "mapInfo.loadPlugins" directly in it.
Since italy.ini.in no more exist, italy.ini stay unchanged when
launching cw3setup.php --install.
The latter solution is OK when you have a "static" configuration.
More information about the Cartoweb-users