wtp and .properties files, specifically log4j [message #162963] |
Mon, 06 March 2006 19:10  |
Eclipse User |
|
|
|
Originally posted by: ciaron.dodgeit.com
Hi,
The documentation I'm am currently reading (the official spring starter
tutorial) mentions putting the log4j.properties config file into
WEB-INF/classes, however when I create that file, WTP does not seem to
deploy the file, or any other i put in that folder. The files do not seem
to get copied across to .deployables. Is there something I need to
configure for this to happen? Or should I be putting the .properties files
elsewhere.
cheers,
Ciaron
|
|
|
Re: wtp and .properties files, specifically log4j [message #163093 is a reply to message #162963] |
Tue, 07 March 2006 09:39  |
Eclipse User |
|
|
|
Originally posted by: dserodio.gmail.com
Ciaron Nixon wrote:
> Hi,
>
> The documentation I'm am currently reading (the official spring starter
> tutorial) mentions putting the log4j.properties config file into
> WEB-INF/classes, however when I create that file, WTP does not seem to
> deploy the file, or any other i put in that folder. The files do not
> seem to get copied across to .deployables. Is there something I need to
> configure for this to happen? Or should I be putting the .properties
> files elsewhere.
You should put any .properties files in a Source Folder, and Eclipse
will copy them to the "target folder". This works for both WTP and
"pure" Java projects. In WTP's case, the "target folder" is WEB-INF/classes/
HTH,
Daniel Serodio
|
|
|
Powered by
FUDForum. Page generated in 0.03507 seconds