Michael Wechner wrote:
Andreas Hartmann wrote:

Robert Goene wrote:

Hi List,

I have modified some java classes of the ConfigurableIndexer and i would like to deploy it to my live server. The lenya installation is deployed by means of a war file.

What happens with my content and all modified pub files when i drop a new war file in the Tomcat directory. I am afraid the directory structure is overwritten with the one of the war file. How do i assure that my live data is not removed by the deploy process?

This question is not only relevant when some classes are modified. The addition of a new publication to Lenya faces the same problem when deploying the webapp to a live server.

Any tips on this?



The following strategy can be used:

- exclude the content, search-index, user-base etc. directories from the WAR
- deploy the war
- use a shell script to create symlinks from the web application to separate
  directories containing the content etc.



In the near future this should all be obsolete, because all the data should
be nicely separated from the actual application by the introduction of JCR.

Michi


Oh, the future. Doesn't she look lovely?

Can you give me any hints on the files/directories i have to symlink? Do you happen to have a script like this laying around somewhere?

Thanks, Robert

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

Reply via email to