I dont think its already part of plain Ant but you could write your own Ant Task
in a way that for instance:
<cpp dest="resultDirectory" options="cpp_options" >
<fileset dir="dirA" includes="**/*.cpp" id="DirA"/>
<fileset dir="dirB" includes="**/*.cpp" id="DirB"/>
</cpp>
Implementation is then up to you.
regards,
detlef
Quoting "Soer J." <[EMAIL PROTECTED]>:
> Is there a way to pass files to a command prompt ?
>
> I have x files and I want these files to go through a pre processor one
> by
> one.
>
> if I did it by hand I would be something like this (cpp is the program
> to
> perform in the command prompt):
>
> cpp dirA\fileA dirB\fileA
> cpp dirA\fileB dirB\fileB
> cpp dirA\fileC dirB\fileC
> etc...
>
> Can this be done with Ant ?
>
> Jan Soer
> Software Engineer
> SchlumbergerSema Nederland BV
>
> Tel.: +31 294 239 500
> Fax.: +31 294 239 501
> Mob.: +31 614196595
> mailto: [EMAIL PROTECTED]
> http://www.schlumbergersema.com/
>
> This e-mail is confidential and intended solely for the use of the
> individual(s) to whom it is addressed. Any views and opinions presented
> are
> solely those of the author and do not necessarily represent those of
> SchlumbergerSema. If you are not the intended recipient, be advised that
> you
> have received this e-mail in error and that any use, dissemination,
> forwarding, printing or copying of this e-mail is strictly prohibited.
> If you have received this e-mail in error please notify SchlumbergerSema
> by
> telephone +31 294 239 500.
>
>
>
>
>
******************************************************************************************
> This communication is intended only for use by the addressee. It may
> contain
> confidential or privileged information. If you receive this
> communication
> unintentionally, please let us know by reply immediately. Gasunie does
> not
> guarantee that the information sent with this E-mail is correct and does
> not
> accept any liability for damages related thereto.
>
******************************************************************************************
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>