http://jakarta.apache.org/commons/jelly/libs/util/tags.html

Be sure you have
  xmlns:util="jelly:util"
in your <project> tag, then

<util:properties file="build-qa.properties" trim="true" />

You can do this right after the <project> tag, or in some kind of <goal
name="init"> type of thing that everybody prereqs.



----- Original Message ----- 
From: "Nelson, Scott (MAN-Corporate)" <[EMAIL PROTECTED]>
To: "'Maven Users List'" <[EMAIL PROTECTED]>
Sent: Monday, November 24, 2003 4:31 PM
Subject: specify a different properties file rather than build.properties
file


> Hey guys,
>
> After reading the documentation I know that the order of properties file
> processing is project.properties, build.properties,
> build.properties(user.home).  I also read that the -Dname=value properties
> set at the CLI take precedence over all of these but...
>
> Say I wanted maven to use a file called build-qa.properties instead of
> build.properties, is there a way to do this in maven?
>
> I noticed that you can specify your project.xml file at the command line
> with the -p option but I didn't see anything related to the properties
file
> so I am assuming that what I want to do can't be done.  Anybody know for
> sure?
>
> Thanks in advance,
>
> -Scott
>
> ---------------------------------------------------------------------
> 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