You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Dan Ciarniello <dc...@cityxpress.com> on 2008/05/28 18:05:37 UTC

Recompilation when include changes

According to the Jasper documentation at 
http://tomcat.apache.org/tomcat-6.0-doc/jasper-howto.html,

"Jasper 2 can now detect when a page included at compile time from a JSP 
has changed and then recompile the parent JSP."

but this does not seem to work, at least not when compiling using the 
ant task given on the same page.  I compiled a set of pages using the 
ant task, touched one of the includes and then recompiled but no files 
were recompiled.  Is there a flag that needs to be turned on or does the 
above statement only apply to a running Tomcat and not to pre-compiling.

Thanks,
Dan.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Recompilation when include changes

Posted by Mark Thomas <ma...@apache.org>.
Dan Ciarniello wrote:
> Dan Ciarniello wrote:
>> According to the Jasper documentation at 
>> http://tomcat.apache.org/tomcat-6.0-doc/jasper-howto.html,
>>
>> "Jasper 2 can now detect when a page included at compile time from a 
>> JSP has changed and then recompile the parent JSP."
>>
>> but this does not seem to work, at least not when compiling using the 
>> ant task given on the same page.  I compiled a set of pages using the 
>> ant task, touched one of the includes and then recompiled but no files 
>> were recompiled.  Is there a flag that needs to be turned on or does 
>> the above statement only apply to a running Tomcat and not to 
>> pre-compiling.
>>
>> Thanks,
>> Dan.
>>
>>
> Anyone?
http://wiki.apache.org/tomcat/FAQ/Tomcat_User#Q2

Mark


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Recompilation when include changes

Posted by Dan Ciarniello <dc...@cityxpress.com>.
Dan Ciarniello wrote:
> According to the Jasper documentation at 
> http://tomcat.apache.org/tomcat-6.0-doc/jasper-howto.html,
>
> "Jasper 2 can now detect when a page included at compile time from a 
> JSP has changed and then recompile the parent JSP."
>
> but this does not seem to work, at least not when compiling using the 
> ant task given on the same page.  I compiled a set of pages using the 
> ant task, touched one of the includes and then recompiled but no files 
> were recompiled.  Is there a flag that needs to be turned on or does 
> the above statement only apply to a running Tomcat and not to 
> pre-compiling.
>
> Thanks,
> Dan.
>
>
Anyone?

Thanks,
Dan


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org