Description

The complete patch for this Version can be downloaded from: completePatch.patch

The Changes are also separated available as PATCH in: ./patches/

The Patches are developed in SVN under:
https://bp-cms-commons.svn.sourceforge.net/svnroot/bp-cms-commons/opencms_commons/opencms-patches/trunk

Separated Patches

Patch Eclipse-Configs

Add Eclipse configs to the Opencms-Project.

  • Patch: ./patches/Patch_V7_5_4_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_4_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.4.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.