Hi Olivier,

You need to include your properties file in a src/conf folder and add a
<resource> section in your project.xml so that they get copied to your
runtime classes directory. Then the war task will pick them from there.

-Vincent

> -----Original Message-----
> From: LAMY Olivier [mailto:[EMAIL PROTECTED]
> Sent: 19 June 2003 16:02
> To: Maven Users List (E-mail)
> Subject: war:war task including properties file
> 
> Hi all,
> I'm trying to use the war:war task.
> My directory is
> 
> src
>     /conf
>         /war
>             /WEB-INF
>                 web.xml
>                 /classes
>                     *.properties
> 
> I want to build my war file to
> dist/war
> 
> #war plugin properties
> #war plugin properties
> maven.war.webxml=src/conf/war/WEB-INF/web.xml
> maven.war.classes.includes=src/conf/war/WEB-INF/classes/*.properties
> maven.war.build.dir=dist/war
> 
> The finally, I obtain an war file without the *.properties.
> How to including this file ?
> Olivier
> 
> 
> 
> 
> 
> **********************************************************************
> Ce message électronique et tous les fichiers joints ainsi que  les
> informations contenues dans ce message (ci après "le message"), sont
> confidentiels et destinés exclusivement à l'usage de la  personne à
> laquelle
> ils sont adressés. Si vous avez reçu ce message par erreur, merci  de
le
> renvoyer à son émetteur et de le détruire. Toute diffusion,
publication,
> totale ou partielle ou divulgation sous quelque forme que ce soit non
> expressément autorisées de ce message, sont interdites.
> 
> **********************************************************************
> This e-mail, any attachments and the information contained (herein "
the
> message") are confidential and intended solely for the use of the
> addressee(s) if you have received this message in error please send it
> back
> to the sender and delete it. Unauthorized publication, use,
dissemination
> or
> disclosure, either whole or partial, of this  message is strictly
> prohibited.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]



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

Reply via email to