Yeah, I tried this:
<settings>
<activeProfiles>
<activeProfile>foxboro</activeProfile>
</activeProfiles>
<profiles>
<profile>
<id>foxboro</id>
<activation>
<activeByDefault/>
</activation>
<properties>
<db.port>9999</db.port>
</properties>
</profile>
</profiles>
</settings>
But that port was never picked up.
What did I do wrong here?
-----Original Message-----
From: dan tran [mailto:[EMAIL PROTECTED]
Sent: Friday, April 07, 2006 10:58 AM
To: Maven Users List
Subject: Re: conditionally loading property files
you can profile your resources ( never done it before thou )
http://maven.apache.org/guides/introduction/introduction-to-profiles.htm
l
-D
On 4/7/06, EJ Ciramella <[EMAIL PROTECTED]> wrote:
>
> sorry, drumming this up again guys - so I have the following:
>
> <filters>
> <filter>src/main/filters/filter.properties</filter>
> <filter>${user.home}/${pom.name}.properties</filter>
>
> <filter>${user.home}/${pom.name}-${pom.version}.properties</filter>
> </filters>
>
> But if a file doesn't exist, maven fails. How can I make maven just
> continue if it doesn't exist instead of failing?
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]