ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andy Stevens" <insomniacpeng...@googlemail.com>
Subject Re: Changing port number of a server(selenium-server.jar) through ant?
Date Wed, 09 Jul 2008 12:42:38 GMT
2008/7/9 rahulrocks <rahulindiarocks@yahoo.com>:
>
> I have changed the port number of selenium server in command line like this
> java -jar selenium-server.jar -port 4445
>
> How to change the port number of a server(selenium-server.jar) through ant
> script?
>
> <target name="start-server">
>            <java jar="lib/selenium-server.jar" fork="true">
>                  <arg line="-timeout 30"/>
>            </java>
>     </target>
>
> Please help.

I've not used Selenium myself, but based on your java command, have
you tried simply adding a second arg element
                  <arg line="-port 4445"/>
?


Andy.
-- 
http://pseudoq.sourceforge.net/  Open source Sudoku application

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message