Re: Launching bat file using execbootstrapper

cmkf <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <[email protected]>
No it doesn't return anything different. I can run the bat file from the
command line without ever having a problem.


Chuck Burgess-2 wrote:
> 
> Does you bat script return a different exit code if something inside it
> fails?  If not, then the exec task probably thinks it ran fine.
> CRB
> 
> 
> On Wed, Feb 10, 2010 at 2:36 PM, cmkf <[email protected]> wrote:
> 
>>
>> Tried you suggestion with the same results. Still says the
>> ExecBootstrapper
>> was succesful when it really was not.
>>
>> [cc]Feb-10 15:32:24 ScriptRunner  -
>> [cc]Feb-10 15:32:24 ScriptRunner  - c:\temp>
>> [cc]Feb-10 15:32:24 ecBootstrapper- ExecBootstrapper successful.
>> [cc]Feb-10 15:32:24 Project       - Project sandbox:  checking for
>> modifications
>>
>>
>>
>> Nathan Carbino wrote:
>> >
>> > 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>
>> >
>>
> 
> ------------------------------------------------------------------------------
> 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
> 
> 

-- 
View this message in context: http://old.nabble.com/Launching-bat-file-using-execbootstrapper-tp27407062p27538281.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
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.