On Dec 4, 2006, at 10:10 AM, Kimberly Nicholls wrote:
I am using rewrite-real-path with the merge scheme in resin
3.0.21. Here's a sample from my config file:
<rewrite-real-path>
<real-path regexp="^/merge/comp" target="merge:(custom/
comp;standard/comp)"/>
</rewrite-real-path>
I'm adding a bug report: http://bugs.caucho.com/view.php?id=1488
It looks like Resin's dependency checking is using the actual path
(i.e. standard/comp/test.jsp), not the full merge path. Until it's
fixed, then, you would need to delete all the generated code and
restart the web-app for Resin to pick up the new file.
-- Scott
This works great if I have a standard/comp/test.jsp file but not a
custom/comp/test.jsp. But when I add custom/comp/test.jsp, resin
doesn't use it -- it keeps using standard/comp/test.jsp.
I have tried forcing a recompile by deleting all generated files
that include test.jsp, but it still uses the standard/comp/
test.jsp. It does find the new file if I delete all of the
generated files and restart the server. It seems like it's caching
the merge path results somewhere. Is restarting the only way to
clear this, or is there some way I can force it to recalculate the
merge list?
Kimberly Nicholls
_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest
_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest