-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Mar 9, 2005, at 01:40, Arto Pastinen wrote:
There is a problem.. it writes file over existing one.. It must be different file. That xml file is only template for final.. Any hints?!?
On Wed, 2005-03-09 at 09:28 +0200, Arto Pastinen wrote:Yes, that is what i was searching.. Thank you Wim!
On Wed, 2005-03-09 at 08:27 +0100, Deblauwe, Wim wrote:You can do this easily in ant: http://ant.apache.org/manual/CoreTasks/replace.html
I use Ant's copy task with filtering:
<ant:copy todir="${maven.war.webapp.dir}/WEB-INF/jsp/tiles" overwrite="true" >
<ant:fileset dir="${maven.war.src}/WEB-INF/jsp/tiles">
<ant:include name="footer.jsp" />
</ant:fileset>
<ant:filterset>
<ant:filter token="VERSION" value="${pom.currentVersion}" />
</ant:filterset>
</ant:copy>
- -- Craig S. Cottingham [EMAIL PROTECTED] OpenPGP key available from: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7977F79C -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin)
iD8DBQFCLwmREJLQ3Hl395wRAuGKAJ9RuxDyejqfnBhHeesuBpsPgWZrgwCfRUgk tdAB6Bqh5Tww+qTouUmHDe0= =4fmW -----END PGP SIGNATURE-----
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
