Creating a Lenya publication |
Introduction
Telling Lenya where to find the publication
In $LENYA_HOME/build.properties you can specify a list of directories where Lenya searches for existing publications:
pubs.root.dirs=src/webapp/lenya/pubs:../lenya-samples/cocooncenter
The publications that ship with Lenya are located in $LENYA_HOME/src/webapp/lenya/pubs. You can put your publication whereever you want. There are two possibilities to specify the publication location:
- To include just one publication: add the publication directory to the path (e.g., pubs/cocooncenter)
- To include a set of publications: add the directory that contains the publications to the path (e.g., pubs)




