Book Image

Building Websites with OpenCms

Book Image

Building Websites with OpenCms

Overview of this book

This book takes you through the process of creating content-rich websites and applications using OpenCms. Although powerful and flexible, OpenCms can be daunting on first approach, but its advanced features reward the investment in learning. This book exists to ease Java developers into getting the most from OpenCms. OpenCms OpenCms is a professional-level, open source Website Content Management System, with which you can create and manage complex websites. Based on Java and XML technology, it fits into almost any modern IT environment. With hard-won experience of the practical difficulties faced by developers working with OpenCms, this book is the embodiment of the author's expertise, and the perfect way to master the system.
Table of Contents (12 chapters)
Building Websites with OpenCms
Credits
About the Author
Introduction

Exporting and Deploying the Module


The Export feature automatically packages the module into a single zip archive, prepared for import into another system. To export a module from the Module management screen in the administration view, click on the module's icon and select Export from the popup menu. You will be prompted to confirm that you want to export the module. Clicking Ok will begin an export process that looks similar to publishing a project. The last line in the list of messages should say something like ... the module has been exported, indicating that the files from the module were packaged into a single archive and written to the real file system.

By default, modules are exported to $CATALINA_HOME/webapps/opencms/WEB-INF/export/modules/, where they are named as [module-name]_[version].zip; for example, com.example.genericxml.xslt_1.0.zip. The zip file contains all the files necessary for importing this module into another OpenCms server—including the contents of the module...