[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform] How Server/Tomcat picks up the dynamic properties file in the WEB-INF/classes

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.