cvs commit: ant/docs/manual/CoreTypes filterchain.html
antoine 2005/05/31 22:30:44 Modified:docs/manual/CoreTypes filterchain.html Log: fixed strange example, property names do not usually start with ${ Revision ChangesPath 1.29 +9 -9 ant/docs/manual/CoreTypes/filterchain.html Index: filterchain.html === RCS file: /home/cvs/ant/docs/manual/CoreTypes/filterchain.html,v retrieving revision 1.28 retrieving revision 1.29 diff -u -r1.28 -r1.29 --- filterchain.html 29 Apr 2005 18:58:12 - 1.28 +++ filterchain.html 1 Jun 2005 05:30:44 - 1.29 @@ -63,7 +63,7 @@ However, they can be declared using some simpler syntax also.p Example: blockquotepre -lt;loadfile srcfile=quot;${src.file}quot; property=quot;${src.file.head}quot;gt; +lt;loadfile srcfile=quot;${src.file}quot; property=quot;src.file.headquot;gt; lt;filterchaingt; lt;headfilter lines=quot;15quot;/gt; lt;/filterchaingt; @@ -71,7 +71,7 @@ /pre/blockquote is equivalent to: blockquotepre -lt;loadfile srcfile=quot;${src.file}quot; property=quot;${src.file.head}quot;gt; +lt;loadfile srcfile=quot;${src.file}quot; property=quot;src.file.headquot;gt; lt;filterchaingt; lt;filterreader classname=quot;org.apache.tools.ant.filters.HeadFilterquot;gt; lt;param name=quot;linesquot; value=quot;15quot;/gt; @@ -259,9 +259,9 @@ p h4Example:/h4 -This stores the first 15 lines of the supplied data in the property ${src.file.head} +This stores the first 15 lines of the supplied data in the property src.file.head blockquotepre -lt;loadfile srcfile=quot;${src.file}quot; property=quot;${src.file.head}quot;gt; +lt;loadfile srcfile=quot;${src.file}quot; property=quot;src.file.headquot;gt; lt;filterchaingt; lt;filterreader classname=quot;org.apache.tools.ant.filters.HeadFilterquot;gt; lt;param name=quot;linesquot; value=quot;15quot;/gt; @@ -272,7 +272,7 @@ Convenience method: blockquotepre -lt;loadfile srcfile=quot;${src.file}quot; property=quot;${src.file.head}quot;gt; +lt;loadfile srcfile=quot;${src.file}quot; property=quot;src.file.headquot;gt; lt;filterchaingt; lt;headfilter lines=quot;15quot;/gt; lt;/filterchaingt; @@ -280,9 +280,9 @@ /pre/blockquote This stores the first 15 lines, skipping the first 2 lines, of the supplied data -in the property ${src.file.head}. (Means: lines 3-17) +in the property src.file.head. (Means: lines 3-17) blockquotepre -lt;loadfile srcfile=quot;${src.file}quot; property=quot;${src.file.head}quot;gt; +lt;loadfile srcfile=quot;${src.file}quot; property=quot;src.file.headquot;gt; lt;filterchaingt; lt;headfilter lines=quot;15quot; skip=quot;2quot;/gt; lt;/filterchaingt; @@ -824,10 +824,10 @@ This stores the last 10 lines, skipping the last 2 lines, of the supplied data -in the property ${src.file.head}. (Means: if supplied data contains 60 lines, +in the property src.file.head. (Means: if supplied data contains 60 lines, lines 49-58 are extracted) blockquotepre -lt;loadfile srcfile=quot;${src.file}quot; property=quot;${src.file.head}quot;gt; +lt;loadfile srcfile=quot;${src.file}quot; property=quot;src.file.headquot;gt; lt;filterchaingt; lt;tailfilter lines=quot;10quot; skip=quot;2quot;/gt; lt;/filterchaingt; - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: ant/docs/manual/CoreTypes filterchain.html
mbenson 2005/04/08 12:14:34 Modified:docs/manual/CoreTypes filterchain.html Log: Lower-case HTML tags Revision ChangesPath 1.25 +604 -604 ant/docs/manual/CoreTypes/filterchain.html Index: filterchain.html === RCS file: /home/cvs/ant/docs/manual/CoreTypes/filterchain.html,v retrieving revision 1.24 retrieving revision 1.25 diff -u -r1.24 -r1.25 --- filterchain.html 7 Mar 2005 18:18:27 - 1.24 +++ filterchain.html 8 Apr 2005 19:14:34 - 1.25 @@ -1,28 +1,28 @@ !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN -HTML -HEAD +html +head link rel=stylesheet type=text/css href=../stylesheets/style.css/ -titleFilterChains and FilterReaders/TITLE -/HEAD +titleFilterChains and FilterReaders/title +/head -BODY +body -H2FilterChains and FilterReaders/H2 +h2FilterChains and FilterReaders/h2 Look at Unix pipes - they offer you so much flexibility - say you wanted to copy just those lines that contained the string blee from the first 10 lines of a file 'foo' -to a file 'bar' - you would do something likeP +to a file 'bar' - you would do something likep code cat foo|head -n10|grep blee gt; bar -/codeP +/codep Ant was not flexible enough. There was no way for the codelt;copygt;/code task to do something similar. If you wanted the codelt;copygt;/code task to get the first 10 lines, you would have -had to create special attributes:P +had to create special attributes:p code lt;copy file=quot;fooquot; tofile=quot;barquot; head=quot;10quot; contains=quot;bleequot;/gt; -/codeP +/codep The obvious problem thus surfaced: Ant tasks would not be able to accommodate such data transformation attributes as they would be endless. The task would also not know in which order these @@ -31,7 +31,7 @@ What Ant tasks needed was a mechanism to allow pluggable filter (data transformer) chains. Ant would provide a few filters for which there have been repeated requests. Users with special filtering needs -would be able to easily write their own and plug them in.P +would be able to easily write their own and plug them in.p The solution was to refactor data transformation oriented tasks to support FilterChains. A FilterChain is a group of @@ -39,9 +39,9 @@ by just extending the java.io.FilterReader class. Such custom FilterReaders can be easily plugged in as nested elements of codelt;filterchaingt;/code by using codelt;filterreadergt;/code elements. -P +p Example: -BLOCKQUOTEPRE +blockquotepre lt;copy file=quot;${src.file}quot; tofile=quot;${dest.file}quot;gt; lt;filterchaingt; lt;filterreader classname=quot;your.extension.of.java.io.FilterReaderquot;gt; @@ -56,21 +56,21 @@ lt;/filterreadergt; lt;/filterchaingt; lt;/copygt; -/PRE/BLOCKQUOTE +/pre/blockquote Ant provides some built-in filter readers. These filter readers can also be declared using a syntax similar to the above syntax. -However, they can be declared using some simpler syntax also.P +However, they can be declared using some simpler syntax also.p Example: -BLOCKQUOTEPRE +blockquotepre lt;loadfile srcfile=quot;${src.file}quot; property=quot;${src.file.head}quot;gt; lt;filterchaingt; lt;headfilter lines=quot;15quot;/gt; lt;/filterchaingt; lt;/loadfilegt; -/PRE/BLOCKQUOTE +/pre/blockquote is equivalent to: -BLOCKQUOTEPRE +blockquotepre lt;loadfile srcfile=quot;${src.file}quot; property=quot;${src.file.head}quot;gt; lt;filterchaingt; lt;filterreader classname=quot;org.apache.tools.ant.filters.HeadFilterquot;gt; @@ -78,36 +78,36 @@ lt;/filterreadergt; lt;/filterchaingt; lt;/loadfilegt; -/PRE/BLOCKQUOTE +/pre/blockquote -The following built-in tasks support nested codelt;filterchaingt;/code elements.BR -a href=../CoreTasks/concat.htmlConcat/a,BR -a href=../CoreTasks/copy.htmlCopy/a,BR -a href=../CoreTasks/loadfile.htmlLoadFile/a,BR -a href=../CoreTasks/loadproperties.htmlLoadProperties/a,BR -a href=../CoreTasks/move.htmlMove/aBRBR +The following built-in tasks support nested codelt;filterchaingt;/code elements.br +a href=../CoreTasks/concat.htmlConcat/a,br +a href=../CoreTasks/copy.htmlCopy/a,br +a href=../CoreTasks/loadfile.htmlLoadFile/a,br +a href=../CoreTasks/loadproperties.htmlLoadProperties/a,br +a href=../CoreTasks/move.htmlMove/abrbr A FilterChain is formed by defining zero or more of the following -nested elements.BR -a href=#filterreaderFilterReader/aBR -a href=#classconstantsClassConstants/aBR -a href=#escapeunicodeEscapeUnicode/aBR -a href=#expandpropertiesExpandProperties/aBR -a href=#headfilterHeadFilter/aBR -a href=#linecontainsLineContains/aBR -a href=#linecontainsregexpLineContainsRegExp/aBR -a
cvs commit: ant/docs/manual/CoreTypes filterchain.html
mbenson 2004/11/18 10:02:34 Modified:docs/manual/CoreTypes Tag: ANT_16_BRANCH filterchain.html Log: Merge Revision ChangesPath No revision No revision 1.13.2.9 +3 -3 ant/docs/manual/CoreTypes/filterchain.html Index: filterchain.html === RCS file: /home/cvs/ant/docs/manual/CoreTypes/filterchain.html,v retrieving revision 1.13.2.8 retrieving revision 1.13.2.9 diff -u -r1.13.2.8 -r1.13.2.9 --- filterchain.html 16 Nov 2004 08:13:34 - 1.13.2.8 +++ filterchain.html 18 Nov 2004 18:02:33 - 1.13.2.9 @@ -421,7 +421,7 @@ H4Example:/H4 -This replaces occurences of the string #64;DATE#64; in the data +This replaces occurrences of the string #64;DATE#64; in the data with today's date and stores it in the property ${src.file.replaced} BLOCKQUOTEPRE lt;tstamp/gt; @@ -968,7 +968,7 @@ careful not to use this on very large input. H4Examples:/H4 -Replace the first occurance of package with //package. +Replace the first occurrence of package with //package. BLOCKQUOTEPRE lt;tokenfiltergt; lt;filetokenizer/gt; @@ -1136,7 +1136,7 @@ /TABLE H4Examples:/H4 -Replace all occurances of hello with world, ignoring case. +Replace all occurrences of hello with world, ignoring case. BLOCKQUOTEPRE lt;tokenfiltergt; - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: ant/docs/manual/CoreTypes filterchain.html
mbenson 2004/11/17 10:57:49 Modified:docs/manual/CoreTypes filterchain.html Log: Spelling Revision ChangesPath 1.22 +3 -3 ant/docs/manual/CoreTypes/filterchain.html Index: filterchain.html === RCS file: /home/cvs/ant/docs/manual/CoreTypes/filterchain.html,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- filterchain.html 16 Nov 2004 08:12:34 - 1.21 +++ filterchain.html 17 Nov 2004 18:57:49 - 1.22 @@ -420,7 +420,7 @@ H4Example:/H4 -This replaces occurences of the string #64;DATE#64; in the data +This replaces occurrences of the string #64;DATE#64; in the data with today's date and stores it in the property ${src.file.replaced} BLOCKQUOTEPRE lt;tstamp/gt; @@ -967,7 +967,7 @@ careful not to use this on very large input. H4Examples:/H4 -Replace the first occurance of package with //package. +Replace the first occurrence of package with //package. BLOCKQUOTEPRE lt;tokenfiltergt; lt;filetokenizer/gt; @@ -1135,7 +1135,7 @@ /TABLE H4Examples:/H4 -Replace all occurances of hello with world, ignoring case. +Replace all occurrences of hello with world, ignoring case. BLOCKQUOTEPRE lt;tokenfiltergt; - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: ant/docs/manual/CoreTypes filterchain.html
mbenson 2004/10/15 10:05:54 Modified:docs/manual/CoreTypes filterchain.html Log: Typos Revision ChangesPath 1.20 +3 -3 ant/docs/manual/CoreTypes/filterchain.html Index: filterchain.html === RCS file: /home/cvs/ant/docs/manual/CoreTypes/filterchain.html,v retrieving revision 1.19 retrieving revision 1.20 diff -u -r1.19 -r1.20 --- filterchain.html 22 Apr 2004 09:57:44 - 1.19 +++ filterchain.html 15 Oct 2004 17:05:54 - 1.20 @@ -279,7 +279,7 @@ /PRE/BLOCKQUOTE This stores the first 15 lines, skipping the first 2 lines, of the supplied data -in the porperty ${src.file.head}. (Means: lines 3-17) +in the property ${src.file.head}. (Means: lines 3-17) BLOCKQUOTEPRE lt;loadfile srcfile=quot;${src.file}quot; property=quot;${src.file.head}quot;gt; lt;filterchaingt; @@ -768,7 +768,7 @@ This stores the last 10 lines, skipping the last 2 lines, of the supplied data -in the porperty ${src.file.head}. (Means: if supplied data contains 60 lines, +in the property ${src.file.head}. (Means: if supplied data contains 60 lines, lines 49-58 are extracted) BLOCKQUOTEPRE lt;loadfile srcfile=quot;${src.file}quot; property=quot;${src.file.head}quot;gt; @@ -1343,4 +1343,4 @@ HR P align=centerCopyright copy; 2002-2004 The Apache Software Foundation. All rights -Reserved./P/BODY/HTML \ No newline at end of file +Reserved./P/BODY/HTML - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: ant/docs/manual/CoreTypes filterchain.html
mbenson 2004/10/15 10:09:18 Modified:docs/manual/CoreTypes Tag: ANT_16_BRANCH filterchain.html Log: Merge Revision ChangesPath No revision No revision 1.13.2.7 +3 -3 ant/docs/manual/CoreTypes/filterchain.html Index: filterchain.html === RCS file: /home/cvs/ant/docs/manual/CoreTypes/filterchain.html,v retrieving revision 1.13.2.6 retrieving revision 1.13.2.7 diff -u -r1.13.2.6 -r1.13.2.7 --- filterchain.html 22 Apr 2004 10:02:09 - 1.13.2.6 +++ filterchain.html 15 Oct 2004 17:09:18 - 1.13.2.7 @@ -280,7 +280,7 @@ /PRE/BLOCKQUOTE This stores the first 15 lines, skipping the first 2 lines, of the supplied data -in the porperty ${src.file.head}. (Means: lines 3-17) +in the property ${src.file.head}. (Means: lines 3-17) BLOCKQUOTEPRE lt;loadfile srcfile=quot;${src.file}quot; property=quot;${src.file.head}quot;gt; lt;filterchaingt; @@ -769,7 +769,7 @@ This stores the last 10 lines, skipping the last 2 lines, of the supplied data -in the porperty ${src.file.head}. (Means: if supplied data contains 60 lines, +in the property ${src.file.head}. (Means: if supplied data contains 60 lines, lines 49-58 are extracted) BLOCKQUOTEPRE lt;loadfile srcfile=quot;${src.file}quot; property=quot;${src.file.head}quot;gt; @@ -1344,4 +1344,4 @@ HR P align=centerCopyright copy; 2002-2004 The Apache Software Foundation. All rights -Reserved./P/BODY/HTML \ No newline at end of file +Reserved./P/BODY/HTML - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Why are we having the branch after all? (was Re: cvs commit: ant/docs/manual/CoreTypes filterchain.html)
What is the status about closing the 1.6-branch? Jan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, April 23, 2004 11:21 AM To: [EMAIL PROTECTED] Subject: RE: Why are we having the branch after all? (was Re: cvs commit: ant/docs/manual/CoreTypes filterchain.html) I cannot see any really major changes from 1.6 to HEAD so would prefer 1.6.2 as name. And if we can get rid of the local 16_BRANCH I would be happy - holding these two trees partially in sync is not easy :-) Jan -Original Message- From: Stefan Bodewig [mailto:[EMAIL PROTECTED] Sent: Friday, April 23, 2004 11:17 AM To: [EMAIL PROTECTED] Subject: Why are we having the branch after all? (was Re: cvs commit: ant/docs/manual/CoreTypes filterchain.html) On Thu, 22 Apr 2004, Jan Materne [EMAIL PROTECTED] wrote: Or should the 15390 be applied to 1.6 as well? Given the amount of new features we are adding to the 1.6 branch, this has IMHO far outgrown a maintenance branch. The difference between the 1.6 branch and CVS HEAD is very small and if soemthing ends up on the branch or not is purely arbitrary - I cannot see a theme here. Maybe we should rather release a 1.7 from CVS HEAD instead of 1.6.2? Or release from CVS HEAD and call it 1.6.2? Stefan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Why are we having the branch after all? (was Re: cvs commit: ant/docs/manual/CoreTypes filterchain.html)
I cannot see any really major changes from 1.6 to HEAD so would prefer 1.6.2 as name. And if we can get rid of the local 16_BRANCH I would be happy - holding these two trees partially in sync is not easy :-) Jan -Original Message- From: Stefan Bodewig [mailto:[EMAIL PROTECTED] Sent: Friday, April 23, 2004 11:17 AM To: [EMAIL PROTECTED] Subject: Why are we having the branch after all? (was Re: cvs commit: ant/docs/manual/CoreTypes filterchain.html) On Thu, 22 Apr 2004, Jan Materne [EMAIL PROTECTED] wrote: Or should the 15390 be applied to 1.6 as well? Given the amount of new features we are adding to the 1.6 branch, this has IMHO far outgrown a maintenance branch. The difference between the 1.6 branch and CVS HEAD is very small and if soemthing ends up on the branch or not is purely arbitrary - I cannot see a theme here. Maybe we should rather release a 1.7 from CVS HEAD instead of 1.6.2? Or release from CVS HEAD and call it 1.6.2? Stefan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: ant/docs/manual/CoreTypes filterchain.html
jhm 2004/04/22 02:57:44 Modified:docs/manual/CoreTypes filterchain.html Log: Fix syntax errors in examples. Revision ChangesPath 1.19 +4 -4 ant/docs/manual/CoreTypes/filterchain.html Index: filterchain.html === RCS file: /home/cvs/ant/docs/manual/CoreTypes/filterchain.html,v retrieving revision 1.18 retrieving revision 1.19 diff -u -r1.18 -r1.19 --- filterchain.html 12 Apr 2004 18:33:30 - 1.18 +++ filterchain.html 22 Apr 2004 09:57:44 - 1.19 @@ -323,8 +323,8 @@ Convenience method: BLOCKQUOTEPRE lt;linecontainsgt; - lt;contains value=quot;fooquot;gt; - lt;contains value=quot;barquot;gt; + lt;contains value=quot;fooquot;/gt; + lt;contains value=quot;barquot;/gt; lt;/linecontainsgt; /PRE/BLOCKQUOTE @@ -347,7 +347,7 @@ Convenience method: BLOCKQUOTEPRE lt;linecontainsregexpgt; - lt;regexp pattern=quot;foo*quot;gt; + lt;regexp pattern=quot;foo*quot;/gt; lt;/linecontainsregexpgt; /PRE/BLOCKQUOTE @@ -1343,4 +1343,4 @@ HR P align=centerCopyright copy; 2002-2004 The Apache Software Foundation. All rights -Reserved./P/BODY/HTML +Reserved./P/BODY/HTML \ No newline at end of file - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: ant/docs/manual/CoreTypes filterchain.html
jhm 2004/04/22 03:02:09 Modified:docs/manual/CoreTypes Tag: ANT_16_BRANCH filterchain.html Log: merge Revision ChangesPath No revision No revision 1.13.2.6 +18 -28ant/docs/manual/CoreTypes/filterchain.html Index: filterchain.html === RCS file: /home/cvs/ant/docs/manual/CoreTypes/filterchain.html,v retrieving revision 1.13.2.5 retrieving revision 1.13.2.6 diff -u -r1.13.2.5 -r1.13.2.6 --- filterchain.html 9 Feb 2004 22:12:10 - 1.13.2.5 +++ filterchain.html 22 Apr 2004 10:02:09 - 1.13.2.6 @@ -324,8 +324,8 @@ Convenience method: BLOCKQUOTEPRE lt;linecontainsgt; - lt;contains value=quot;fooquot;gt; - lt;contains value=quot;barquot;gt; + lt;contains value=quot;fooquot;/gt; + lt;contains value=quot;barquot;/gt; lt;/linecontainsgt; /PRE/BLOCKQUOTE @@ -334,19 +334,8 @@ Filter which includes only those lines that contain the user-specified regular expression matching strings. -TABLE cellSpacing=0 cellPadding=2 border=1 - TR -TD vAlign=topBParameter Type/B/TD -TD vAlign=topBParameter Value/B/TD -TD vAlign=top align=centerBRequired/B/TD - /TR - TR -TD vAlign=topregexp/TD -TD vAlign=top align=centerPattern of the substring to be searched for./TD -TD vAlign=top align=centerYes/TD - /TR -/TABLE -P +See a href=../CoreTypes/regexp.htmlRegexp Type/a for the description of the nested element regexp and of +the choice of regular expression implementation. H4Example:/H4 This will fetch all those lines that contain the pattern codefoo/code @@ -359,7 +348,7 @@ Convenience method: BLOCKQUOTEPRE lt;linecontainsregexpgt; - lt;regexp pattern=quot;foo*quot;gt; + lt;regexp pattern=quot;foo*quot;/gt; lt;/linecontainsregexpgt; /PRE/BLOCKQUOTE @@ -587,9 +576,8 @@ TD vAlign=top align=centerBRequired/B/TD /TR TR -TD vAlign=toplines/TD -TD vAlign=top align=centertablength -Defaults to quot;8quot;/TD +TD vAlign=toptablength/TD +TD vAlign=top align=centerDefaults to quot;8quot;/TD TD vAlign=top align=centerNo/TD /TR /TABLE @@ -1113,10 +1101,12 @@ /PRE/BLOCKQUOTE pbema name=replaceregexReplaceRegex/a/em/b/p -This string filter replaces regular expressions. See -a href=../OptionalTasks/replaceregexp.htmlReplaceRegexp/a -for an explanation on regular expressions. +This string filter replaces regular expressions. This filter may be used directly within a filterchain. +p + See a href=../CoreTypes/regexp.html#implementationRegexp Type/a +concerning the choice of the implementation. +/p TABLE cellSpacing=0 cellPadding=2 border=1 TR @@ -1144,7 +1134,6 @@ TD vAlign=top align=centerNo/TD /TR /TABLE - H4Examples:/H4 Replace all occurances of hello with world, ignoring case. @@ -1159,11 +1148,12 @@ pbema name=containsregexContainsRegex/a/em/b/p This filters strings that match regular expressions. The filter may optionally replace the matched regular expression. -See -a href=../OptionalTasks/replaceregexp.htmlReplaceRegexp/a -for an explanation on regular expressions. This filter may be used directly within a filterchain. - +p +See +a href=../CoreTypes/regexp.html#implementationRegexp Type/a +concerning the choice of regular expression implementation. +/p TABLE cellSpacing=0 cellPadding=2 border=1 TR TD vAlign=topBAttribute/B/TD @@ -1354,4 +1344,4 @@ HR P align=centerCopyright copy; 2002-2004 The Apache Software Foundation. All rights -Reserved./P/BODY/HTML +Reserved./P/BODY/HTML \ No newline at end of file - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: cvs commit: ant/docs/manual/CoreTypes filterchain.html
ups, more than I´d modified. Have to have a look at that... Jan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, April 22, 2004 12:02 PM To: [EMAIL PROTECTED] Subject: cvs commit: ant/docs/manual/CoreTypes filterchain.html jhm 2004/04/22 03:02:09 Modified:docs/manual/CoreTypes Tag: ANT_16_BRANCH filterchain.html Log: merge Revision ChangesPath No revision No revision 1.13.2.6 +18 -28ant/docs/manual/CoreTypes/filterchain.html Index: filterchain.html === RCS file: /home/cvs/ant/docs/manual/CoreTypes/filterchain.html,v retrieving revision 1.13.2.5 retrieving revision 1.13.2.6 diff -u -r1.13.2.5 -r1.13.2.6 --- filterchain.html9 Feb 2004 22:12:10 - 1.13.2.5 +++ filterchain.html22 Apr 2004 10:02:09 - 1.13.2.6 @@ -324,8 +324,8 @@ Convenience method: BLOCKQUOTEPRE lt;linecontainsgt; - lt;contains value=quot;fooquot;gt; - lt;contains value=quot;barquot;gt; + lt;contains value=quot;fooquot;/gt; + lt;contains value=quot;barquot;/gt; lt;/linecontainsgt; /PRE/BLOCKQUOTE @@ -334,19 +334,8 @@ Filter which includes only those lines that contain the user-specified regular expression matching strings. -TABLE cellSpacing=0 cellPadding=2 border=1 - TR -TD vAlign=topBParameter Type/B/TD -TD vAlign=topBParameter Value/B/TD -TD vAlign=top align=centerBRequired/B/TD - /TR - TR -TD vAlign=topregexp/TD -TD vAlign=top align=centerPattern of the substring to be searched for./TD -TD vAlign=top align=centerYes/TD - /TR -/TABLE -P +See a href=../CoreTypes/regexp.htmlRegexp Type/a for the description of the nested element regexp and of +the choice of regular expression implementation. H4Example:/H4 This will fetch all those lines that contain the pattern codefoo/code @@ -359,7 +348,7 @@ Convenience method: BLOCKQUOTEPRE lt;linecontainsregexpgt; - lt;regexp pattern=quot;foo*quot;gt; + lt;regexp pattern=quot;foo*quot;/gt; lt;/linecontainsregexpgt; /PRE/BLOCKQUOTE @@ -587,9 +576,8 @@ TD vAlign=top align=centerBRequired/B/TD /TR TR -TD vAlign=toplines/TD -TD vAlign=top align=centertablength -Defaults to quot;8quot;/TD +TD vAlign=toptablength/TD +TD vAlign=top align=centerDefaults to quot;8quot;/TD TD vAlign=top align=centerNo/TD /TR /TABLE @@ -1113,10 +1101,12 @@ /PRE/BLOCKQUOTE pbema name=replaceregexReplaceRegex/a/em/b/p -This string filter replaces regular expressions. See -a href=../OptionalTasks/replaceregexp.htmlReplaceRegexp/a -for an explanation on regular expressions. +This string filter replaces regular expressions. This filter may be used directly within a filterchain. +p + See a href=../CoreTypes/regexp.html#implementationRegexp Type/a +concerning the choice of the implementation. +/p TABLE cellSpacing=0 cellPadding=2 border=1 TR @@ -1144,7 +1134,6 @@ TD vAlign=top align=centerNo/TD /TR /TABLE - H4Examples:/H4 Replace all occurances of hello with world, ignoring case. @@ -1159,11 +1148,12 @@ pbema name=containsregexContainsRegex/a/em/b/p This filters strings that match regular expressions. The filter may optionally replace the matched regular expression. -See -a href=../OptionalTasks/replaceregexp.htmlReplaceRegexp/a -for an explanation on regular expressions. This filter may be used directly within a filterchain. - +p +See +a href=../CoreTypes/regexp.html#implementationRegexp Type/a +concerning the choice of regular expression implementation. +/p TABLE cellSpacing=0 cellPadding=2 border=1 TR TD vAlign=topBAttribute/B/TD @@ -1354,4 +1344,4 @@ HR P align=centerCopyright copy; 2002-2004 The Apache Software Foundation. All rights -Reserved./P/BODY/HTML +Reserved./P/BODY/HTML \ No newline at end of file - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: cvs commit: ant/docs/manual/CoreTypes filterchain.html
Ok, the only (bigger by size) modification is that the changes from 1.14-1.15 [1,2] is not in Ant 1.6-manual. Make the choice of regular expression implementation possible with ant.regexp.regexpimpl as a normal project property. PR: 15390 (antoine). I´ll take a look into the sources of 1.6 ... Jan [1] Diff http://cvs.apache.org/viewcvs.cgi/ant/docs/manual/CoreTypes/filterchain.html ?r1=1.14r2=1.15diff_format=honly_with_tag=MAIN [2] BugID http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15390 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, April 22, 2004 12:04 PM To: [EMAIL PROTECTED] Subject: RE: cvs commit: ant/docs/manual/CoreTypes filterchain.html ups, more than I´d modified. Have to have a look at that... Jan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, April 22, 2004 12:02 PM To: [EMAIL PROTECTED] Subject: cvs commit: ant/docs/manual/CoreTypes filterchain.html jhm 2004/04/22 03:02:09 Modified:docs/manual/CoreTypes Tag: ANT_16_BRANCH filterchain.html Log: merge Revision ChangesPath No revision No revision 1.13.2.6 +18 -28ant/docs/manual/CoreTypes/filterchain.html Index: filterchain.html === RCS file: /home/cvs/ant/docs/manual/CoreTypes/filterchain.html,v retrieving revision 1.13.2.5 retrieving revision 1.13.2.6 diff -u -r1.13.2.5 -r1.13.2.6 --- filterchain.html 9 Feb 2004 22:12:10 - 1.13.2.5 +++ filterchain.html 22 Apr 2004 10:02:09 - 1.13.2.6 @@ -324,8 +324,8 @@ Convenience method: BLOCKQUOTEPRE lt;linecontainsgt; - lt;contains value=quot;fooquot;gt; - lt;contains value=quot;barquot;gt; + lt;contains value=quot;fooquot;/gt; + lt;contains value=quot;barquot;/gt; lt;/linecontainsgt; /PRE/BLOCKQUOTE @@ -334,19 +334,8 @@ Filter which includes only those lines that contain the user-specified regular expression matching strings. -TABLE cellSpacing=0 cellPadding=2 border=1 - TR -TD vAlign=topBParameter Type/B/TD -TD vAlign=topBParameter Value/B/TD -TD vAlign=top align=centerBRequired/B/TD - /TR - TR -TD vAlign=topregexp/TD -TD vAlign=top align=centerPattern of the substring to be searched for./TD -TD vAlign=top align=centerYes/TD - /TR -/TABLE -P +See a href=../CoreTypes/regexp.htmlRegexp Type/a for the description of the nested element regexp and of +the choice of regular expression implementation. H4Example:/H4 This will fetch all those lines that contain the pattern codefoo/code @@ -359,7 +348,7 @@ Convenience method: BLOCKQUOTEPRE lt;linecontainsregexpgt; - lt;regexp pattern=quot;foo*quot;gt; + lt;regexp pattern=quot;foo*quot;/gt; lt;/linecontainsregexpgt; /PRE/BLOCKQUOTE @@ -587,9 +576,8 @@ TD vAlign=top align=centerBRequired/B/TD /TR TR -TD vAlign=toplines/TD -TD vAlign=top align=centertablength -Defaults to quot;8quot;/TD +TD vAlign=toptablength/TD +TD vAlign=top align=centerDefaults to quot;8quot;/TD TD vAlign=top align=centerNo/TD /TR /TABLE @@ -1113,10 +1101,12 @@ /PRE/BLOCKQUOTE pbema name=replaceregexReplaceRegex/a/em/b/p -This string filter replaces regular expressions. See -a href=../OptionalTasks/replaceregexp.htmlReplaceRegexp/a -for an explanation on regular expressions. +This string filter replaces regular expressions. This filter may be used directly within a filterchain. +p + See a href=../CoreTypes/regexp.html#implementationRegexp Type/a +concerning the choice of the implementation. +/p TABLE cellSpacing=0 cellPadding=2 border=1 TR @@ -1144,7 +1134,6 @@ TD vAlign=top align=centerNo/TD /TR /TABLE - H4Examples:/H4 Replace all occurances of hello with world, ignoring case. @@ -1159,11 +1148,12 @@ pbema name=containsregexContainsRegex/a/em/b/p This filters strings that match regular expressions. The filter may optionally replace the matched regular expression. -See -a href=../OptionalTasks/replaceregexp.htmlReplaceRegexp/a -for an explanation on regular expressions. This filter may be used directly within a filterchain. - +p +See +a href=../CoreTypes/regexp.html#implementationRegexp Type/a +concerning the choice of regular expression implementation. +/p TABLE cellSpacing=0 cellPadding=2 border=1 TR TD vAlign=topBAttribute/B/TD @@ -1354,4 +1344,4 @@ HR P align=centerCopyright copy; 2002-2004
RE: cvs commit: ant/docs/manual/CoreTypes filterchain.html
Ok, the changes [1] are not in 1.6 codebase. Is there a way to undo the commit? Or should the 15390 be applied to 1.6 as well? Jan [1] http://cvs.apache.org/viewcvs.cgi/ant/src/main/org/apache/tools/ant/types/Re gularExpression.java?r1=1.15r2=1.16diff_format=h -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, April 22, 2004 12:22 PM To: [EMAIL PROTECTED] Subject: RE: cvs commit: ant/docs/manual/CoreTypes filterchain.html Ok, the only (bigger by size) modification is that the changes from 1.14-1.15 [1,2] is not in Ant 1.6-manual. Make the choice of regular expression implementation possible with ant.regexp.regexpimpl as a normal project property. PR: 15390 (antoine). I´ll take a look into the sources of 1.6 ... Jan [1] Diff http://cvs.apache.org/viewcvs.cgi/ant/docs/manual/CoreTypes/fi lterchain.html ?r1=1.14r2=1.15diff_format=honly_with_tag=MAIN [2] BugID http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15390 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, April 22, 2004 12:04 PM To: [EMAIL PROTECTED] Subject: RE: cvs commit: ant/docs/manual/CoreTypes filterchain.html ups, more than I´d modified. Have to have a look at that... Jan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, April 22, 2004 12:02 PM To: [EMAIL PROTECTED] Subject: cvs commit: ant/docs/manual/CoreTypes filterchain.html jhm 2004/04/22 03:02:09 Modified:docs/manual/CoreTypes Tag: ANT_16_BRANCH filterchain.html Log: merge Revision ChangesPath No revision No revision 1.13.2.6 +18 -28ant/docs/manual/CoreTypes/filterchain.html Index: filterchain.html === RCS file: /home/cvs/ant/docs/manual/CoreTypes/filterchain.html,v retrieving revision 1.13.2.5 retrieving revision 1.13.2.6 diff -u -r1.13.2.5 -r1.13.2.6 --- filterchain.html9 Feb 2004 22:12:10 - 1.13.2.5 +++ filterchain.html22 Apr 2004 10:02:09 - 1.13.2.6 @@ -324,8 +324,8 @@ Convenience method: BLOCKQUOTEPRE lt;linecontainsgt; - lt;contains value=quot;fooquot;gt; - lt;contains value=quot;barquot;gt; + lt;contains value=quot;fooquot;/gt; + lt;contains value=quot;barquot;/gt; lt;/linecontainsgt; /PRE/BLOCKQUOTE @@ -334,19 +334,8 @@ Filter which includes only those lines that contain the user-specified regular expression matching strings. -TABLE cellSpacing=0 cellPadding=2 border=1 - TR -TD vAlign=topBParameter Type/B/TD -TD vAlign=topBParameter Value/B/TD -TD vAlign=top align=centerBRequired/B/TD - /TR - TR -TD vAlign=topregexp/TD -TD vAlign=top align=centerPattern of the substring to be searched for./TD -TD vAlign=top align=centerYes/TD - /TR -/TABLE -P +See a href=../CoreTypes/regexp.htmlRegexp Type/a for the description of the nested element regexp and of +the choice of regular expression implementation. H4Example:/H4 This will fetch all those lines that contain the pattern codefoo/code @@ -359,7 +348,7 @@ Convenience method: BLOCKQUOTEPRE lt;linecontainsregexpgt; - lt;regexp pattern=quot;foo*quot;gt; + lt;regexp pattern=quot;foo*quot;/gt; lt;/linecontainsregexpgt; /PRE/BLOCKQUOTE @@ -587,9 +576,8 @@ TD vAlign=top align=centerBRequired/B/TD /TR TR -TD vAlign=toplines/TD -TD vAlign=top align=centertablength -Defaults to quot;8quot;/TD +TD vAlign=toptablength/TD +TD vAlign=top align=centerDefaults to quot;8quot;/TD TD vAlign=top align=centerNo/TD /TR /TABLE @@ -1113,10 +1101,12 @@ /PRE/BLOCKQUOTE pbema name=replaceregexReplaceRegex/a/em/b/p -This string filter replaces regular expressions. See -a href=../OptionalTasks/replaceregexp.htmlReplaceRegexp/a -for an explanation on regular expressions. +This string filter replaces regular expressions. This filter may be used directly within a filterchain. +p + See a href=../CoreTypes/regexp.html#implementationRegexp Type/a +concerning the choice of the implementation. +/p TABLE cellSpacing=0 cellPadding=2 border=1 TR @@ -1144,7 +1134,6 @@ TD vAlign=top align=centerNo/TD /TR /TABLE - H4Examples:/H4 Replace all occurances of hello with world, ignoring case. @@ -1159,11 +1148,12 @@ pbema name=containsregexContainsRegex/a/em/b/p This filters
cvs commit: ant/docs/manual/CoreTypes filterchain.html
mbenson 2004/04/12 11:33:30 Modified:docs/manual/CoreTypes filterchain.html Log: Cleanup. Revision ChangesPath 1.18 +2 -3 ant/docs/manual/CoreTypes/filterchain.html Index: filterchain.html === RCS file: /home/cvs/ant/docs/manual/CoreTypes/filterchain.html,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- filterchain.html 9 Feb 2004 21:50:07 - 1.17 +++ filterchain.html 12 Apr 2004 18:33:30 - 1.18 @@ -575,9 +575,8 @@ TD vAlign=top align=centerBRequired/B/TD /TR TR -TD vAlign=toplines/TD -TD vAlign=top align=centertablength -Defaults to quot;8quot;/TD +TD vAlign=toptablength/TD +TD vAlign=top align=centerDefaults to quot;8quot;/TD TD vAlign=top align=centerNo/TD /TR /TABLE - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: ant/docs/manual/CoreTypes filterchain.html
antoine 2003/12/20 05:25:55 Modified:docs/manual/CoreTypes filterchain.html Log: typo Submitted by: Yuji Yamano Revision ChangesPath 1.16 +3 -3 ant/docs/manual/CoreTypes/filterchain.html Index: filterchain.html === RCS file: /home/cvs/ant/docs/manual/CoreTypes/filterchain.html,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- filterchain.html 1 Dec 2003 22:03:25 - 1.15 +++ filterchain.html 20 Dec 2003 13:25:55 - 1.16 @@ -23,12 +23,12 @@ lt;copy file=quot;fooquot; tofile=quot;barquot; head=quot;10quot; contains=quot;bleequot;/gt; /codeP The obvious problem thus surfaced: Ant tasks would not be able -to accomodate such data transformation attributes as they would +to accommodate such data transformation attributes as they would be endless. The task would also not know in which order these attributes were to be interpreted. That is, must the task execute the contains attribute first and then the head attribute or vice-versa? What Ant tasks needed was a mechanism to allow pluggable filter (data -tranformer) chains. Ant would provide a few filters for which there +transformer) chains. Ant would provide a few filters for which there have been repeated requests. Users with special filtering needs would be able to easily write their own and plug them in.P @@ -1344,4 +1344,4 @@ HR P align=centerCopyright copy; 2002-2003 Apache Software Foundation. All rights -Reserved./P/BODY/HTML \ No newline at end of file +Reserved./P/BODY/HTML - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: ant/docs/manual/CoreTypes filterchain.html
antoine 2003/12/20 05:26:44 Modified:docs/manual/CoreTypes Tag: ANT_16_BRANCH filterchain.html Log: Merge from HEAD Typo correction Submitted by: Yuji Yamano Revision ChangesPath No revision No revision 1.13.2.4 +2 -2 ant/docs/manual/CoreTypes/filterchain.html Index: filterchain.html === RCS file: /home/cvs/ant/docs/manual/CoreTypes/filterchain.html,v retrieving revision 1.13.2.3 retrieving revision 1.13.2.4 diff -u -r1.13.2.3 -r1.13.2.4 --- filterchain.html 12 Nov 2003 09:36:08 - 1.13.2.3 +++ filterchain.html 20 Dec 2003 13:26:44 - 1.13.2.4 @@ -24,12 +24,12 @@ lt;copy file=quot;fooquot; tofile=quot;barquot; head=quot;10quot; contains=quot;bleequot;/gt; /codeP The obvious problem thus surfaced: Ant tasks would not be able -to accomodate such data transformation attributes as they would +to accommodate such data transformation attributes as they would be endless. The task would also not know in which order these attributes were to be interpreted. That is, must the task execute the contains attribute first and then the head attribute or vice-versa? What Ant tasks needed was a mechanism to allow pluggable filter (data -tranformer) chains. Ant would provide a few filters for which there +transformer) chains. Ant would provide a few filters for which there have been repeated requests. Users with special filtering needs would be able to easily write their own and plug them in.P - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: ant/docs/manual/CoreTypes filterchain.html
peterreilly2003/11/12 01:35:31 Modified:docs/manual/CoreTypes filterchain.html Log: scriptfilter: clarify getToken and setToken methods, provide another example Revision ChangesPath 1.14 +18 -2 ant/docs/manual/CoreTypes/filterchain.html Index: filterchain.html === RCS file: /home/cvs/ant/docs/manual/CoreTypes/filterchain.html,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- filterchain.html 19 Sep 2003 09:24:13 - 1.13 +++ filterchain.html 12 Nov 2003 09:35:31 - 1.14 @@ -1260,6 +1260,8 @@ p The script is provided with an object iself/i that has getToken() and setToken(String) methods. +The getToken() method returns the current token. The setToken(String) +method replaces the current token. /p This filter may be used directly within a filterchain.p @@ -1286,15 +1288,29 @@ H4Examples:/H4 -Convert to uppercase. +Convert to uppercase: BLOCKQUOTEPRE lt;tokenfiltergt; lt;scriptfilter language=javascriptgt; self.setToken(self.getToken().toUpperCase()); lt;/scriptfiltergt; lt;/tokenfiltergt; - /PRE/BLOCKQUOTE + +Remove lines containing the string bad while +copying text files: + blockquote +pre +lt;copy todir=distgt; + lt;fileset dir=src includes=**/*.txt/gt; + lt;scriptfilter language=beanshellgt; + if (self.getToken().indexOf(bad) != -1) { + self.setToken(null); + } + lt;/scriptfiltergt; +lt;/copygt; +/pre + /blockquote H4Custom tokenizers and string filters/H4 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: ant/docs/manual/CoreTypes filterchain.html
peterreilly2003/11/12 01:36:09 Modified:docs/manual/CoreTypes Tag: ANT_16_BRANCH filterchain.html Log: Sync with HEAD Revision ChangesPath No revision No revision 1.13.2.3 +18 -2 ant/docs/manual/CoreTypes/filterchain.html Index: filterchain.html === RCS file: /home/cvs/ant/docs/manual/CoreTypes/filterchain.html,v retrieving revision 1.13.2.2 retrieving revision 1.13.2.3 diff -u -r1.13.2.2 -r1.13.2.3 --- filterchain.html 15 Oct 2003 17:56:37 - 1.13.2.2 +++ filterchain.html 12 Nov 2003 09:36:08 - 1.13.2.3 @@ -1261,6 +1261,8 @@ p The script is provided with an object iself/i that has getToken() and setToken(String) methods. +The getToken() method returns the current token. The setToken(String) +method replaces the current token. /p This filter may be used directly within a filterchain.p @@ -1287,15 +1289,29 @@ H4Examples:/H4 -Convert to uppercase. +Convert to uppercase: BLOCKQUOTEPRE lt;tokenfiltergt; lt;scriptfilter language=javascriptgt; self.setToken(self.getToken().toUpperCase()); lt;/scriptfiltergt; lt;/tokenfiltergt; - /PRE/BLOCKQUOTE + +Remove lines containing the string bad while +copying text files: + blockquote +pre +lt;copy todir=distgt; + lt;fileset dir=src includes=**/*.txt/gt; + lt;scriptfilter language=beanshellgt; + if (self.getToken().indexOf(bad) != -1) { + self.setToken(null); + } + lt;/scriptfiltergt; +lt;/copygt; +/pre + /blockquote H4Custom tokenizers and string filters/H4 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: ant/docs/manual/CoreTypes filterchain.html filterset.html
umagesh 2003/10/15 10:56:38 Modified:docs/manual/CoreTypes Tag: ANT_16_BRANCH filterchain.html filterset.html Log: Stylesheet link was missing Revision ChangesPath No revision No revision 1.13.2.2 +1 -0 ant/docs/manual/CoreTypes/filterchain.html Index: filterchain.html === RCS file: /home/cvs/ant/docs/manual/CoreTypes/filterchain.html,v retrieving revision 1.13.2.1 retrieving revision 1.13.2.2 diff -u -r1.13.2.1 -r1.13.2.2 --- filterchain.html 9 Oct 2003 21:01:10 - 1.13.2.1 +++ filterchain.html 15 Oct 2003 17:56:37 - 1.13.2.2 @@ -3,6 +3,7 @@ HTML HEAD TITLEFilterChains and FilterReaders/TITLE + link rel=stylesheet type=text/css href=../stylesheets/antmanual.css /HEAD BODY 1.13.2.1 +10 -9 ant/docs/manual/CoreTypes/filterset.html Index: filterset.html === RCS file: /home/cvs/ant/docs/manual/CoreTypes/filterset.html,v retrieving revision 1.13 retrieving revision 1.13.2.1 diff -u -r1.13 -r1.13.2.1 --- filterset.html5 Feb 2003 15:32:26 - 1.13 +++ filterset.html15 Oct 2003 17:56:37 - 1.13.2.1 @@ -3,16 +3,17 @@ HTML HEAD TITLEFilterSet Type/TITLE + link rel=stylesheet type=text/css href=../stylesheets/antmanual.css /HEAD BODY H2A name=filtersetFilterSet/A/H2 PFilterSets are groups of filters. Filters can be defined as token-value -pairs -or be read in from a file. FilterSets can appear inside tasks that support this +pairs +or be read in from a file. FilterSets can appear inside tasks that support this feature or at the same level as CODElt;targetgt;/CODE - i.e., as -children of +children of CODElt;projectgt;/CODE./P pFilterSets support the codeid/code and coderefid/code @@ -23,13 +24,13 @@ filters./p pIn addition, FilterSets can specify -codebegintoken/code and/or +codebegintoken/code and/or codeendtoken/code attributes to define what to match./p -pFiltersets are used for doing +pFiltersets are used for doing replacements in tasks such as codelt;copygt;/code, etc./p p -strongNote: /strongWhen a filterset is used in an operation, the files are +strongNote: /strongWhen a filterset is used in an operation, the files are processed in text mode and the filters applied line by line. This means that the copy operations will typically corrupt binary files. When applying filters you should ensure that the set of files being filtered are all text files. @@ -89,7 +90,7 @@ /TR TR TD vAlign=topfile/TD -TD vAlign=topA properties file of +TD vAlign=topA properties file of name-value pairs from which to load the tokens./TD TD vAlign=top align=centerYes/TD /TR @@ -98,7 +99,7 @@ H4Examples/H4 pYou are copying the codeversion.txt/code file to the codedist/code -directory from the codebuild/code directory +directory from the codebuild/code directory but wish to replace the token code#64;DATE#64;/code with today's date./p BLOCKQUOTEPRE lt;copy file=quot;${build.dir}/version.txtquot; toFile=quot;${dist.dir}/version.txtquot;gt; @@ -109,7 +110,7 @@ /PRE/BLOCKQUOTE pYou are copying the codeversion.txt/code file to the codedist/code -directory from the build directory +directory from the build directory but wish to replace the token code%DATE*/code with today's date./p BLOCKQUOTEPRE lt;copy file=quot;${build.dir}/version.txtquot; toFile=quot;${dist.dir}/version.txtquot;gt; - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: ant/docs/manual/CoreTypes filterchain.html
umagesh 2003/06/05 10:54:28 Modified:docs/manual/CoreTypes filterchain.html Log: Starting with 1.6, Concat supports filterchain. Revision ChangesPath 1.10 +1 -0 ant/docs/manual/CoreTypes/filterchain.html Index: filterchain.html === RCS file: /home/cvs/ant/docs/manual/CoreTypes/filterchain.html,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- filterchain.html 22 Apr 2003 18:23:54 - 1.9 +++ filterchain.html 5 Jun 2003 17:54:28 - 1.10 @@ -80,6 +80,7 @@ /PRE/BLOCKQUOTE The following built-in tasks support nested lt;filterchaingt; elements.BR +a href=../CoreTasks/concat.htmlCopy/a,BR a href=../CoreTasks/copy.htmlCopy/a,BR a href=../CoreTasks/loadfile.htmlLoadFile/a,BR a href=../CoreTasks/loadproperties.htmlLoadProperties/a,BR - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: ant/docs/manual/CoreTypes filterchain.html
umagesh 2003/06/05 11:00:36 Modified:docs/manual/CoreTypes filterchain.html Log: Oops. Revision ChangesPath 1.11 +1 -1 ant/docs/manual/CoreTypes/filterchain.html Index: filterchain.html === RCS file: /home/cvs/ant/docs/manual/CoreTypes/filterchain.html,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- filterchain.html 5 Jun 2003 17:54:28 - 1.10 +++ filterchain.html 5 Jun 2003 18:00:36 - 1.11 @@ -80,7 +80,7 @@ /PRE/BLOCKQUOTE The following built-in tasks support nested lt;filterchaingt; elements.BR -a href=../CoreTasks/concat.htmlCopy/a,BR +a href=../CoreTasks/concat.htmlConcat/a,BR a href=../CoreTasks/copy.htmlCopy/a,BR a href=../CoreTasks/loadfile.htmlLoadFile/a,BR a href=../CoreTasks/loadproperties.htmlLoadProperties/a,BR - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: ant/docs/manual/CoreTypes filterchain.html
umagesh 2003/04/14 11:07:31 Modified:docs/manual/CoreTypes filterchain.html Log: quote; - quot; Revision ChangesPath 1.8 +1 -1 ant/docs/manual/CoreTypes/filterchain.html Index: filterchain.html === RCS file: /home/cvs/ant/docs/manual/CoreTypes/filterchain.html,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- filterchain.html 14 Apr 2003 18:02:23 - 1.7 +++ filterchain.html 14 Apr 2003 18:07:31 - 1.8 @@ -554,7 +554,7 @@ This removes all lines that begin with #, --, REM, rem and // BLOCKQUOTEPRE lt;filterreader classname=quot;org.apache.tools.ant.filters.StripLineCommentsquot;gt; - lt;param type=quot;commentquot; value=quote;#quot;/gt; + lt;param type=quot;commentquot; value=quot;#quot;/gt; lt;param type=quot;commentquot; value=quot;--quot;/gt; lt;param type=quot;commentquot; value=quot;REM quot;/gt; lt;param type=quot;commentquot; value=quot;rem quot;/gt;