I was not fast enough... Some people on this list are insanely fast :)

Anyway, the question was asked a few weeks ago, and here was my reply:

http://www.nabble.com/Bundling-a-particular-set-of-files%28Environment%2
9-inside-War-project-tf3823795s177.html#a10892562

It might save you some time over experimenting by yourself.

Arnaud

-----Original Message-----
From: Nathan Maves [mailto:[EMAIL PROTECTED] 
Sent: lundi 11 juin 2007 17:35
To: Maven Users List
Subject: Re: Better solution then filtering?

Not sure how I over looked that but it should work great for what I am
doing.

Thanks Dirk

On 6/11/07, Dirk Olmes <[EMAIL PROTECTED]> wrote:
>
> Nathan Maves wrote:
> > First off great product!
> >
> > I am using filtering for all of my property files that differ from
> multiple
> > environments (dev, uat, prod).  I am a little stuck on how to filter
> files
> > that differ dramatically from env to env.  One such file is a log4j
> > properties file.  We have very different files depending on env.  Is
> there
> > any way, without using ant, to copy these files to the target
> directories
> > based on which profile is used.
>
> One way would be to define profiles for your various environments. In
> each profile, configure the resources section. (A look at
> http://maven.apache.org/ref/current/maven-model/maven.html helps how
to
> do that).
>
> Your project doesn't have a single resources dir then, but one for
each
> profile (and one for resources that are the same on all profiles,
maybe)
>
> -dirk
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
Ce message et ses pièces jointes (le "message") est destiné à l'usage
exclusif de son destinataire.
Si vous recevez ce message par erreur, merci d'en aviser immédiatement
l'expéditeur  et de le détruire ensuite. Le présent message  pouvant
être altéré à notre insu,  CALYON Crédit Agricole CIB
ne peut pas être engagé par son contenu. Tous droits réservés.

This message and/or any  attachments (the "message") is intended for
the sole use of its addressee.
If you are not the addressee, please immediately notify the sender and
then destroy the message.  As this message and/or any attachments may
have been altered without our knowledge,  its content  is not legally
binding on CALYON Crédit Agricole CIB. All rights reserved.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to