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.
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.