|
From: Chandra P. <cp...@ig...> - 2007-05-24 06:26:57
|
Leif, We share application/configuration between servers. One example of this is -Xms -Xmx for servers with 2GB vs 4GB memory. And we don't want to have proliferation of config files for small changes but at the same time allow some minors variation based on tags. I hope that you recognize that fine grained config selectors are very useful features. One way to achieve the same effect by using=20 #include nfspath/%TAG_NAME%/j2ee.conf Due to strict numbering requirement for wrapper wrapper.java.additional.<n>, etc makes this difficult to maintain. Do you have any plans to remove this restriction? I was looking at the wrapper code and it didn't seem too difficult.=20 -Chandra -----Original Message----- From: wra...@li... [mailto:wra...@li...] On Behalf Of Leif Mortenson Sent: Wednesday, May 23, 2007 6:08 PM To: wra...@li... Subject: Re: [Wrapper-user] dev/stage/production configuration selectors Chandra, This is something that I often do myself using Ant. It is quite easy to do token replacements using Ant and generate the wrapper.conf from a template. Have you looked into this? It would make your production wrapper.conf much cleaner than what you suggested. Let me know if there are some reasons why Ant would not work for you. Cheers, Leif Chandra Patni wrote: > It will be quite useful if wrapper can support, > > wrapper.java.additional.N.development=3D-DDevSpecificProperty > wrapper.java.additional.N.staging=3D-DStagingSpecificProperty > wrapper.java.additional.N.production=3D-DProductionSpecificProperty > > #APPLICATION_ROLE variable is set to either (development, staging, > production)=20 > > wrapper.config.filter.selector=3D%APPLICATION_ROLE% > > I am wondering if anything like this already exists or in the pipeline. > > -Chandra ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Wrapper-user mailing list Wra...@li... https://lists.sourceforge.net/lists/listinfo/wrapper-user |