I think what you can do here is put each configuration in a separate profile, then you can activate which profile you will use when you build the project. You can configure the war plugin for each profile and set the warSourceIncludes and warSourceExcludes parameters to specify which of the config files you want included/excluded in that profile.

HTH,
Deng

Kiran Kodlady wrote:
Hey..
I have encountered a problem while bundling a particular configuration files
inside War project:
Let me explain in detail on this :

War project structure is like below :
 xyz_War--->config-->  IST-----------------> A bunch of xmls related to
IST phase
                           --> UAT----------------->A bunch of xmls
related to UAT phase
                            --> PRD----------------->A bunch of xmls
related to PRD phase -->src-->main-->java -->target -->webapp-->WEB-INF-->web.xml Explanation : xyz_War consists of folders like config, src,webapp,target. config folder consists of different sub folders related
to each testing phase of application(IST,UAT,PRD). These folders contain
same set of files with different contents altogether.
For a particular build i need to bundle only one set of files among IST,
UAT or PRD.
Hope u got my question. I need to pass this parameter(IST,UAT or PRD)
during runtime of build creation.

Thanks,

Kiran Kodlady


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to