Update build.xml to new selenium downloads server

This commit is contained in:
Bebe 2014-02-26 14:43:40 +02:00 коммит произвёл Dave Hunt
Родитель 30d2de0799
Коммит ebe17bd6b0
2 изменённых файлов: 6 добавлений и 5 удалений

Просмотреть файл

@ -9,14 +9,14 @@
<target name="fetch-dependencies">
<mkdir dir="lib"/>
<get src="http://selenium.googlecode.com/files/selenium-server-standalone-${selenium.version}.jar"
<get src="http://selenium-release.storage.googleapis.com/${selenium.version.major}/selenium-server-standalone-${selenium.version.major}.${selenium.version.minor}.jar"
dest="lib"
usetimestamp="true"
ignoreerrors="yes"/>
<available file="lib/selenium-server-standalone-${selenium.version}.jar" property="selenium.present"/>
<available file="lib/selenium-server-standalone-${selenium.version.major}.${selenium.version.minor}.jar" property="selenium.present"/>
<fail unless="selenium.present" message="Unable to locate lib/selenium-server-standalone-${selenium.version}.jar"/>
<fail unless="selenium.present" message="Unable to locate lib/selenium-server-standalone-${selenium.version.major}.${selenium.version.minor}.jar"/>
</target>
<target name="set-config">
@ -80,7 +80,7 @@
<path id="selenium.classpath">
<pathelement path="${basedir}/"/>
<fileset dir="${basedir}/lib">
<include name="selenium-server-standalone-${selenium.version}.jar"/>
<include name="selenium-server-standalone-${selenium.version.major}.${selenium.version.minor}.jar"/>
</fileset>
<pathelement path="${java.class.path}/"/>
</path>

Просмотреть файл

@ -1,4 +1,5 @@
selenium.version = 2.39.0
selenium.version.major = 2.39
selenium.version.minor = 0
production.hostnames.regex = qa(\-selenium[0-9]*\.mv\.mozilla\.com|[0-9]*\-\w+)
nonaddressable.hostnames.regex = qa[0-9]*\-\w+
production.hub.host = qa-selenium.mv.mozilla.com