2008/7/9 rahulrocks <[EMAIL PROTECTED]>:
>
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to