Thank you Steve and Wayne. Let me do some more research and yhen I would be able to come up with better questions if I have any
But you guys are great.Thanks for the help.. Nagesh Steven Rowe wrote: > > Nagesh, > > Please keep the discussion on the mailing list, rather than sending mail > to my personal address. > > It's not clear to me what part of this process you want Maven to > perform. Do you still envision using Perl/M4 to generate content, and > want to know how Maven can be used to orchestrate the process? Or do > you want to know whether Maven can do everything? > > I agree with Wayne in general, that profiles (environmentally triggered > alternative configuration) and filtering (template interpolation using > property mappings) should do what you want. > > But I'm afraid that unless you provide more details about the process > you want to create/replicate, I can't help you any further than I > already have. > > Steve > > [EMAIL PROTECTED] wrote: >> Steve, >> M4 is kind of template stuffed with conetnt and based on whether it >> is a SSL or NON SSL info comes from a configuration file.M4 will >> generate the actual file. >> >> The reason we do this is we build the tar ball on one build box push >> it on to PROD servers. We run a make on each PROD server which will >> invoke M4 and the M4 will generate the files specific to that server. >> >> Regards, >> Nagesh >> >> Steven Rowe wrote: >>> Nagesh, >>> >>> If you could be more concrete about what you're trying to accomplish, we >>> could be more concrete about how you might accomplish it. >>> >>> For example, where does the information about whether a server is ssl or >>> non-ssl come from? And what sort of file is produced by M4 with your >>> current build system? Is it a template with stuff filled in based on >>> the answer to the question about the (non-)ssl nature of the server? >>> [...] >>> >>> Steve >>> >>> Wayne Fay wrote: >>>> Profiles + Filtering makes results comparable to what you're doing >>>> with the M4 files. >>>> >>>> Wayne >>>> >>>> On 7/2/07, nash4403 <[EMAIL PROTECTED]> wrote: >>>>> Thanks Steve. >>>>> But the other question is we have couple of M4 files. >>>>> The use of M4 is to have variable substitution.When we run make the m4 >>>>> file >>>>> is executed and generates a file based on whether on ssl or non-ssl >>>>> server. >>>>> >>>>> Does Maven have anything to replace my M4s >>>>> >>>>> Regards, >>>>> Nagesh >>>>> >>>>> >>>>> Steven Rowe wrote: >>>>>> Hi Nagesh, >>>>>> >>>>>> Here are some places to start: >>>>>> >>>>> http://maven.apache.org/guides/introduction/introduction-to-profiles.html >>>>>> http://www.sonatype.com/book/profiles.html >>>>>> >>>>>> Steve >>>>>> >>>>>> nash4403 wrote: >>>>>>> We have different environments like DEV,QA,STAGE and PRODUCTION. >>>>>>> We have m4 files which generate the content based on different >>>>> variables. >>>>>>> So the m4 files get the input from config file . >>>>>>> We have perl scripts to generate the variables to be used by M4 >>>>> files to >>>>>>> generate the config files for different environments?. >>>>>>> >>>>>>> How can MAVEN help me to maintain different environments and >>>>> different >>>>>>> applications? >>>>>>> Any examples on the net on how maven can help manage different >>>>>>> environments? >>>>>>> >>>>>>> Nagesh > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/To-replace-M4-files-and-Make-files-using-Maven-tf4014231s177.html#a11417950 Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
