Hello,

I'm trying to pull in the database parameters (user
name, password, etc) from a properties file. 

Filtering works correctly for my hibernate.cfg file in
src/test/resources.

However, I have a context.xml file in my META-INF
folder. Following the instructions for the 'war'
plugin, I tried to customize it as shown below: 

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.0-beta-3-SNAPSHOT</version>
<configuration>
<filters>
<filter> myproject.properties </filter>
</filters>    

<webResources>
<resource>
                  
<directory>src/main/webapp/META-INF</directory>
                                                      
 <filtering>true</filtering>

It does not work, however, and I'm not sure I'm doing
it right. Any suggestions?

Thanks in advance.

Regards,
Sharath
              

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to