RE: MockLogger configuration

2008-01-30 Thread Robin Rigby
I'd really appreciate some help with debugging. I'm very new to Eclipse, too. :-) More generally, it would be great to find some high quality advice on the web site on problem solving in general, particularly on the POM and Spring. There are now some very clear pages on the sitemap and writing

Re: Automatic call pipeline at startup

2008-01-30 Thread Alessandro Vincelli
More precisely. I'm using Cocoon Cron (CocoonPipelineCronJob) to invoke a pipeline every 30 minutes. Can I configure Cocoon Cron to invoke the same pipeline also at application startup? Thanks in advance Alessandro Alessandro Vincelli wrote: Is possible call pipeline or flowscript function

Re: Automatic call pipeline at startup

2008-01-30 Thread Andreas Kuehne
Can I configure Cocoon Cron to invoke the same pipeline also at application startup? I'm not familiar with cron ... but for sure you can get it by implementing an ServletContextListener. It will be called at sturtup / shutdown of your app or (un-)deployment. Good luck Andreas

Re: Automatic call pipeline at startup

2008-01-30 Thread Alessandro Vincelli
Thank you for this solution, but I want find a solution less inasive. Andreas Kuehne ha scritto: Can I configure Cocoon Cron to invoke the same pipeline also at application startup? I'm not familiar with cron ... but for sure you can get it by implementing an ServletContextListener. It

deleting blocks 2.1.9?

2008-01-30 Thread Edward S
hey guys, I am using Cocoon 2.1.9 and whenever I do a build, it builds all the blocks creating a total webapp size of around 70MB (incl. my components) I wanted to know, is there a way to stop Cocoon from building all the blocks? I tried the local.blocks.properties and local.build.properties but

Re: deleting blocks 2.1.9?

2008-01-30 Thread Jeroen Reijn
Hi Ed, the blocks.properties file contains comments on blocks dependencies. It is the way to go. Regards, Jeroen Edward S wrote: hey guys, I am using Cocoon 2.1.9 and whenever I do a build, it builds all the blocks creating a total webapp size of around 70MB (incl. my components) I

Re: deleting blocks 2.1.9?

2008-01-30 Thread Edward S
thanks Jeroen. Are there any blocks that we absolutely need to include...or can I do a exclude.all.blocks=true and still get a bare minimum cocoon running? -Ed. On 1/30/08, Jeroen Reijn [EMAIL PROTECTED] wrote: Hi Ed, the blocks.properties file contains comments on blocks dependencies. It

Re: processToDom talking to another block

2008-01-30 Thread anil
Hi Grzegorz - Thanks for your help regarding talking to a pipeline in another block. I've got a supplementary question which I hope you can help with. How do I pass a string of XML to the pipeline to have it transformed? Basically I receive a string of XML in flowscript (this XML is read from

Re: deleting blocks 2.1.9?

2008-01-30 Thread Andrew Savory
Hi, On 1/30/08, Edward S [EMAIL PROTECTED] wrote: Are there any blocks that we absolutely need to include...or can I do a exclude.all.blocks=true and still get a bare minimum cocoon running? It really depends on what your app is doing. A typical safe minimum might be to only enable ajax,

Re: deleting blocks 2.1.9?

2008-01-30 Thread Andrew Savory
Hi, On 1/30/08, Edward S [EMAIL PROTECTED] wrote: thanks andrew. tried that, with all the dependencies. Does your site work using the default build.properties and blocks.properties? If so, then your best bet is to go through and comment out groups of blocks and rebuild until you find what

Re: deleting blocks 2.1.9?

2008-01-30 Thread Edward S
yes...if i just dont create a local.block.properties and do a build ...it works. Right now i am trying to access the landing page http://localhost:8080/webappname and its givnig this error. On 1/30/08, Andrew Savory [EMAIL PROTECTED] wrote: Hi, On 1/30/08, Edward S [EMAIL PROTECTED]

Re: deleting blocks 2.1.9?

2008-01-30 Thread Andrew Savory
Hi, On 1/30/08, Edward S [EMAIL PROTECTED] wrote: yes...if i just dont create a local.block.properties and do a build ...it works. Right now i am trying to access the landing page http://localhost:8080/webappname and its givnig this error. Ok, so start by copying blocks.properties to

Re: processToDom talking to another block

2008-01-30 Thread Grzegorz Kossakowski
anil pisze: Hi Grzegorz - Thanks for your help regarding talking to a pipeline in another block. I've got a supplementary question which I hope you can help with. How do I pass a string of XML to the pipeline to have it transformed? Basically I receive a string of XML in flowscript

Re: deleting blocks 2.1.9?

2008-01-30 Thread solprovider
On 1/30/08, Edward S [EMAIL PROTECTED] wrote: I am using Cocoon 2.1.9 and whenever I do a build, it builds all the blocks creating a total webapp size of around 70MB (incl. my components) I wanted to know, is there a way to stop Cocoon from building all the blocks? I tried the

Re: deleting blocks 2.1.9?

2008-01-30 Thread Joerg Heinicke
On 30.01.2008 10:04, Edward S wrote: Are there any blocks that we absolutely need to include...or can I do a exclude.all.blocks=true and still get a bare minimum cocoon running? And yes, it's possible to run Cocoon without any block included. Joerg

Re: REPOST: HTML Tags from a database field

2008-01-30 Thread Joerg Heinicke
On 12.01.2008 19:06, Grzegorz Kossakowski wrote: I just looked at the code of SQLTransformer and found this, which is rather interesting to you: protected void serializeData(String value) throws SQLException, SAXException { if (value != null) { value

Re: REPOST: HTML Tags from a database field

2008-01-30 Thread Derek Hohls
I hope that really was a joke!! On 2008/01/31 at 07:17, in message [EMAIL PROTECTED], Joerg Heinicke [EMAIL PROTECTED] wrote: On 12.01.2008 19:06, Grzegorz Kossakowski wrote: I just looked at the code of SQLTransformer and found this, which is rather interesting to you: protected