Adding launch-node-debug and launch-hub-debug: Turns on -debug and -log flags for launch-node and launch-hub

This commit is contained in:
retornam 2014-08-01 09:13:47 -07:00
Родитель 8115f4e85c
Коммит b9df9ebc33
1 изменённых файлов: 40 добавлений и 0 удалений

Просмотреть файл

@ -104,6 +104,23 @@
</java>
</target>
<target name="launch-hub-debug"
description="Launch Selenium Hub in debug mode"
depends="fetch-dependencies">
<java classname="org.openqa.grid.selenium.GridLauncher"
classpathref="selenium.classpath"
fork="true"
failonerror="true">
<arg value="-role"/>
<arg value="hub"/>
<arg value="-hubConfig"/>
<arg value="hub_configuration.json"/>
<arg value="-debug"/>
<arg value="-log"/>
<arg value="hub.log"/>
</java>
</target>
<target name="launch-node"
description="Launch Selenium Node"
depends="fetch-dependencies, set-config, set-hosts">
@ -123,4 +140,27 @@
<arg value="${node.configuration.file}"/>
</java>
</target>
<target name="launch-node-debug"
description="Launch Selenium Node in debug mode"
depends="fetch-dependencies, set-config, set-hosts">
<java classpathref="selenium.classpath"
classname="org.openqa.grid.selenium.GridLauncher"
fork="true"
failonerror="true">
<arg value="-role"/>
<arg value="node"/>
<arg value="-id"/>
<arg value="${env.HOSTNAME}"/>
<arg value="-hub"/>
<arg value="http://${hub.host}:${hub.port}/grid/register"/>
<arg value="-host"/>
<arg value="${node.host}"/>
<arg value="-nodeConfig"/>
<arg value="${node.configuration.file}"/>
<arg value="-debug"/>
<arg value="-log"/>
<arg value="node.log"/>
</java>
</target>
</project>