ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Soer J." <J.S...@gasunie.nl>
Subject Apply function where srcfile comes first
Date Mon, 14 Oct 2002 14:35:46 GMT
I want to do the following action:

Program to call is : cpp
with arguments : first: sourcefile second: targetfile

e.g;                cpp 'd:\test\alarm.java' 'd:\test\cpp\alarm.java'

I came so far:  cpp 'd:\test\cpp\alarm.java' 'd:\test\alarm.java' 

In the documentation the following comment is made:
By default the file names of the source files will be added to the end of
the command line. If you need to place it somewhere different, use a nested
<srcfile> element between your <arg> elements to mark the insertion point.

But how to nested the <srcfile> between mine <arg> elements ??? Can anyone
give me an example how to do it ?

Jan Soer 
Software Engineer
SchlumbergerSema Nederland BV

Tel.: +31 294 239 500
Fax.: +31 294 239 501 
Mob.: +31 614196595
mailto: jsoer@slb.com
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:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message