ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 36239] - <replaceregex> in <tokenfilter> does not honour flags="s"
Date Fri, 19 Aug 2005 23:40:29 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36239>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36239





------- Additional Comments From matt@cenqua.com  2005-08-20 01:40 -------
I added some debugging to ChainableReaderFilter (in my cvs snapshot):

== ==
        public void setByLine(boolean byLine) {
	    project.log(getClass().getName() + ".setByLine = " + byLine);
...
        public Reader chain(Reader reader) {
	    project.log(getClass().getName() + ".chain() called, byLine = " + byLine);
...
== ==

I can see setByLine() being called, but chain() never seems to be called? Like I said, I'll
try on linux later 
today.

For clarity, this is the *exact* build.xml I'm using.
== ==
<project basedir="." default="test" name="test">
  <target name="test">
    <copy overwrite="true" file="src.txt" tofile="dest.txt">
      <filterchain>
        <tokenfilter>
          <replaceregex pattern="START.*" replace="SNIP" flags="gs" byline="false"/>
        </tokenfilter>
      </filterchain>
    </copy>
  </target>
</project>
== ==

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message