Re: Launching bat file using execbootstrapper

"Nathan Carbino" <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <9A86C00739500244896C8CD661689A18125C0A@sm-exchange1.pcgt.guardianedge.com>
Not sure if this is the problem, but some of the exec commands for CC
have trouble with resolving the output from the shell. You may be able
to redirect to NUL allowing your bat to run. Try:

<bootstrappers>
    <execbootstrapper command="C:/WINDOWS/system32/cmd.exe"
workingdir="c:/temp/" args="c:/temp/sandbox.bat 1>nul"/>
</bootstrappers>
 

-----Original Message-----
From: cmkf [mailto:[email protected]] 
Sent: Wednesday, February 10, 2010 9:00 AM
To: [email protected]
Subject: [Cruisecontrol-user] Launching bat file using execbootstrapper


Using cruisecontrol-bin-2.8.2

I am trying to run a bat file using execbootstrapper and am havng no
luck.
If I run ther bat file from a command prompt it runs with no problem. I
have looked at the 'Configuration Reference' site and tried the various
ways as described there and nothing seems to work. Below is my latest
attempt. Any help would be appreciated.

<bootstrappers>
    <execbootstrapper command="C:/WINDOWS/system32/cmd.exe"
workingdir="c:/temp/" args="c:/temp/sandbox.bat"/> </bootstrappers>

--
View this message in context:
http://old.nabble.com/Launching-bat-file-using-execbootstrapper-tp274070
62p27407062.html
Sent from the CruiseControl - User mailing list archive at Nabble.com.


------------------------------------------------------------------------
------
SOLARIS 10 is the OS for Data Centers - provides features such as
DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user



------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.