ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <DDevie...@lgc.com>
Subject RE: ANT + shell script.
Date Fri, 05 Jul 2002 06:21:55 GMT
Did you check the doc for <exec>?

outputproperty: the name of a property in which the output of the command
should be stored.

PS: You know you can access env. vars. from Ant directly, do you?

-----Original Message-----
From: Parag Shankar Kshirsagar [mailto:parag_kshirsagar@infosys.com]
Sent: Friday, July 05, 2002 12:02 AM
To: Ant Developers List
Subject: RE: ANT + shell script.


by returned parameters i mean .... 
for eg : i wanna call a shell script that gets the LOGNAME and want to
return this LOGNAME to the xml file.
how do i do that ?

-----Original Message-----
From: Quazi, Zubair [mailto:zubair.ahmed@achex.com]
Sent: Thursday, July 04, 2002 5:43 AM
To: 'Ant Developers List'
Subject: RE: ANT + shell script.


Hi! Parag

You can call shell script from ant like

<exec executable="${base}/deploy/scripts/startWebLogic.sh"
dir="${base}/deploy/scripts" taskname="start-weblogic-normal">
        <arg line="${mode} bea main ${ftppasswd}"/>
</exec>

here $base is an environment variable.


I didn't understand by the part returned parameter, could you please
explain.

Thanks
Zubair Ahmed
Project Manager
Achex Inc (a First Data Company)
San Francisco, CA
USA


-----Original Message-----
From: Parag Shankar Kshirsagar [mailto:parag_kshirsagar@infosys.com]
Sent: Wednesday, July 03, 2002 5:26 AM
To: ant-dev@jakarta.apache.org
Subject: ANT + shell script.


how do i call a shell script through ant (ie thru build.xml)
also if a shell script can be called can i have  a returned parameter from
that script ?

Regards
Parag Kshirsagar
Infosys Technologies Ltd.,
Pune,India.
Ph. No:2932800 Extn:5683


--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message