Timothy and others,

I think I found a solution to this problem!

By adding this:

<xsp:dependency>/some/file/here.xsl</xsp:dependency>

Into the XSP file, ServerPagesGenerator checks if that file has also
changed. If it is, the
XSP is recompiled. You can add as many dependencies as you want. See:

src\java\org\apache\cocoon\components\language\markup\xsp\java\xsp.xsp for
more on this.

I haven't tested with a relative path yet, but it should work too. After
you add those lines, you have to remove the work dir, and restart tomcat
one more time.

Of course, this is manual a trick, and SHOULD be totally automatic
in
Cocoon with it's otherwise great caching algorithms.

I've reported the bug in Bugzilla.

-Tuomo


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

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to