[Solved]Re: Active a profile if another is not activated

2007-11-26 Thread Saloucious

Ok my problem are solved,
because I haven't understand that defining a profiles List on command line
(-P) overrides actived By Default profiles configuration



Wendy Smoak-3 wrote:
 
 On Nov 23, 2007 10:03 AM, Saloucious [EMAIL PROTECTED] wrote:
 
 Is it possible to activate a profile if a profile is or is not activated
 ?
 
 Not directly, but what problem are you trying to solve?
 
 If you need to activate exactly one of a set of profiles, you can do
 it with the absence/presence or value of a system property.
 
 -- 
 Wendy
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Active-a-profile-if-another-is-not-activated-tf4862672s177.html#a13947580
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Re: [Solved]Re: Active a profile if another is not activated

2007-11-26 Thread Saloucious

Ok my problem is solved, 

-- Sorry 


Saloucious wrote:
 
 Ok my problem are solved,
 because I haven't understand that defining a profiles List on command line
 (-P) overrides actived By Default profiles configuration
 
 
 
 Wendy Smoak-3 wrote:
 
 On Nov 23, 2007 10:03 AM, Saloucious [EMAIL PROTECTED] wrote:
 
 Is it possible to activate a profile if a profile is or is not activated
 ?
 
 Not directly, but what problem are you trying to solve?
 
 If you need to activate exactly one of a set of profiles, you can do
 it with the absence/presence or value of a system property.
 
 -- 
 Wendy
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Active-a-profile-if-another-is-not-activated-tf4862672s177.html#a13947581
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Re: Active a profile if another is not activated

2007-11-23 Thread nicolas de loof
A solution to test :

profile
  idprofile1/id
  activation
 property!foo/property // get active if foo is NOT set

  /activation
/profile

profile
  idprofile2/id
  properties
 foobar/foo // define foo when active - disable profile 1
  /properties
/profile


2007/11/23, Saloucious [EMAIL PROTECTED]:


 Hi,

 Is it possible to activate a profile if a profile is or is not activated ?


 --
 View this message in context:
 http://www.nabble.com/Active-a-profile-if-another-is-not-activated-tf4862672s177.html#a13915247
 Sent from the Maven - Users mailing list archive at Nabble.com.


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




Re: Active a profile if another is not activated

2007-11-23 Thread Wendy Smoak
On Nov 23, 2007 10:03 AM, Saloucious [EMAIL PROTECTED] wrote:

 Is it possible to activate a profile if a profile is or is not activated ?

Not directly, but what problem are you trying to solve?

If you need to activate exactly one of a set of profiles, you can do
it with the absence/presence or value of a system property.

-- 
Wendy

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



Active a profile if another is not activated

2007-11-23 Thread Saloucious

Hi,

Is it possible to activate a profile if a profile is or is not activated ?


-- 
View this message in context: 
http://www.nabble.com/Active-a-profile-if-another-is-not-activated-tf4862672s177.html#a13915247
Sent from the Maven - Users mailing list archive at Nabble.com.


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