Since otherwise at each execution it creates a new version of the embedded database structure.
On Thu, Mar 27, 2008 at 4:58 PM, Taylor Gautier <[EMAIL PROTECTED]> wrote: > Why would it need to be repeatable? > > > ----- Original Message ----- > From: "Geert Bevin" <[EMAIL PROTECTED]> > To: [email protected] > Sent: Thursday, March 27, 2008 4:42:21 PM (GMT-0800) America/Los_Angeles > Subject: Re: [tc-dev] need to standardize on the system property names > > > It's unique, but not repeatable. I think this is ok for the demos, but > not ok for regular applications since it creates a new directory at > each execution. > > On Thu, Mar 27, 2008 at 4:36 PM, Taylor Gautier <[EMAIL PROTECTED]> > wrote: > > > > So just to add color to this issue - the samples use the following > > convention: > > > > <logs>%(user.home)/terracotta/client-logs/pojo/sharededitor/%D</logs> > > > > %D is a unique value. > > > > > > Geert Bevin wrote: > > > > I wasn't suggesting which property should be used. My point is that it > > should be the same and I do agree that it would be handy to have some > > > > I agree with that, I was just clarifying why I chose the tc.node-name > > syntax and not tc.nodeName. > > > > > > > > kind of node discovery in place instead of using system properties. > > BTW, Maven property been there for over half a year and no one > > reporter this inconsistency. > > > > I don't know what you mean by setup differently, all I see is that if > > I remove <statistics> elements from tc-config those dirs are created in > > the current folder, at least when this stuff is run from Maven. > > > > I just tried this and it seems to behave like that for the client log > > dirs too. So it seems that when the logs and statistics elements are > > removed, the default values in the xsd aren't being applied. This > > needs some further investigation. > > > > > > > > Also it is really odd, that even if I specify different locations for > > those stats folders I still see that huge warning about directory is > > already being used when launching L1 and L2 from Maven. > > > > I tried that with the distribution samples and when I change the > > client and server statistics paths, they relocate properly to what I > > set them to. > > > > > > > > _______________________________________________ > > tc-dev mailing list > > [email protected] > > http://lists.terracotta.org/mailman/listinfo/tc-dev > > > > > > > > -- > Geert Bevin > Terracotta - http://www.terracotta.org > Uwyn "Use what you need" - http://uwyn.com > RIFE Java application framework - http://rifers.org > Music and words - http://gbevin.com > _______________________________________________ > tc-dev mailing list > [email protected] > http://lists.terracotta.org/mailman/listinfo/tc-dev > > _______________________________________________ > tc-dev mailing list > [email protected] > http://lists.terracotta.org/mailman/listinfo/tc-dev > > -- Geert Bevin Terracotta - http://www.terracotta.org Uwyn "Use what you need" - http://uwyn.com RIFE Java application framework - http://rifers.org Music and words - http://gbevin.com _______________________________________________ tc-dev mailing list [email protected] http://lists.terracotta.org/mailman/listinfo/tc-dev
