Did you look into filtering and profiles?

http://maven.apache.org/guides/getting-started/index.html#How_do_I_filter_resource_files

http://maven.apache.org/guides/introduction/introduction-to-profiles.html

Regards,
Siahrei

On Nov 27, 2007 11:04 PM, nash4403 <[EMAIL PROTECTED]> wrote:

>
> Our problems
>
>  1. Multi environment like DEV,QA, STAGING and PROD.A Perl script will
> take
> two parameters .One for environment and other for application and produce
> the configuration XML file.
>
> 2.We use GNU M4 for variable substitution to substitute variables from
> configuration XML file to substitute dynamic variables in tomcat/conf or
> httpd/conf files.How do I do this in Maven and eliminate M4 for variable
> substitution?
>
> 3.We use GNU Make to build and deploy.4. There are makefiles in each
> subdirectory thus helping us build that subdirectory or build a java file
> in
> that subdirectory
> like Make abc.java or say make on that directory,
>
> This gives us flexibility to make only that subdirectory .We did provide
> intelligence to that make process to compile the classes in that
> subdirectory and also compile only the depenedent classes if any from the
> root source.
>
> How can Maven help us here to eliminate MAKE all together?
>
> Our environment consists of PERL,cvs,ANT,GNU MAKE,GNU M4.
>
>
> Gurus please post your proposed solutions of using Maven?
>
>
>
> --
> View this message in context:
> http://www.nabble.com/Maven-Usage-on-Enterprise-Application-tf4884771s177.html#a13980963
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to