You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Saloucious <sa...@gmail.com> on 2007/11/26 12:05:49 UTC
[Solved]Re: Active a profile if another is not activated
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 <sa...@gmail.com> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
>
--
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: [Solved]Re: Active a profile if another is not activated
Posted by Saloucious <sa...@gmail.com>.
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 <sa...@gmail.com> 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: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>>
>
>
--
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org