Thanks Rene,
The problem has been solved use a separate thread in build script:
task startJboss(type:Exec) {
commandLine = ['cmd', '/C', 'start',
'C:/tools/jboss-4.0.5.GA/bin/run.bat']
}
task startJbossThread()<<{
def jbossThread1 = Thread.start {
startJboss.execute()
}
sleep 10000
println "wake up and work"
}
Regards,
wazh
--
View this message in context:
http://gradle.1045684.n5.nabble.com/How-to-move-to-next-task-when-gradle-starts-a-new-command-window-tp3406276p3407837.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