Re: Initializing files at startup

2004-10-06 Thread Jim Myers
AM Subject: RE: Initializing files at startup Jim, sounds very good what you are describing. I'm not sure if I can distinguish between DBinitialization and serverStartup within the repository initialization mechanism I'm slightly extending (common/XMLUNmarshaller.java), as it uses Slide Core

RE: Initializing files at startup

2004-10-05 Thread Peter.Nevermann
- From: Stefan Lützkendorf [mailto:[EMAIL PROTECTED] Sent: Freitag, 1. Oktober 2004 17:16 To: Slide Developers Mailing List Subject: Re: Initializing files at startup Hallo Peter, installing a webdav server with some inital template data would be intresting in some of our projects too

RE: Initializing files at startup

2004-10-05 Thread Peter.Nevermann
cannot initialize content. Regards, Peter -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Freitag, 1. Oktober 2004 17:20 To: 'Slide Developers Mailing List' Subject: AW: Initializing files at startup Hi Peter, I'd like to have a general mechanism to export

Re: Initializing files at startup

2004-10-05 Thread Oliver Zeigermann
[EMAIL PROTECTED] schrieb: Hallo Stefan, One query I have is, what happens if the server starts up a second time and the content of the file or the referenced collection is changed? Is it updated, are new subdirectories added or how do you handle this? They way I coded it now, no update

RE: Initializing files at startup

2004-10-05 Thread Peter.Nevermann
/XMLUnmarshaller.java which allows specifying content elements inside revision elements. Regards, Peter -Original Message- From: Oliver Zeigermann [mailto:[EMAIL PROTECTED] Sent: Freitag, 1. Oktober 2004 17:31 To: Slide Developers Mailing List Subject: Re: Initializing files at startup Hi Peter

RE: Initializing files at startup

2004-10-05 Thread Peter.Nevermann
store or database. Regards, Peter -Original Message- From: Jim Myers [mailto:[EMAIL PROTECTED] Sent: Freitag, 1. Oktober 2004 19:12 To: Slide Developers Mailing List Subject: Re: Initializing files at startup I think this is VERY useful functionality. We have similar use cases

RE: Initializing files at startup

2004-10-05 Thread Peter.Nevermann
: Initializing files at startup Hi, to initialize data in a repository during server start-up, I can add objectnode elements in Domain.xml. For instance, I could add an element objectnode classname=... uri=/files/foo/ inside objectnode classname=... uri=/files/ to have a folder /files/foo

Re: Initializing files at startup

2004-10-05 Thread Oliver Zeigermann
[EMAIL PROTECTED] schrieb: Oliver, how does the problem with the content always being created shows up? ... I cannot reproduce it with objectnodes being initialized in Domain.xml (at least not with Slide_2.0). With my modest changes to XMLUnmarshaller.java, content is only created if the

Re: AW: Initializing files at startup

2004-10-03 Thread James Mason
, Daniel -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von [EMAIL PROTECTED] Gesendet: Freitag, 1. Oktober 2004 15:44 An: [EMAIL PROTECTED] Betreff: Initializing files at startup Hi, to initialize data in a repository during server start-up, I can add

Re: Initializing files at startup

2004-10-03 Thread James Mason
My preference would be to wait until 2.2. Since we're already into beta I get a funny feeling about adding new features. I'm not really picky about it, though, so -.5 :). -James Oliver Zeigermann wrote: Hi Peter, this sounds interesting. I'd say this should at least go into the CVS HEAD, for

Initializing files at startup

2004-10-01 Thread Peter.Nevermann
Hi, to initialize data in a repository during server start-up, I can add objectnode elements in Domain.xml. For instance, I could add an element objectnode classname=... uri=/files/foo/ inside objectnode classname=... uri=/files/ to have a folder /files/foo initialized. Also, to an objectnode

Re: Initializing files at startup

2004-10-01 Thread Stefan Lützkendorf
Hallo Peter, installing a webdav server with some inital template data would be intresting in some of our projects too. One query I have is, what happens if the server starts up a second time and the content of the file or the referenced collection is changed? Is it updated, are new subdirectories

AW: Initializing files at startup

2004-10-01 Thread Daniel Florey
PROTECTED] Gesendet: Freitag, 1. Oktober 2004 15:44 An: [EMAIL PROTECTED] Betreff: Initializing files at startup Hi, to initialize data in a repository during server start-up, I can add objectnode elements in Domain.xml. For instance, I could add an element objectnode classname=... uri=/files/foo

Re: Initializing files at startup

2004-10-01 Thread Unico Hommes
[EMAIL PROTECTED] wrote: Hi, to initialize data in a repository during server start-up, I can add objectnode elements in Domain.xml. For instance, I could add an element objectnode classname=... uri=/files/foo/ inside objectnode classname=... uri=/files/ to have a folder /files/foo initialized.

Re: Initializing files at startup

2004-10-01 Thread Oliver Zeigermann
Hi Peter, this sounds interesting. I'd say this should at least go into the CVS HEAD, for the release branch of 2.1 I am +0. I noticed upon importan of objectnodes Slide always tries to create content along with a node. In my current work I would need something that tells me if a node is a

Re: Initializing files at startup

2004-10-01 Thread Jim Myers
: Re: Initializing files at startup Hallo Peter, installing a webdav server with some inital template data would be intresting in some of our projects too. One query I have is, what happens if the server starts up a second time and the content of the file or the referenced collection is changed