The xml provided looks a lot like the default metadata that occurs if
you don't configure anything. Resources are copied from /src/main/
resources into the resulting jar/war/ear and are filtered. Can you
post your pom.xml file (and any parent poms) in case you're overriding
some subtle behaviour?
Christian.
On Jul 13, 2009, at 7:57 AM, Peter Stavrinides wrote:
I potentially found something, Maven seems to be the advocated this
solution below, though I can't seem to get it working still? any
help with this would be appreciated:
<build>
...
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
<includes>
<include>**/*.xml</include>
</includes>
</resource>
</resources>
...
</build>
Thanks,
Peter
----- Original Message -----
From: "P Stavrinides" <p.stavrini...@albourne.com>
To: "Tapestry Mailing List" <users@tapestry.apache.org>
Sent: Monday, 13 July, 2009 12:07:23 GMT +02:00 Athens, Beirut,
Bucharest, Istanbul
Subject: Tapestry, Maven and Log4j using an XML properties file
Hi,
I am not sure if this is if fact a Maven issue more than it is a
Tapestry one... apologies if it is, but basically I have some new
logging requirements that will use the range and match filters that
are only available using an XML configuration file for log4j, so I
tried to switch over from the text based .properties file, placing
the XML file as before in 'src/main/resources' but unlike
the .properties file, it does not get published into the WEB_INF/
classes directory, but if I copy it in manually the it works. What
do I have to do to get .xml files published along with
the .tml, .properties and .class files by Maven / Tapestry?
Thanks,
Peter
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
Christian Edward Gruber
christianedwardgru...@gmail.com
http://www.geekinasuit.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org