ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ken Wood <kw...@i2.com>
Subject Re: ANT + shell script.
Date Fri, 05 Jul 2002 05:09:07 GMT
May I respectfully suggest that you
move this discussion to the ant USERS
mailing list.

This list is for ant DEVELOPMENT issues.

Thank you.

Parag Shankar Kshirsagar wrote:
> 
> 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