Hi,

You should store resources in another folder, not java source folder. Then
use a resources tag in POM.

        <resources>
            <resource>
                <directory>${basedir}/src/conf</directory>
                <includes>
                    <include>**/**</include>
                </includes>
            </resource>
        </resources> 


Regards

Carlos Sanchez
A Coru�a, Spain

Oness Project
http://oness.sourceforge.net


> -----Original Message-----
> From: Karan-Sahni (Contractor) [mailto:[EMAIL PROTECTED] 
> Sent: Friday, August 13, 2004 3:31 PM
> To: Maven Users List
> Subject: .property file in source folder being ignored by war:install
> 
> I have a 'resources' package in my WAR source folder with a 
> applicationResources.properties file. When I execute the 
> war:install goal, all the java files are compiled and the 
> respective class files are placed in WEB-INF/classes in the 
> war. But the .property file is ignored. How can I get the 
> property file to go to WEB/INF/classes too?
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 



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

Reply via email to