http://maven.apache.org/maven-1.x/reference/properties.html
On 1/5/07, Rakesh Patel <[EMAIL PROTECTED]> wrote:
Hi, I am new to Maven so apologies if this is obvious to people. I have a need to keep a set of properties and use them in various other files eg database connection settings need to make it to the tomcat server.xml file, the spring configuration file, etc. Previously i used Ant and i would create multiple property files and have Ant work out which one to use during a build (the property file would be named in such a way as to include the current machine name). Not perfect (if i wanted to do a build for another machine from my box i had to do some manual work) but it meant I had one source of property values that could feed other files. Quite a bit lost how to do something similar (or better?) in Maven 1.x. Thanks R --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- -------------------------------------------- Eric Ballet Baz [EMAIL PROTECTED] http://eballetbaz.free.fr --------------------------------------------
