Hi Sai,
I guess WEB-INF/classes is better.
Feel free to submit a patch (also please ensure that the change does not
break the normal tar.gz packaging).
Thx, Eric
On 11/01/2013 17:28, Saibabu Vallurupalli wrote:
Hi All,
I am making a WAR out of James 3.0 Beta 4 version and found the property
files are in two locations pom.xml file has something shown below making
this duplicate copy.
*********
<resource>
<directory>src/main/resources</directory>
<!-- override the destination directory for this resource
-->
<targetPath>WEB-INF/conf/</targetPath>
<excludes>
<exclude>log4j.properties</exclude>
<exclude>**/lib/**</exclude>
</excludes>
</resource>
<resource>
<directory>src/main/resources</directory>
<!-- override the destination directory for this resource
-->
<targetPath>WEB-INF/classes/</targetPath>
<includes>
<include>log4j.properties</include>
</includes>
</resource>
***********
When I am deploying the WAR into my application server, it is throwing
errors saying duplication of properties. Which is the preferred location of
properties so that we can avoid duplication.
Please advise.
Thank you,
Sai
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org