Re: Variable Sub. in Conf Files?

2005-05-15 Thread Brett Porter
I know... I opened it before I became a committer :) This will be addressed in m2 (currently working through the proposal in terms of profiles). Kenney has already atttached a patch to the MNG issue if anyone needs filtering for m2 today (though it won't be compatible with the final solution I don

Re: Variable Sub. in Conf Files?

2005-05-15 Thread Felipe Leme
Brett/Rick, First of all, sorry for just sending this message 3 months after the original, but just now I got some time to loop over the 2k+ message I haven't read yet :-( Anyway, just FYI, there is a JIRA issue regarding this feature: http://jira.codehaus.org/browse/MAVEN-514 The issues seems

Re: Variable Sub. in Conf Files?

2005-02-13 Thread Tim Stephenson
Hi, You can still use Ant's 'replace' http://ant.apache.org/manual/CoreTasks/replace.html and ReplaceRegEx http://ant.apache.org/manual/OptionalTasks/replaceregexp.html tasks in your maven.xml file. So you could write a preGoal something like this (I stress I haven't tested it but it

Re: Variable Sub. in Conf Files?

2005-02-13 Thread Brett Porter
http://www.apache.org/~brett/maven-stage-site/faq.html#filtering-resources On Sun, 13 Feb 2005 20:08:31 -0500, Rick Mangi <[EMAIL PROTECTED]> wrote: > Hello all, > > I'm wondering if there is an easy way to do variable substitution in > config files (e.g. log4j.conf, hibernate.conf) as they are

Variable Sub. in Conf Files?

2005-02-13 Thread Rick Mangi
Hello all, I'm wondering if there is an easy way to do variable substitution in config files (e.g. log4j.conf, hibernate.conf) as they are moved into the target directory. So for example, I'd like to be able to use a placeholder variable in a conf file, put default values in project.properties