-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On Monday 14 February 2005 21:13, Brett Porter wrote:
> > 1) It doesn't filter anything. Files are not touched, just copied.
>
> Double check your resource set matches the one copied, and that it
> doesn't overlap with another one defined to contain the same files
> without filtering.

Many thanks, you made me look at the right place : my <filtering/> was not 
at the right place : child node of <include/> instead of <resource/>...

> > 2) Maven always try to load a file named "some.properties" ?!
>
> That's not from Maven - search your project.xml, maven.xml and
> project.properties files, including any you inherit from using
> <extend/>.

You're right. I didn't know that 
<extend>../otherproject/project.xml</extend> also "extend" maven.xml of 
otherproject !

> > I'm now using :
> >     <preGoal name="java:jar-resources">
> >        <ant:filter filtersfile="config/environnement/${platform}.conf"
> > /> <copy todir="target/classes" filtering="false" overwrite="true">
> > <fileset dir="config/template" />
> >        </copy>
> >     </preGoal>
>
> This is equivalent to using the resources, however will not allow
> other parts of Maven (eg the IDE plugins) to see where you reosources
> are.

That's why I was asking another way to do this :)

Have a good day,

- -- 
Damien Raude-Morvan / DrazziB
GPG : 0x85C79389 (new!)
WWW : www.drazzib.com
ICQ : 68119943
TEL : (+33) 06 08 80 36 98
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCEnrqyIFXyIXHk4kRAoiyAJ4vMIfKk8ZMwTyYOvAQhtZiq/uiBgCgmvqr
HLssLAbPCmsAGGWbSJMVNFo=
=Vy9Z
-----END PGP SIGNATURE-----

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

Reply via email to