Thanks Andy, It works.:clap:
Andy Stevens-2 wrote: > > 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] > > > -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]