Hi,

I got this problem when I open and start jboss with gradle using exec task
to open a new command window. There's no problem to start and stop jboss,
but when I calls the stop script from gradle, after jboss stops in that
another command window, it won't close the command window, so that my gradle
build is just wait there without finishing the build. 

I wander is there any way to close the command window after jboss stops? Or
to ask gradle return back when jboss finishs stopping?


this is the gradle tasks I use:

task startJboss(type:Exec) {            
                commandLine = ['cmd', '/C', 'start',
'C:/tools/jboss-4.0.5.GA/bin/run.bat']          
        }

task stopJboss(dependsOn: 'gebTest', type:Exec) {
        commandLine = ['cmd', '/c', 
'C:/tools/jboss-4.0.5.GA/bin/shutdown','-S']        
}


Many thanks.

wazh

--
View this message in context: 
http://gradle.1045684.n5.nabble.com/won-t-return-to-gradle-when-open-new-command-window-and-build-hang-without-finish-tp3415202p3415202.html
Sent from the gradle-user mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to