You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Lars Huttar <la...@sil.org> on 2005/01/13 19:31:48 UTC

Re: more intuitive place for Cocoon status page and clear-cache command.

Joerg Heinicke wrote:

> On 19.10.2004 19:11, Lars Huttar wrote:
>
>> For a long time I didn't know about the 
>> "cocoon/samples/clear-cache.html" URL. I kept shutting down Tomcat 
>> and restarting it in order to clear the cache. :-/
>>
>> Suggestion to make this and a couple of other things more intuitive:
>> - Put a link to the "status" page on the Cocoon main page. "Samples" 
>> is not an intuitive place to look for servlet status.
>> - On the status page, in the section that tells about the cache, 
>> include a link to clear-cache.html. Likewise to 
>> clearpersistentstore.html. This would make more sense than putting 
>> these commands on the samples page.
>> - It might be useful, too, to have a link on the "status" page to 
>> show the output of xalan:checkEnvironment(), to show more details 
>> about the versions of various components (Xalan, Xerces, SAX, etc.) 
>> being used.
>
>
> Good ideas, but I fear switching off the samples removes also this 
> functionality, i.e. these links are not available without samples. So 
> we should either make them available, i.e. drag them out of smaples 
> sitemap and drop them in root or whatever sitemap. Or we should remove 
> the links on the start page when the samples are excluded.
>
> Joerg
>
Would anyone else like to pick this up and either commit my patch or 
else improve it and then commit it?
Tony Collen was going to do it but has gotten bogged down in work.

(See below for explanation of attached files.)

Thanks,
Lars



-------- Original Message --------
Subject: 	[Fwd: Re: more intuitive place for Cocoon status page and 
clear-cache command.]
Date: 	Tue, 19 Oct 2004 16:57:24 -0500
From: 	Lars Huttar <la...@sil.org>
Organization: 	SIL
To: 	colle006@umn.edu



Hi Tony,
I wasn't sure of the best way to make patches to the Cocoon source ... I 
have my machine set up for Subversion rather than CVS.
Anyway, I think the attached files should do it.
cocoon-udiffs.txt [contains diffs on the files I changed, in unified diff format.]

These diffs are done relative to src/webapps in the Cocoon 2.1 source 
tree (grabbed today via CVS).

WARNING: my modifications to welcome.xml are wrong in that they modify 
data that is generated from elsewhere. But I don't know where it's 
generated from. Do you know and if so can you modify the source?
It really wasn't my intention to get into learning how Cocoon is built, 
so I'm hoping you know... :-)

The other attached files, sitemap.xmap and checkEnv.xsl, go in a new 
folder, src/webapps/tools.

Any suggestions about these changes are welcome.

Thanks,
Lars

-------- Original Message --------
Subject: 	Re: more intuitive place for Cocoon status page and 
clear-cache command.
Date: 	Tue, 19 Oct 2004 14:28:17 -0500
From: 	Tony Collen <co...@umn.edu>
To: 	Lars Huttar <la...@sil.org>
References: 	<41...@sil.org>



Lars Huttar wrote:

> 
> 
> Hi Tony,
> What should I diff against to create the patch?
> I've finished the modifications, but they're modifications to the Cocoon 
> (build/webapp) folder, which doesn't exist in the Cocoon sources from CVS.
> 

Check in your cocoon directory:

src/webapp/

Tony