Search:

Apache » Lenya
project logo
  • Project
  • Developer
  • Community
  • Version 2.2
  • Version 2.0
  • Version 1.2
  • Version 1.2
    • Installation
      • Download
      • Subversion Access
      • Install Instructions
    • Tutorial
      • Introduction
      • 1. Understanding Lenya
      • 2. Installing Lenya
      • 3. Anatomy of the Pipeline
      • 4. Editing in Lenya
      • 5. Custom Navigation in Lenya
      • 6a. Mod Proxy and Lenya
      • 6b. Mod Proxy and Lenya
    • How-To
      • FAQ
      • New Publication
      • Deploy Publication
      • Look and Feel
      • Custom Resource Type
      • Adding Mime Types
      • Site Navigation
      • LDAP Authentication
      • CMS Menus
      • CMS Screens
      • Search Publications
      • External Data
      • Unit Tests
    • Components
      • Access Control
        • Basic Terms
        • Access Controllers
        • Access Controller Resolvers
        • Authenticators
        • Authorizers
        • Policies and Policy Managers
        • Accreditable Managers
        • SSL Encryption
      • Authoring
        • Adding a new document creator
        • Image Upload
        • OpenOffice
      • Deployment
        • Proxying
      • Editors
        • HTML Form Editor
        • HTML One Form Editor
        • Bitflux Editor
        • Kupu
        • Xopus
      • Layout
        • Navigation
        • XHTML templating
        • Serving static resources
        • Lenya Menubar
      • Publication
        • PageEnvelopeModule
        • Site tree
      • Resource Types
        • Resource Types
      • Revision Control
        • Revision Controller
        • RCML
        • Check In
        • Check Out
        • Revisions
        • Rollback
      • Repository
        • WebDAV Servers
      • Search
        • Searching with Lucene
      • URI Handling
        • URI Parametrizer
        • URI Scheme
        • Usecases
      • Asset Management
        • Asset Management
      • Link Management
        • Link Management
      • Meta Data
        • Meta Data Handling
      • Multilingual Documents
        • Multilingual Document Handling
      • Tasks
        • The Task Concept
        • Defining Tasks
        • The TaskAction
        • Scheduling a Task
        • Included tasks
          • AntTask
          • DefaultFilePublisher
          • StaticHTMLExporter
          • MailTask
        • Developing Tasks
      • Workflow
        • Terms
        • The State Machine
        • Configuration
        • Implementation
      • Site Management
        • Archive
        • Copy
        • Deactivate
        • Delete
        • Delete the trash
        • Move
        • Move Up/Down
        • Rename
        • Restore
    • Miscellaneous
      • Namespaces
      • Reserved Names
      • XInclude Processor
    • 1.2 API (Javadoc)

Current Event

Meeting Bad Säckingen 2009

Built with Apache Lenya

Deploy Publication How-To

Table of Contents
  • Note:
  • Deploying a Publication

How to deploy a publication in Apache Lenya:

Note:

It is not sufficient to copy the publication directories to the lenya/pubs directory of your Lenya installation. This way, the core configuration files are not patched, the libraries are not deployed, and other important deployment steps are not applied.

You must use the source version of lenya. The binary distributions are missing some files required for the necessary build process of your new publication.

Deploying a Publication

  1. Download the publication to a directory of your choice. For instance:

    • /src
          /lenya-1.2.x                  <- $LENYA_HOME
          /projects/lenya/pubs          <- $PUBS_HOME
                              /my-pub   <- $MY_PUB_HOME
         
  2. Declare the publications in $LENYA_HOME/local.build.properties using pubs.root.dirs

    • For deploying a single publication, add the publication home directory: pubs.root.dirs=src/webapp/lenya/pubs:../../projects/lenya/pubs/my-pub

    • For deploying a directory containing publications, add the directory: pubs.root.dirs=src/webapp/lenya/pubs:../../projects/lenya/pubs

  3. Deploy the publication:

    • Jetty: $LENYA_HOME> build

    • Tomcat:

      1. $LENYA_HOME> build install-pub

      2. in case if this fails try it in a different way: $LENYA_HOME> ./build.sh install-pub -Dpub.prefix=""

  4. Restart the servlet engine

  5. Go to your Lenya homepage and enjoy the new publication

Copyright © 1999-2009 The Apache Software Foundation. All rights reserved.