ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rahulrocks <rahulindiaro...@yahoo.com>
Subject Re: Changing port number of a server(selenium-server.jar) through ant?
Date Thu, 10 Jul 2008 07:53:06 GMT

Thanks Andy,

It works.:clap:


Andy Stevens-2 wrote:
> 
> 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
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Changing-port-number-of-a-server%28selenium-server.jar%29-through-ant--tp18359971p18377612.html
Sent from the Ant - Users mailing list archive at Nabble.com.


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


Mime
View raw message