ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From SimonRichards...@hbosts.com
Subject RE: calling script file.
Date Thu, 13 Mar 2003 09:13:27 GMT
I would also recommend using os="..." to avoid platform incompatibilities 

e.g


<exec dir="${src}" executable="ls" os="SunOS" output="ls.txt"/>

> -----Original Message-----
> From: Jan.Materne@rzf.fin-nrw.de [mailto:Jan.Materne@rzf.fin-nrw.de]
> Sent: 13 March 2003 09:05
> To: user@ant.apache.org
> Subject: AW: calling script file.
> 
> 
> What kind of IOException? Something with dir.txt or with s?
> Has s the executable flag for the current user?
> 
> Maybe you try a
> 	<exec dir="${src}" executable="ls" output="ls.txt"/>
> and take a look at ls.txt.
> 
> 
> BTW keep on the list, especially why I am not very familiar 
> with unix and
> here a lot of specialists. :-)
> 
> 
> Jan Matèrne
> 
> 
> -----Ursprüngliche Nachricht-----
> Von: shahaji.kadam@orbitech.co.in 
> [mailto:shahaji.kadam@orbitech.co.in]
> Gesendet am: Donnerstag, 13. März 2003 09:37
> An: Jan.Materne@rzf.fin-nrw.de
> Betreff: RE: calling script file.
> 
> 
> i tried that but it gives me io exception.
> 
> <exec dir="${src}" executable="s" output="dir.txt">
> </exec>
> 
> "s" is script file.
> 
> -----Original Message-----
> From: Jan.Materne [mailto:Jan.Materne@rzf.fin-nrw.de]
> Sent: Thursday,March 13, 2003 2:01 PM
> To: user
> Subject: AW: calling script file.
> 
> 
> With <exec>.
> 
> 
> Jan Matèrne
> 
> -----Ursprüngliche Nachricht-----
> Von: shahaji.kadam@orbitech.co.in 
[mailto:shahaji.kadam@orbitech.co.in]
Gesendet am: Donnerstag, 13. März 2003 09:26
An: user@ant.apache.org
Betreff: calling script file.


i have existing script file (xxx.sh) on unix.

how to run this script from within ant ?


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org

-- 

------------------------------------------------------------------------------
For more information on HBOS Treasury Services, please visit http://www.HBOSTS.com

Or for details of our online FX & Deposit services, please go to http://www.HBOSdeal.com

HBOS Treasury Services plc is part of the HBOS Group, which also includes Halifax plc and
Bank of Scotland.
Registered Office: 33 Old Broad Street, London EC2N 1HZ. Registered No. 2692890. Registered
in England.
Regulated by the Financial Services Authority.

The information contained in this message is confidential and is intended for the addressee
only. If you have received this message in error or there are any problems please notify the
originator immediately. The unauthorised use, disclosure, copying or alteration of this message
is strictly forbidden. This mail and any attachments have been scanned for viruses prior to
leaving the HBOS Treasury Services plc network. HBOS Treasury Services plc will not be liable
for direct, special, indirect or consequential damages arising from alteration of the contents
of this message by a third party or as a result of any virus being passed on.

HBOS Treasury Services plc reserves the right to monitor and record e-mail messages sent to
and from this address for the purposes of investigating or detecting any unauthorised use
of its system and ensuring its effective operation.

==============================================================================


Mime
View raw message