Separated Patches
Patch Eclipse-Configs
Add Eclipse configs to the Opencms-Project.
- Patch: ./patches/Patch_V7_5_2_antbuild_and_eclipse_configs.patch
- File-Changes:
- /test/test.properties (update: make paths releativ)
- /.settings/org.eclipse.jdt.ui.prefs (new)
- /.settings/org.eclipse.jdt.core.prefs (new)
- /.classpath (new)
- /.project (new)
- /.checkstyle (new)
- Contributor: Harald Brabenetz
Patch Maven Migration.
Patch for ANT-BuildScripts to deploy the OpenCms-Artifacts to a Maven-Repository after build.
- Patch: ./patches/Patch_V7_5_2_maven-migration.patch
Additional Library: maven-ant-tasks-2.0.10.jar
- File-Changes:
- /modules/build.xml
(update: add MAVEN-ANT Targets)
- /modules/build-single.xml
(update: create source Archives, add MAVEN-ANT Targets)
- /modules/pom-template.xml
(new: pom template for Modules)
- /modules/maven-install.bat
(new: optional helper)
- /build.xml
(update: create source Archives, create opencms-webapp.war without Modules, add MAVEN-ANT Targets)
- /maven-install-with-new-modules.bat
(new: optional helper)
- /maven-deploy-with-new-modules.bat
(new: optional helper)
- /maven-deploy-init-all.bat
(new: optional helper)
- /maven-install-init-all.bat
(new: optional helper)
- /install-nonpublic-libs.bat
(new: install non-public Libraries to the local Repository like JDBC drivers.)
- /pom-opencms-core.xml
(new: pom for opencms-core.jar)
- /pom-opencms-webapp.xml
(new: pom for opencms-webapp.war)
- /pom-opencms-setup.xml
(new: pom for opencms-setup.jar)
- /lib/compile/maven-ant-tasks-2.0.10.jar (new)
(Binary must be manual copied from : maven-ant-tasks-2.0.10.jar)
- Contributor: Harald Brabenetz
Patch for CmsSetupBean (Maven Migration)
If you build OpenCms with Maven, the resulting WAR File will have the name like "opencms-7.5.2.war".
The OpenCms Setup Wizard use the FileName (or Webapp-Context path) as default Schema name.
E.g.: MySql doesn't support "-" or "." inside the Schema name.
This patch replace all "-" and "." with "_" before fill the default-SchemaName on the DB-Setup Screen.
Patch ExplorerType Icon-Name.
If the icon attribute of the explorertype Definition in an OpenCms Modules manifest.xml has no dot, an IndexOutOfBoundsException Exception will occur without information which ExplorerType is wrong.
The error occurs if you want create a new resource in OpenCms.
This Patch checks if the Icon has a dot, and Logs a Warning with detailed information otherwise.
Patch for XML-Choice-Element
Enable the usage of XSD-Choice Elements in Structured content. Update the XML Content Editor to show, add, move up/down and remove choice elements correctly.
(This Patch should be obsolete in OpenCms 8.0)
- Patch: ./patches/Patch_V7_5_2_XmlChoiceType.patch
- File-Changes:
- /src/org/opencms/workplace/CmsWorkplace.java (update)
- /src/org/opencms/workplace/CmsWidgetDialog.java (update)
- /src/org/opencms/workplace/editors/CmsXmlContentEditor.java (update)
- /src/org/opencms/xml/CmsXmlContentDefinition.java (update)
- /src/org/opencms/xml/CmsXmlContentTypeManager.java (update)
- /src/org/opencms/xml/CmsXmlComplexTypeSequence.java (update)
- /modules/org.opencms.editors/resources/system/workplace/editors/xmlcontent/edit.js (update)
- /modules/org.opencms.editors/resources/system/workplace/editors/xmlcontent/editor_form.jsp (update)
- Contributor: Harald Brabenetz
Patch for FileSelectorWidget
Improve the FileSelectorWidget Configuration to add an additional filter on ResourceTypes.
Example: configuration="resourcetypeNames=xmlContent,xmlpage"
- Patch: ./patches/Patch_V7_5_2_file_widget_resourcetype_restriction.patch
- File-Changes:
- /src/org/opencms/widgets/CmsVfsFileWidget.java (update)
- /src/org/opencms/workplace/explorer/CmsTree.java (update)
- /modules/org.opencms.workplace/resources/system/workplace/resources/components/widgets/fileselector.js (update)
- /modules/org.opencms.workplace.explorer/resources/system/workplace/resources/commons/tree.js (update)
- /modules/org.opencms.workplace.explorer/resources/system/workplace/views/explorer/tree_fs.jsp (update)
- /modules/org.opencms.workplace.explorer/resources/system/workplace/views/explorer/tree_siteselector.jsp (update)
- /test/org/opencms/workplace/explorer/TestCmsTree.java (new: TestCase for CmsTree with resourcetypeIds Filter)
- /test/org/opencms/widgets/TestVfsFileWidgetConfiguration.java (new: TestCase for CmsVfsFileWidget with Configuration Tests)
- Contributor: Selver Softic