| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Copyright 1999-2005 The Apache Software Foundation |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <!-- $Id: publication.xml 374687 2006-02-03 15:24:55Z michi $ --> |
| <lenya:publication xmlns:lenya="http://apache.org/cocoon/lenya/publication/1.0"> |
| <lenya:name>doco</lenya:name> |
| <lenya:pub-version>1.4-dev</lenya:pub-version> |
| <lenya:lenya-version>1.4-dev</lenya:lenya-version> |
| <lenya:cocoon-version>2.1.8 or 2.1.9-dev</lenya:cocoon-version> |
| <lenya:description>This publication is a best practice, getting started publication.</lenya:description> |
| <lenya:credits>Special thanks to </lenya:credits> |
| <lenya:help/> |
| <lenya:changelog>changes.xml</lenya:changelog> |
| <lenya:license/> |
| <lenya:readme> |
| <ol> |
| <li> |
| <a href="live/index.html">Reader`s View</a> (Live)</li> |
| <li> |
| <a href="authoring/index.html">Editor`s View</a> (Authoring)</li> |
| </ol> |
| |
| <h4>Enable JCR</h4> |
| <ul> |
| <li>Build Lenya and start it</li> |
| <li>Import content from filesystem into JCR Repository by executing: <a href="../index.html?lenya.usecase=jcr.import">../index.html?lenya.usecase=jcr.import</a> |
| </li> |
| <li>Stop Lenya</li> |
| <li>Switch the NodeFactory within <i>build/lenya/webapp/WEB-INF/classes/org/apache/lenya/lenya.roles</i> to <i>org.apache.lenya.cms.jcr.JCRNodeFactory</i> |
| </li> |
| <li>Optional: The JCR implementation can be configured within local.build.properties resp. build.properties</li> |
| <li>Start Lenya</li> |
| </ul> |
| |
| <h4>JCR Tests and content migration</h4> |
| <ul> |
| <li>./build.sh modules.test</li> |
| <li>./build.sh migrate-14</li> |
| </ul> |
| </lenya:readme> |
| </lenya:publication> |