Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

Thereafter, quick-start deployments are considered as (simplified) servlet deployments.

Requirements

  • JDK 1.5+
  • Apache ant 1.7+
  • A working database (MySql prefered)

First install

Download

Download the latest version of the desired package from http://sourcesup.cru.fr/frs/?group_id=319

Uncompress

Unzip the distribution files somewhere in your source hierarchy (something like /usr/local/src/esup-print).

This will create a foder like /usr/local/src/esup-print/esup-print-x.y.z.

Configure

Edit the following configuration files to fit to your environment (examples are provided):

  • /build.properties: tell the application where and how to install.
  • /properties/config.properties: configure the application runtime.
  • /properties/logging/log4j.properties: configure the logs of the web application.
  • /properties/logging/log4j-batch.properties: configure the logs of the batch commands.
  • /properties/dao/hibernate/hibernate.cfg.xml: configure your database access.
  • /webapp/WEB-INF/web.xml: configure your web application. Copy web-servlet-example.xml or web-portlet-example.xml to web.xml depending on your deployment (servlet or portlet).
  • /webapp/WEB-INF/portlet.xml: needed for portlet deployments only

Deploy

Simply run:

No Format
ant deploy

Start

Quick-start deployers simply run:

...

  • publish a channel in their portal (see /utils/uPortal/esup-print-portlet-chanpub.xml for uPortal)
  • push a fragment to the users (see /utils/uPortal/esup-print-portlet-fragment.xml for uPortal)

Upgrades

Download the latest version of your package and install beside your previous installation at the same filesystem level (/usr/local/src/esup-print in our example).

...