You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Mohamed Abdel Hameed <mo...@imkenberg.net> on 2002/02/04 18:48:44 UTC

problem in updating xsl

Hello everybody
i have a problem with cocoon and xsl
when i modify xsl file i should to restart cocoon to get the effect 
before this was working good 
i modify xsl file and see the effect without need to restart cocoon
but now this not work good .



Re: problem in updating xsl

Posted by Nicola Ken Barozzi <ba...@nicolaken.com>.
From: "Luca Morandini" <l....@tin.it>

> Mohamed,
>
> do you insert this stylesheet in another styleshhet using <xsl:import> ?
>
> If so, you should "touch" (change the file date) of the importing
stylesheet
> to make Cocoon recognize that the imported stylesheet has been modified.

During development, it's easier just to disable all caching stuff and make
Xalan not reuse anything.
The changes are to be made in cocoon.xconf.

--
Nicola Ken Barozzi                 krysalis.org@nicolaken.com
            - verba volant, scripta manent -
   (discussions get forgotten, just code remains)
---------------------------------------------------------------------


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


Re: problem in updating xsl

Posted by Andre Thenot <at...@thenot.net>.
On Monday, February 4, 2002, at 02:16 , Luca Morandini wrote:

> If so, you should "touch" (change the file date) of the 
> importing stylesheet
> to make Cocoon recognize that the imported stylesheet has been 
> modified.

This made my day!

Note that Cocoon relies on the "Modify" time of the files, and 
if you're editing your files remotely using a transfer program 
that touches only the "Change" time and not the "Modify" time, 
you be seeing the same stuff refresh after refresh, even if you 
do deactivate the caching as Nicola said further down in this 
thread.

A.


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


RE: problem in updating xsl

Posted by Luca Morandini <l....@tin.it>.
Mohamed,

do you insert this stylesheet in another styleshhet using <xsl:import> ?

If so, you should "touch" (change the file date) of the importing stylesheet
to make Cocoon recognize that the imported stylesheet has been modified.

Best regards,

---------------------------------------------
               Luca Morandini
               GIS Consultant
              lmorandini@ieee.org
http://utenti.tripod.it/lmorandini/index.html
---------------------------------------------


> -----Original Message-----
> From: Mohamed Abdel Hameed [mailto:mohamed@imkenberg.net]
> Sent: Monday, February 04, 2002 8:10 PM
> To: cocoon-users@xml.apache.org
> Subject: Re: problem in updating xsl
>
>
> i'm using cocoon-2 - tomcat server - under windows2000
> the problem was not existing before , i work with xsl and modify
> it  then i
> can see this modification
> without needing to restart tomcat server
> but now when i try to make any modification
> i can't see this modification till i restart tomcat again
> i think that a problem exist but i don't know what is this problem .
> thanx for your interest
>
> ----- Original Message -----
> From: "Vadim Gritsenko" <va...@verizon.net>
> To: <co...@xml.apache.org>
> Sent: Monday, February 04, 2002 8:12 PM
> Subject: RE: problem in updating xsl
>
>
> Please be more specific of what you are using (Cocoon version, engine,
> etc), and what you are trying to do. Use plain text mail.
>
> Vadim
>
> -----Original Message-----
> From: Mohamed Abdel Hameed [mailto:mohamed@imkenberg.net]
> Sent: Monday, February 04, 2002 12:49 PM
> To: cocoon-users@xml.apache.org
> Subject: problem in updating xsl
>
> Hello everybody
> i have a problem with cocoon and xsl
> when i modify xsl file i should to restart cocoon to get the effect
> before this was working good
> i modify xsl file and see the effect without need to restart cocoon
> but now this not work good .
>
>
>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>
>
>
>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>
>
>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


Re: problem in updating xsl

Posted by Mohamed Abdel Hameed <mo...@imkenberg.net>.
i'm using cocoon-2 - tomcat server - under windows2000
the problem was not existing before , i work with xsl and modify it  then i
can see this modification
without needing to restart tomcat server
but now when i try to make any modification
i can't see this modification till i restart tomcat again
i think that a problem exist but i don't know what is this problem .
thanx for your interest

----- Original Message ----- 
From: "Vadim Gritsenko" <va...@verizon.net>
To: <co...@xml.apache.org>
Sent: Monday, February 04, 2002 8:12 PM
Subject: RE: problem in updating xsl


Please be more specific of what you are using (Cocoon version, engine,
etc), and what you are trying to do. Use plain text mail.

Vadim

-----Original Message-----
From: Mohamed Abdel Hameed [mailto:mohamed@imkenberg.net] 
Sent: Monday, February 04, 2002 12:49 PM
To: cocoon-users@xml.apache.org
Subject: problem in updating xsl

Hello everybody
i have a problem with cocoon and xsl
when i modify xsl file i should to restart cocoon to get the effect 
before this was working good 
i modify xsl file and see the effect without need to restart cocoon
but now this not work good .




---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>




---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


Re: problem in updating xsl

Posted by Mohamed Abdel Hameed <mo...@imkenberg.de>.
i'm using cocoon-2 - tomcat server - under windows2000
the problem was not existing before , i work with xsl and modify it  then i
can see this modification
without needing to restart tomcat server
but now when i try to make any modification
i can't see this modification till i restart tomcat again
i think that a problem exist but i don't know what is this problem
----- Original Message -----
From: "Vadim Gritsenko" <va...@verizon.net>
To: <co...@xml.apache.org>
Sent: Monday, February 04, 2002 8:12 PM
Subject: RE: problem in updating xsl


Please be more specific of what you are using (Cocoon version, engine,
etc), and what you are trying to do. Use plain text mail.

Vadim

-----Original Message-----
From: Mohamed Abdel Hameed [mailto:mohamed@imkenberg.net]
Sent: Monday, February 04, 2002 12:49 PM
To: cocoon-users@xml.apache.org
Subject: problem in updating xsl

Hello everybody
i have a problem with cocoon and xsl
when i modify xsl file i should to restart cocoon to get the effect
before this was working good
i modify xsl file and see the effect without need to restart cocoon
but now this not work good .




---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>




---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


RE: problem in updating xsl

Posted by Vadim Gritsenko <va...@verizon.net>.
Please be more specific of what you are using (Cocoon version, engine,
etc), and what you are trying to do. Use plain text mail.

Vadim

-----Original Message-----
From: Mohamed Abdel Hameed [mailto:mohamed@imkenberg.net] 
Sent: Monday, February 04, 2002 12:49 PM
To: cocoon-users@xml.apache.org
Subject: problem in updating xsl

Hello everybody
i have a problem with cocoon and xsl
when i modify xsl file i should to restart cocoon to get the effect 
before this was working good 
i modify xsl file and see the effect without need to restart cocoon
but now this not work good .
 
 


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>