Hi, I'm trying to start and stop jboss with gradle exec task, but I keep
getting this "execCommand == null" error. This is the task I tring to use, I
couldn't figure out where is the problem...

task startJboss(dependsOn:'copyToJboss', type:Exec) << {
                def jbossHome= 'C:/tools/jboss-4.0.5.GA'
                println "starting jboss at ${jbossHome}/bin/run.bat"
                workingDir = '${jbossHome}/bin'
                commandLine = ['run.bat']
                
        }

error: execCommand == null!

Many thanks.

/zhwa

-- 
View this message in context: 
http://gradle.1045684.n5.nabble.com/problem-with-start-stop-jboss-with-gradle-exec-task-tp3404960p3404960.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