should be with spawn = true, like this: ant.java(classname: 'org.openqa.selenium.server.SeleniumServer', fork: true, spawn: true, classpath: configurations.selenium.asPath)
sorry for the noise -- Regards / Pozdrawiam Tomek Kaczanowski http://kaczanowscy.pl/tomek 2011/7/13 Tomek Kaczanowski <[email protected]>: >> Hmm. I thought that this might have been enough, but JavaExec doesn't >> currently let you fork a background process (GRADLE-1254): > true > > so I tried to replace this >> task startSeleniumServer(type: JavaExec) { >> main = 'org.openqa.selenium.server.SeleniumServer' >> classpath = configurations.selenium >> } > with this: > task seleniumServerStart() << { > ant.java(classname: 'org.openqa.selenium.server.SeleniumServer', > fork: true, classpath: configurations.selenium.asPath) > } > > but it does not seem to fork either :( not sure why, there is a "fork: > true" attribute passed to ant. Any hints? > > -- > Regards / Pozdrawiam > Tomek Kaczanowski > http://kaczanowscy.pl/tomek > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
