Yes.  Thank you. That worked.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Marcelo Colomer Cornejo
Sent: Monday, April 23, 2007 3:30 PM
To: Maven Users List
Subject: RE: Correct location for properies files

We put them into src/main/resources. 
The package goal copy them into Web-inf/classes.

<build>
        <sourceDirectory>src/main/java</sourceDirectory>
        
<outputDirectory>target/${artifactId}-${version}/WEB-INF/classes</output
Directory>
        <resources>
                <resource>
                        <directory>src/main/resources</directory>
                </resource>
        </resources>
        <directory>target</directory>
        <finalName>${artifactId}-${version}</finalName>
        <defaultGoal>war</defaultGoal>



-----Mensaje original-----
De: Holt, Jack C. [mailto:[EMAIL PROTECTED] 
Enviado el: lunes, 23 de abril de 2007 23:34
Para: users@maven.apache.org
Asunto: Correct location for properies files

Where is the correct location in the project directory tree for
properties files?

 

For instance, I am using a file I call message_en.properties that is
used to contain the i18n messages that I want to access using resource
bundles. In other words, it contains the English version of
internationalized text.

 

Currently, I'm putting them in my src/main/java directory and Eclipse is
automatically copying them into the directory with my test app server
needs them.  However, maven doesn't seem to know where to put them on
its own. 


---------------------------------------------------------------------
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