You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Apache Wiki <wi...@apache.org> on 2005/05/14 22:46:21 UTC
[Lenya Wiki] Update of "DeployPublicationHowTo" by GregorRothfuss
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Lenya Wiki" for change notification.
The following page has been changed by GregorRothfuss:
http://wiki.apache.org/lenya/DeployPublicationHowTo
The comment on the change is:
moved to lenya docs
------------------------------------------------------------------------------
- How to deploy a publication in Apache Lenya:
+ deleted
- === 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.
-
- === Deploying a Publication ===
-
- 1. Download the publication to a directory of your choice. For instance:
- {{{
- /src
- /apache/cocoon-lenya <- $LENYA_HOME
- /projects/lenya/pubs <- $PUBS_HOME
- /my-pub <- $MY_PUB_HOME
- }}}
- 1. Declare the publications in {{{$LENYA_HOME/local.build.properties}}} using {{{pubs.root.dirs}}}
- * For deploying a single publication, add the publication home directory:[[BR]]
- {{{pubs.root.dirs=src/webapp/lenya/pubs:../../projects/lenya/pubs/my-pub}}}
- * For deploying a directory containing publications, add the directory:[[BR]]
- {{{pubs.root.dirs=src/webapp/lenya/pubs:../../projects/lenya/pubs}}}
- 1. Deploy the publication:
- * Jetty: {{{$LENYA_HOME> build}}}
- * Tomcat:
- a. {{{$LENYA_HOME> build install-pub}}}
- a. in case if this fails try it in a different way: {{{$LENYA_HOME> ./build.sh install-pub -Dpub.prefix=""}}}
-
- 1. Restart the servlet engine
- 1. Go to your Lenya homepage and enjoy the new publication
-
- === See also ===
- * NewPublicationHowTo
-
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org