Hello Nir

Modules which are not defined inside a profile are "always active".
Modules defined inside a profile will be added to the ones defined
outside a profile. To achive your needs you define at best two profiles.
The first one contains modules a and b and is activated by default, the
second profile contains only the module a and is not active by default.

Cheers,
Martin
http://el4j.sf.net


 

> -----Original Message-----
> From: Nir Feldman [mailto:[EMAIL PROTECTED] 
> Sent: Mittwoch, 11. Oktober 2006 12:05
> To: [email protected]
> Subject: Using modules in profiles
> 
> I would like to define the following:
> 
>  
> 
> <project>
> 
> .....
> 
> <modules>
> 
>             <module>a</module>
> 
>             <module>b</module>
> 
> </modules>
> 
> <profiles>
> 
>             <profile>
> 
>                         <id>profile1</id>
> 
>                         <modules>
> 
>                                     <module>a</module>
> 
>                         </modules>
> 
>             </profile>
> 
> </profiles>
> 
> ....
> 
> </project>
> 
>  
> 
> The expected behavior is:
> 
> When running the project with no profile a and b will be built.
> 
> When running the project with profile1 profile only a will be built.
> 
>  
> 
> How can this behavior be achieved?
> 
>  
> 
> Thanks,
> 
> Nir Feldman, CCM R&D, [EMAIL PROTECTED]
> direct +972-3-5399896  fax +972-3-5331617
> 19 Shabazi St., Yehud, Israel 56100
> 
> MERCURY
> Business Technology Optimization
> www.mercury.com <http://www.mercury.com> 
> 
>  
> 
> 
> ______________________________________________________________________
> This email has been scanned by the MessageLabs Email Security System.
> For more information please visit http://www.messagelabs.com/email 
> ______________________________________________________________________
> 

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

Reply via email to