ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rajat Gupta" <>
Subject RE: calling script file.
Date Thu, 13 Mar 2003 11:30:10 GMT
Hello Shahaji,
I have developed a Survey Sample Application which is available on OTN. The
ANT Build packaged with this application installs the application on the
OC4J server. During this, I have called some shell scripts from ANT. You
might want to see that. The URL for the application is It has been
tested on Linux platform also.

Particularly, the task I have used (regarding your question) is ...
     <exec executable="sh" os="SunOS, Linux, Solaris, HP-UX"
resultproperty="InstallDataSource" failonerror="true"
       <arg line=""/>
       <arg line="3"/>
       <arg line="${j2ee.home}"/>
       <arg line="${oc4j.admin.pwd}"/>
       <arg line="${}"/>
       <arg line="${db.port}"/>
       <arg line="${db.tnsname}"/>

Hope this helps,

-----Original Message-----
From: []
Sent: Thursday, March 13, 2003 1:56 PM
Subject: calling script file.

i have existing script file ( on unix.

how to run this script from within ant ?

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message