* [EMAIL PROTECTED] ([EMAIL PROTECTED]) [010509 18:08]:
> I need to do something like 
> 
> type a.txt b.txt c.txt >merged.txt
> 
> I tried the follwoing code but it doesn't seem to be working. Has anyone
> done something
> like that before? Thx.
> 
>               <copy tofile="merged.txt">
>                       <fileset dir="." >
>                               <patternset>
>                                <include name="aa"/>
>                                <include name="bb"/>
>                                <include name="cc"/>
>                               </patternset>
>                       </fileset>
>               </copy>

I wrote a task to do this and would be happy to make it
available. I've been using it for months without a problem to create
EJB XML descriptors from lots (!) of individual XML files. The task
could probably written more elegantly, but I've only been doing Java
for a few months now :-)

Chris

Reply via email to