Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Ant filterchain

Status
Not open for further replies.

Greffin

Programmer
Feb 25, 2004
2
NO
This is probably not the right forum for posting this, but I haven't discovered any forums that directlly discuss ant features without requiring me to pay a certain amount of cash to join.

I need to concatenate an unknown set of files. I'm using the <concat> task for this, which supports the <filterchain> task as nested element. I wish to include a simple text string in between all files in my fileset.

I've listed up some pseudo xml code to illustrate what I mean:
<concat destfile="${sql.filename}" eol="crlf">
<filterchain>
<probably_a_tokenfilter>
<filetokenizer/>
<append_to_each_file string="show errors;"/>
</probably_a_tokenfilter>
</filterchain>
<fileset dir="${source.dir}"/>
</concat>

Can anybody with some knowledge of ant help me, or at least point me to a descent free but serious forum?

Thanx.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top