Hey Andrea - can you do the same property defined / property not defined 
trick I did for oracle?
That way you are sure to get either one (but not both) - and you have 
full control.

So to use "jai" people would need to define a property in their 
settings.xml file - have a look
at the oracle example for details.

Jody

Andrea Aime wrote:
> Hi all,
> unfortunately I can't find a way to make the nojai active by default
> properly, that is, stay there, but be able to disable it using env
> variables or settings.xml.
>
> First surprise for me is that a profile that is "activeByDefalt"
> will disable itself as soon as another profile is activated, so
> for example if you enable stress tests, the nojai profile would
> disable (and this is the default behaviour!).
>
> Moreover, once I set nojai active by default, I can't find
> a way to disable it anymore (that is crazy, too). That is,
> -P!nojai or -P-nojai won't disable it.
>
> Again, it seems that in maven everything is there to make
> profiles be activated, but nothing to disable them.
>
> So, in the end, it seems that unless some smart guy is able
> to get this right, we'll be stuck having nojai as something
> we have to activate by hand, or by modifying settings.xml
> by adding the following section:
>
>    <activeProfiles>
>      <activeProfile>nojai</activeProfile>
>    </activeProfiles>
>
> Cheers
> Andrea
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Geotools-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>   


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to