RE: pipeline dependencies

2003-06-20 Thread Carmona Perez, David
Create a simple selector to check if the file exists, and if it doesn't call pipeline A. David -Mensaje original- De: Ali Mesbah [mailto:[EMAIL PROTECTED] Enviado el: jueves, 19 de junio de 2003 14:10 Para: [EMAIL PROTECTED] Asunto: pipeline dependencies Hi, Is it possible

Re: pipeline dependencies

2003-06-20 Thread Ali Mesbah
As quoted from Upayavira [EMAIL PROTECTED]: Is it possible to define pipeline dependencies in the sitemap? Imagine I have two pipelines A and B. Pipeline B has a SourceWritingTransformer and all it does is writing a generated document on the filesystem. Pipeline A has its own

Re: pipeline dependencies

2003-06-20 Thread Upayavira
If you can get pipeline B to cache, then it will only write if the source of that pipeline has changed. Then, if necessary, you can ignore the aggregated output from pipeline B, but it is just there to enforce the dependency. All depends upon the caching of the

Re: pipeline dependencies

2003-06-20 Thread Ali Mesbah
As quoted from Upayavira [EMAIL PROTECTED]: Another way you can do it is read your original content from disc, then transform it into something like: xml source:write contentBlah/content /source:write contentBlah/content /xml This way you repeat your content twice, once to

Re: pipeline dependencies

2003-06-20 Thread Upayavira
The thing is I generate a stylesheet in B which is used in A (and in other pipelines): match pattern=B map:generate src=resources/{filename}.xml/ map:transform src=styles/Meta_output.xsl/ map:serialize type=xml/ /map:match Note that the output of B is a stylesheet (say

Re: pipeline dependencies

2003-06-20 Thread Ali Mesbah
As quoted from Upayavira [EMAIL PROTECTED]: Ali, Have you seen: http://wiki.cocoondev.org/Wiki.jsp?page=MetaStylesheets Maybe that'll help. It works indeed. I see what I was doing wrong; In my Meta_output at some places I had something like: xsl:text disable-output-escaping=yes

pipeline dependencies

2003-06-19 Thread Ali Mesbah
Hi, Is it possible to define pipeline dependencies in the sitemap? Imagine I have two pipelines A and B. Pipeline B has a SourceWritingTransformer and all it does is writing a generated document on the filesystem. Pipeline A has its own generator and transformer but it depends on the document

Re: pipeline dependencies

2003-06-19 Thread Upayavira
Is it possible to define pipeline dependencies in the sitemap? Imagine I have two pipelines A and B. Pipeline B has a SourceWritingTransformer and all it does is writing a generated document on the filesystem. Pipeline A has its own generator and transformer but it depends on the document

RE: XSP page getting called TWICE! (was: Pipeline dependencies)

2001-12-14 Thread Eisert, Wolfram
PROTECTED]] Gesendet am: Mittwoch, 12. Dezember 2001 17:49 An: [EMAIL PROTECTED] Betreff: RE: XSP page getting called TWICE! (was: Pipeline dependencies) Ah, but that's the rub. It's only invoked in one place in the Java code, and yet it gets called twice. Cocoon itself is calling

RE: XSP page getting called TWICE! (was: Pipeline dependencies)

2001-12-14 Thread David Rosenstrauch
] Betreff: RE: XSP page getting called TWICE! (was: Pipeline dependencies) Ah, but that's the rub. It's only invoked in one place in the Java code, and yet it gets called twice. Cocoon itself is calling this pipeline twice, for some reason, and I have no idea why. Thanks

RE: XSP page getting called TWICE! (was: Pipeline dependencies)

2001-12-12 Thread Nick Entin
your matcher to be invoked twice). Best wishes, Nick -Original Message- From: David Rosenstrauch [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 12, 2001 12:01 AM To: [EMAIL PROTECTED] Subject: RE: XSP page getting called TWICE! (was: Pipeline dependencies) I did. From

RE: XSP page getting called TWICE! (was: Pipeline dependencies)

2001-12-12 Thread David Rosenstrauch
). Best wishes, Nick -Original Message- From: David Rosenstrauch [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 12, 2001 12:01 AM To: [EMAIL PROTECTED] Subject: RE: XSP page getting called TWICE! (was: Pipeline dependencies) I did. From the trace, it seems like

RE: XSP page getting called TWICE! (was: Pipeline dependencies)

2001-12-11 Thread Jon Hawkesworth
Title: RE: XSP page getting called TWICE! (was: Pipeline dependencies) Probably totally irrelevant but if it stimulates thinking then maybe it will be a slight help: We had a performance problem in house once and in the course of debugging found that whenever an sql select was called

RE: XSP page getting called TWICE! (was: Pipeline dependencies)

2001-12-11 Thread Mitchell Christensen
page getting called TWICE! (was: Pipeline dependencies) I posted this a couple of times here, as well as once to the Dev list. No one's written back with any suggestions so far. I hope y'all don't mind, but I'd like to post this one more time. It's really stumping me! Please help

RE: XSP page getting called TWICE! (was: Pipeline dependencies)

2001-12-11 Thread David Rosenstrauch
]] Sent: 11 December 2001 15:37 To: [EMAIL PROTECTED] Subject: Re: XSP page getting called TWICE! (was: Pipeline dependencies) I posted this a couple of times here, as well as once to the Dev list. No one's written back with any suggestions so far. I hope y'all don't mind, but I'd like to post

RE: XSP page getting called TWICE! (was: Pipeline dependencies)

2001-12-11 Thread David Rosenstrauch
PROTECTED] Subject: Re: XSP page getting called TWICE! (was: Pipeline dependencies) I posted this a couple of times here, as well as once to the Dev list. No one's written back with any suggestions so far. I hope y'all don't mind, but I'd like to post this one more time. It's really stumping me

Re: XSP page getting called TWICE! (was: Pipeline dependencies)

2001-12-10 Thread David Rosenstrauch
Anyone have any thoughts on this? What could cause an XSP page to get called twice in the same request? Tnx! DR At 12:07 PM 12/7/01 -0500, you wrote: Actually, regarding the setup below (which I mentioned in another message), I'm having a problem with it and would appreciate some help.

Pipeline dependencies

2001-12-07 Thread Nick Entin
Hello! Does anybody know is that possible to make one pipeline to be dependent on another? Like I have a 2 frames in result - left frame is processed by one pipeline and right - by another. I want to be sure that the 'left' pipeline is executed first, because it produces some data, used by the

Re: Pipeline dependencies

2001-12-07 Thread Nicola Ken Barozzi
- Original Message - From: Nick Entin [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, December 07, 2001 12:02 PM Subject: Pipeline dependencies Hello! Does anybody know is that possible to make one pipeline to be dependent on another? Like I have a 2 frames in result - left

Re: Pipeline dependencies

2001-12-07 Thread David Rosenstrauch
Entin [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, December 07, 2001 12:02 PM Subject: Pipeline dependencies Hello! Does anybody know is that possible to make one pipeline to be dependent on another? Like I have a 2 frames in result - left frame is processed by one pipeline

XSP page getting called TWICE! (was: Pipeline dependencies)

2001-12-07 Thread David Rosenstrauch
Actually, regarding the setup below (which I mentioned in another message), I'm having a problem with it and would appreciate some help. Take a look at the sitemap segment below. And let me clarify it a bit too: The XSL stylesheet that I'm using in the transform on pd/mergedoc.html is

Re: XSP page getting called TWICE! (was: Pipeline dependencies)

2001-12-07 Thread David Rosenstrauch
Anyone have any thoughts on this? What could cause an XSP page to get called twice in the same request? Tnx! DR At 12:07 PM 12/7/01 -0500, you wrote: Actually, regarding the setup below (which I mentioned in another message), I'm having a problem with it and would appreciate some help.