You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Kanzlers, Andreas" <an...@coremedia.com> on 2007/05/09 21:46:14 UTC
filter referencing a filter from another file
Hi,
Does Maven support filters which reference a filter from another file ?
Example: I've got 2 filter property files:
filter1.properties
basepath=/tmp
filter2.properties
install.dir=${basepath}/myapp
How can I achieve that a resource containing ${install.dir} is filtered
to "/tmp/myapp"
With
<filters>
<filter> filter1.properties </filter>
<filter> filter2.properties </filter>
</filters>
my resource ${install.dir} is filtered to ${basepath}/myapp.
Any ideas ?
Kind regards,
Andreas