How to make Server/Tomcat pick up dynamic properties file in WEB-INF/classes [message #265972] |
Thu, 30 October 2008 20:17  |
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.
|
|
|
Re: How to make Server/Tomcat pick up dynamic properties file in WEB-INF/classes [message #265982 is a reply to message #265972] |
Fri, 31 October 2008 09:13  |
Eclipse User |
|
|
|
Originally posted by: eclipse-news.rizzoweb.com
I'm copying this thread to the eclipse.webtools newsgroup where it might
get more attention.
On 10/30/2008 8:17 PM, Jan Yan wrote:
> 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.23308 seconds