maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Laird Nelson <ljnel...@gmail.com>
Subject Re: Filtering not processing certain files?
Date Tue, 01 Jun 2010 18:44:30 GMT
On Tue, Jun 1, 2010 at 2:33 PM, Laird Nelson <ljnelson@gmail.com> wrote:
> I have filtering set up in my pom.xml like this:

Burned by the delimiters.  There's a reference to a Java annotation in
the xml file I was trying to filter, early on, @LikeThis.  Of course
"@" is a default delimiter.  Filtering of ${something} later on in the
document didn't work, because Maven was waiting for the closing "@"
which of course was never going to happen.

In other words, a chunk of text like this:

  Hi there!  This is @some text we're going to
  filter (all of War and Peace goes here) and
  hopefully ${thisGuy} will be filtered!

...will never attempt to filter the ${thisGuy} token, because a filter
was "opened" by "@some" early on in the document and never "closed".

Moving along,
Best,
Laird

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message