Opencms.xml
From OpenCms Wiki
(Difference between revisions)
(fghfgdh) |
|||
(One intermediate revision by one user not shown) | |||
Line 1: | Line 1: | ||
− | + | This XML file is a master configuration file containing the names of classes used to configure a system area. Each class in OpenCms implements the I_CmsXmlConfiguration interface and is called upon, at startup, to parse its configuration and initialize its area. We seldom do changes to this file. | |
+ | |||
+ | A sample '''opencms.xml''' is given below: | ||
+ | |||
+ | <pre> | ||
+ | |||
+ | <?xml version="1.0" encoding="UTF-8"?> | ||
+ | <!DOCTYPE opencms SYSTEM "http://www.opencms.org/dtd/6.0/opencms-configuration.dtd"> | ||
+ | |||
+ | <opencms> | ||
+ | <configuration> | ||
+ | <config class="org.opencms.configuration.CmsSystemConfiguration"/> | ||
+ | <config class="org.opencms.configuration.CmsVfsConfiguration"/> | ||
+ | <config class="org.opencms.configuration.CmsWorkplaceConfiguration"/> | ||
+ | <config class="org.opencms.configuration.CmsImportExportConfiguration"/> | ||
+ | <config class="org.opencms.configuration.CmsSearchConfiguration"/> | ||
+ | <config class="org.opencms.configuration.CmsModuleConfiguration"/> | ||
+ | |||
+ | </configuration> | ||
+ | </opencms> | ||
+ | |||
+ | |||
+ | </pre> |
Latest revision as of 07:44, 29 January 2009
This XML file is a master configuration file containing the names of classes used to configure a system area. Each class in OpenCms implements the I_CmsXmlConfiguration interface and is called upon, at startup, to parse its configuration and initialize its area. We seldom do changes to this file.
A sample opencms.xml is given below:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE opencms SYSTEM "http://www.opencms.org/dtd/6.0/opencms-configuration.dtd"> <opencms> <configuration> <config class="org.opencms.configuration.CmsSystemConfiguration"/> <config class="org.opencms.configuration.CmsVfsConfiguration"/> <config class="org.opencms.configuration.CmsWorkplaceConfiguration"/> <config class="org.opencms.configuration.CmsImportExportConfiguration"/> <config class="org.opencms.configuration.CmsSearchConfiguration"/> <config class="org.opencms.configuration.CmsModuleConfiguration"/> </configuration> </opencms>