Link to home
Start Free TrialLog in
Avatar of pdurbha
pdurbha

asked on

Executing a BAT file using ANT

Hi,

I am trying to execute a .BAT file using a simple ANT script.. I have embedded this script in my Cruisecontrol script as below.

<cruisecontrol>
<property name="deploy.bat.path" value="${base.dir}\cbs_hlp\deploy.bat"/>

 <schedule>
    <ant anthome= "C:\ant" target="${deploy.bat.path}"/>
</schedule>

I am hoping that ANT file will execute the  BAT file when the Cruisecontrol build happens.. I have ANT installed under C:\ant..

Any ideas?

Thanks

 
</cruisecontrol>
ASKER CERTIFIED SOLUTION
Avatar of TimYates
TimYates
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I feel this should be a split between me and sstair, as he is right that you have to separate out the params :)