Yup. I have multiple profiles activated by different values being set
for the tomcat parameter. If nothing is set then the one with
<activeByDefault>true</activeByDefault> is used.
Lee Meador wrote:
Does that work to have <activation> with <activeByDefault> and a <property>
in the same profile? Does it activate if you put tomcat=local or anytime
some other profile doesn't get activated?
Thanks.
-- Lee
On 4/5/06, Richard Wallace <[EMAIL PROTECTED]> wrote:
Henry S. Isidro wrote:
Richard Wallace wrote:
Is the <activeByDefault /> flag working for profiles? I've got the
following profiles.xml
<profiles>
<profile>
<id>tomcat-local</id>
<activation>
<activeByDefault/>
<property>
<name>tomcat</name>
<value>local</value>
</property>
</activation>
<properties>
<tomcat.server>tomcat-local</tomcat.server>
<tomcat.url>http://localhost:8080/manager</tomcat.url>
</properties>
</profile>
</profiles>
Shouldn't you put a value in the <activeByDefault> tag? Like
<activeByDefault>true</activeByDefault>
Yup, you're absolutely right. I hope that wasn't the problem this
whole time. That'd be really embarrassing ;)
Thanks,
Rich
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
-- Lee Meador
Sent from gmail. My real email address is [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]