Merge pull request #138 from retornam/add-debug-launcher
Adding launch-node-debug and launch-hub-debug: Turns on -debug and -log ...
This commit is contained in:
Коммит
e620bc18ac
40
build.xml
40
build.xml
|
@ -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>
|
||||
|
|
Загрузка…
Ссылка в новой задаче