You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by er...@apache.org on 2011/03/16 14:55:24 UTC

svn commit: r1082149 - in /ofbiz/trunk: build.xml framework/testtools/build.xml

Author: erwan
Date: Wed Mar 16 13:55:24 2011
New Revision: 1082149

URL: http://svn.apache.org/viewvc?rev=1082149&view=rev
Log:
Updating the download-selenium target, now it is using the release 1.0.3, which resolves some issues with firefox

Modified:
    ofbiz/trunk/build.xml
    ofbiz/trunk/framework/testtools/build.xml

Modified: ofbiz/trunk/build.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/build.xml?rev=1082149&r1=1082148&r2=1082149&view=diff
==============================================================================
--- ofbiz/trunk/build.xml (original)
+++ ofbiz/trunk/build.xml Wed Mar 16 13:55:24 2011
@@ -138,7 +138,7 @@ under the License.
     </target>
 
     <target name="download-selenium"
-          description="Download the selenium files">
+          description="Download the selenium server v1.0.3 20.8 MB download">
         <subant target="install-seleniumxml">
             <filelist dir="." files="framework/testtools/build.xml"/>
         </subant>

Modified: ofbiz/trunk/framework/testtools/build.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/testtools/build.xml?rev=1082149&r1=1082148&r2=1082149&view=diff
==============================================================================
--- ofbiz/trunk/framework/testtools/build.xml (original)
+++ ofbiz/trunk/framework/testtools/build.xml Wed Mar 16 13:55:24 2011
@@ -81,9 +81,16 @@ under the License.
     </target>
     
     <target name="install-seleniumxml" depends="init" description="Download the selenium files">
-        <!--mkdir dir="${selenium.lib.dir}"/-->
-        <!-- Note: If the download path changes please also update the urlSite field in VerifySeleniumSteups.java -->
-        <get src="http://downloads.sourceforge.net/seleniumxml/selenium-server-1.0.2-SNAPSHOT-standalone.jar?use_mirror="
-            dest="${selenium.lib.dir}/selenium-server.jar" usetimestamp="true" />
+        <get src="http://selenium.googlecode.com/files/selenium-remote-control-1.0.3.zip"
+             dest="${selenium.lib.dir}/selenium-remote-control-1.0.3.zip" usetimestamp="true" verbose="true"/>
+        <unzip src="${selenium.lib.dir}/selenium-remote-control-1.0.3.zip"
+                dest="${selenium.lib.dir}">
+            <patternset>
+                <include name="selenium-server-1.0.3/selenium-server.jar"/>
+            </patternset>
+        </unzip>
+        <move file="${selenium.lib.dir}/selenium-server-1.0.3/selenium-server.jar" todir="${selenium.lib.dir}"/>
+        <delete dir="${selenium.lib.dir}/selenium-server-1.0.3"/>
+        <delete file="${selenium.lib.dir}/selenium-remote-control-1.0.3.zip"/>
     </target>
 </project>