Pravin Durb

Greenhorn
+ Follow
since Oct 13, 2008
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Pravin Durb

I was able to get it to work..Thanks

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

<schedule interval="30">
<exec command="${deploy.bat.path}"/>
</schedule>

I had to remove <composite> for now. didn't realize that if one task fails then it won't execute the next one in line..
15 years ago
Well..I am hoping that the deploy.BAT file will execute through cruise control because when I launch it from C:\dev\tools\cruisecontrol-2.7.2 it works fine..Yes, the bat file does exist in the directory

I checked the logs also, but I don't see any reference to the <exec> task being executed

Appreciate your help!

Thanks
15 years ago
Hi Jeanne,
I have changed the script to use <exec> instead..but I still have the same problem

<schedule interval="30">
<composite>
<exec workingdir="C:\dev\tools\cruisecontrol-2.7.2" command="deploy.bat"/>
</composite>
</schedule>

Thanks
15 years ago
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>

</cruisecontrol>
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
[ October 13, 2008: Message edited by: Pravin Durb ]
15 years ago