Hi Wolfgang,

Wolfgang Jeltsch schrieb:
Am Montag, 9. Juni 2008 10:13 schrieb Andreas Hartmann:
[…]

By the way, is it okay to just edit those publication.xml files and
restart Lenya?  I did this to change the set of supported languages and
it seemed to work.  On the other hand, the Lenya website seems to tell me
that I should rerun the build process or something like that.
If you change publication.xml in the build tree, you don't have to run
the deployment process again. But I'd generally recommended to apply
important changes to the source tree (which is usually held in a source
code repository).

Where’s the source tree if I created my publication using the web interface? Is there any at all?

no, there is no source tree. The "Create publication" web interface is not intended for development, rather to create new publication instances in a production environment. Actually the instantiator that ships with the default publication is just a simple example, the actual implementation depends on the specific requirements of your deployment model.

What’s the point of having a separate source tree?

You have more control - you can change several files in your source tree without influencing the productive application, and deploy all changes with a single command.

Do I have to remove the build directory before deploying again?

No, this is not necessary.

What about the documents of my publication?
> Will they be lost during redeployment?

I'd recommend not having any content in the source tree to avoid the risk of overriding productive documents. Apart from that, I think it's a good idea to separate the content location from the web application (see http://lenya.apache.org/docs/2_0_x/tutorials/production.html).

-- Andreas


--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to