Ok then,
The JCS based store is pretty much finished (well, obviously the first cut.) As far as I can tell I've implemented everything necessary for a test - there's a few un-used methods not implemented (I've commented these fairly clearly of course ;)
What's the protocol for sharing the source? Should I just email it to the list? I've obviously not had time to do any decent testing so far, but I'll run load tests on it now before I head home :)
This really was a breeze - it's as if the Avalon store was built with JCS in mind :)
Anyway, let me know how I should best supply the code and I'll send it tomorrow morning NZ time when I get in.
I think we say the preferable way would be to create a bugzilla "patch" entry, which for new features is just a "bug" whose description starts with [PATCH] and has the source attached, usually as a .zip file. A unified diff of the cocoon.xconf or cocoon.roles file needed to use this component impl might make it easier to apply and test, but probably not necessary.
Geoff
-----Original Message----- From: Bertrand Delacretaz [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 2 March 2004 10:02 p.m. To: [EMAIL PROTECTED] Subject: Re: JCS Based Cache
Le Mardi, 2 mars 2004, à 09:52 Europe/Zurich, Sylvain Wallez a écrit :
...Have a look in cocoon.roles: it's the default class for the
"org.apache.excalibur.store.Store/PersistentStore" role.
I did $ find src -type f | xargs grep -i defaultpersistent
and it told me indeed:
src/java/org/apache/cocoon/cocoon.roles:
default-
class="org.apache.cocoon.components.store.impl.DefaultPersistentStore"/ >
so
Hey Bertrand, still asleep?I guess yes ;-)
sorry for the noise.
-Bertrand