james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Charles <e...@apache.org>
Subject Re: James 3 beta 4 POM.xml has multiple locations of configuration files
Date Sat, 12 Jan 2013 09:53:09 GMT
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-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message