How Server/Tomcat picks up the dynamic properties file in the WEB-INF/classes [message #332608] |
Thu, 30 October 2008 20:13 |
Eclipse User |
|
|
|
Hello,
We have a set of properties files. They are different according to various
environment, e.g. DEV, QA, and PROD. I have run the Ant build script to
drop a specific property file to WEB-INF/classes (the output folder). Then
I start Server/Tomcat. Tomcat kept not getting this property file. Please
note that this property file is not in the source folder (src). If it is
in the source folder, Tomcat picks it up just fine. However, it's not
ideal solution for me because I would like these dynamic properties file
only stay in the classes folder. Is there any way to make Server/Tomcat
pick up whatever in the WEB-INF/classes?
Thank you very much.
|
|
|
Powered by
FUDForum. Page generated in 0.05338 seconds