I do this but it doesn't work :
<resources>
<resource>src/conf/war/WEB-INF/classes/commons-logging.properties</resource>
<resource>src/conf/war/WEB-INF/classes/simplelog.properties</resource>
</resources>
-----Message d'origine-----
De : Vincent Massol [mailto:[EMAIL PROTECTED]
Envoy� : jeudi 19 juin 2003 16:08
� : 'Maven Users List'; 'LAMY Olivier'
Objet : RE: war task including properties file
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]