Em Tue, 22 Sep 2009 10:45:58 -0300, Sebastian Hennebrueder
<use...@laliluna.de> escreveu:
I think it would. hibernate.cfg.xml is in the class path whereas all
public resources are in
META-INF/resources. Basically we stop serving directly from the
classpath but instead deliver content using META-INF/resources as root.
If hibernate.cfg.xml stays in the classpath, your proposed solution does
not solve the problem.
For public resources, putting them in the classpath isn't a problem at all
and makes it very simple for packages to provide their resources (images,
for example). If put in META-INF/resources, Tapestry would need to write
new code to handle them and time is scarce for the committers. As it would
not solve the original problem (configuration files being acessible in the
internet), I don't think it's a good idea.
--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org