On Fri, Sep 5, 2008 at 9:45 AM, <[EMAIL PROTECTED]> wrote:
> >
> > By the way, the settings.xml contains this:
> > <profile>
> > <id>jboss</id>
> > <activation>
> > <activeByDefault/>
>
>
> You need to change this to
>
> <activeByDefault>true</activeByDefault>
>
> as
>
> assert "true".equalsIgnoreCase("") == false;
>
>
> > </activation>
> > <properties>
> > <dbdriver>oracle.jdbc.driver.OracleDriver</dbdriver>
> > <dbuser>ing_epa</dbuser>
> > <dbpassword>ing_epa</dbpassword>
> > <dburl>jdbc:oracle:thin:@deneb:1521:WLP</dburl>
> > ...
> > </properties>
> > </profile>
> > </profiles>
> >
> > <activeProfiles>
> > <activeProfile>jboss</activeProfile>
> > </activeProfiles>
> >
>
> [Winter, Wolfgang] okay, maybe. But I activated the profile explicitly
> in the last line! Please excuse me when I criticize, but for me this is
> bad design. This is not what a dumb user like me expects, regardless of
> the setting of <activeByDefault>
Actually no, when you specify <activeByDefault/> (that is equivalent to
<activeByDefault>false</activeByDefault>) which AFAIK is overriding the
<activeProfiles> section.
If you had removed the <activeByDefault/> entirely it would be active
-Stephen