|log4j.xml not copied to build folder [message #549245]
||Mon, 26 July 2010 05:06
| Abid Hussain
Registered: July 2010
I posted the same question already to the WTP forum, but finally noticed that it is more related to the JDT.
I have a maven project (using the m2 plugin) configured as dynamic web project. In the folder src/main/resources (which is configured in Build Path properties as one of the source folders without any file excluding) there are several configuration files, one of those is log4j.xml. The Build folder is target/classes.
For some reasons which I don't understand all files - including several xml files - in the folder src/main/resources are copied to target/classes but not the log4j.xml.
I always have to copy it manually to target/classes.
The same behaviour does occur when I delete the log4j.xml from src/main/resources and add it again -> it won't be copied.
My question is: has anybody an explanation about this behaviour or could it be that the file is copied but somehow deleted straight away?
Powered by FUDForum
. Page generated in 0.01793 seconds