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" <[email protected]>
To: "Tapestry Mailing List" <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]