Skip to content

Commit

Permalink
Bump the version of htmlunit to 2.23 (plus dependencies)
Browse files Browse the repository at this point in the history
Also bump all the dependencies that it depends on too.
  • Loading branch information
shs96c committed Oct 6, 2016
1 parent 3464282 commit 30ef766
Show file tree
Hide file tree
Showing 54 changed files with 173 additions and 1,028 deletions.
4 changes: 2 additions & 2 deletions .idea/libraries/commons_io.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions .idea/libraries/cssparser.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions .idea/libraries/htmlunit.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions java/client/.classpath
Original file line number Diff line number Diff line change
Expand Up @@ -7,27 +7,27 @@
<classpathentry kind="lib" path="/third-party/java/hamcrest/hamcrest-core-1.3.jar"/>
<classpathentry kind="lib" path="/third-party/java/hamcrest/hamcrest-library-1.3.jar"/>
<classpathentry kind="lib" path="/third-party/java/guava/guava-19.0.jar" sourcepath="/third-party/java/guava/guava-19.0-sources.jar"/>
<classpathentry kind="lib" path="/third-party/java/htmlunit/htmlunit-2.21.jar" sourcepath="/third-party/java/htmlunit/htmlunit-2.21-sources.jar"/>
<classpathentry kind="lib" path="/third-party/java/htmlunit/neko-htmlunit-2.21.jar" sourcepath="/third-party/java/htmlunit/neko-htmlunit-2.21-sources.jar"/>
<classpathentry kind="lib" path="/third-party/java/htmlunit/htmlunit-core-js-2.17.jar" />
<classpathentry kind="lib" path="/third-party/java/htmlunit/htmlunit-driver-2.21.jar" sourcepath="/third-party/java/htmlunit/htmlunit-driver-2.21.jar"/>
<classpathentry kind="lib" path="/Users/simons/src/selenium/trunk/third_party/java/htmlunit/htmlunit-2.23.jar" sourcepath="/third-party/java/htmlunit/htmlunit-2.21-sources.jar"/>
<classpathentry kind="lib" path="/Users/simons/src/selenium/trunk/third_party/java/htmlunit/neko-htmlunit-2.23.jar" sourcepath="/third-party/java/htmlunit/neko-htmlunit-2.21-sources.jar"/>
<classpathentry kind="lib" path="/Users/simons/src/selenium/trunk/third_party/java/htmlunit/htmlunit-core-js-2.23.jar"/>
<classpathentry kind="lib" path="/Users/simons/src/selenium/trunk/third_party/java/selenium/htmlunit-driver-2.23.jar" sourcepath="/third-party/java/htmlunit/htmlunit-driver-2.21.jar"/>
<classpathentry kind="lib" path="/third-party/java/jna/jna-4.1.0.jar" sourcepath="/third-party/java/jna/jna-4.1.0-src.jar"/>
<classpathentry kind="lib" path="/third-party/java/jna/jna-platform-4.1.0.jar" sourcepath="/third-party/java/jna/jna-platform-4.1.0-src.jar"/>
<classpathentry kind="lib" path="/third-party/java/commons-exec/commons-exec-1.3.jar" sourcepath="/third-party/java/commons-exec/commons-exec-1.3-sources.jar"/>
<classpathentry kind="lib" path="/third-party/java/jetty/jetty-repacked.jar"/>
<classpathentry kind="lib" path="/third-party/java/cglib/cglib-nodep-2.1_3.jar"/>
<classpathentry kind="lib" path="/Users/simons/src/selenium/trunk/third_party/java/cglib/cglib-nodep-3.2.4.jar"/>
<classpathentry kind="lib" path="/third-party/java/servlet/javax.servlet-api-3.1.0.jar" sourcepath="/third-party/java/servlet/javax.servlet-api-3.1.0-sources.jar"/>
<classpathentry kind="lib" path="/third-party/java/phantomjs-driver/phantomjsdriver-1.3.0.jar" sourcepath="/third-party/java/phantomjs-driver/phantomjsdriver-1.3.0-sources.jar"/>
<classpathentry kind="lib" path="/third-party/java/httpcomponents/httpclient-4.5.2.jar" sourcepath="/third-party/java/httpcomponents/httpclient-4.5.2-sources.jar"/>
<classpathentry kind="lib" path="/third-party/java/httpcomponents/httpcore-4.4.4.jar" sourcepath="/third-party/java/httpcomponents/httpcore-4.4.4-sources.jar"/>
<classpathentry kind="lib" path="/third-party/java/commons-logging/commons-logging-1.2.jar"/>
<classpathentry kind="lib" path="/third-party/java/commons-io/commons-io-2.4.jar" sourcepath="/third-party/java/commons-io/commons-io-2.4-sources.jar"/>
<classpathentry kind="lib" path="/Users/simons/src/selenium/trunk/third_party/java/commons-io/commons-io-2.5.jar" sourcepath="/third-party/java/commons-io/commons-io-2.4-sources.jar"/>
<classpathentry kind="lib" path="/third-party/java/commons-codec/commons-codec-1.10.jar" sourcepath="/third-party/java/commons-codec/commons-codec-1.10-sources.jar"/>
<classpathentry kind="lib" path="/third-party/java/css/sac-1.3.jar"/>
<classpathentry kind="lib" path="/third-party/java/commons/commons-lang3-3.4.jar" sourcepath="/third-party/java/commons/commons-lang3-3.4-sources.jar"/>
<classpathentry kind="lib" path="/third-party/java/httpcomponents/httpmime-4.5.2.jar" sourcepath="/third-party/java/httpcomponents/httpmime-4.5.2-sources.jar"/>
<classpathentry kind="lib" path="/third-party/java/commons-collections/commons-collections-3.2.2.jar" sourcepath="/third-party/java/commons-collections/commons-collections-3.2.2-sources.jar"/>
<classpathentry kind="lib" path="/third-party/java/cssparser/cssparser-0.9.18.jar"/>
<classpathentry kind="lib" path="/Users/simons/src/selenium/trunk/third_party/java/cssparser/cssparser-0.9.20.jar"/>
<classpathentry kind="lib" path="/third-party/java/xerces/xercesImpl-2.11.0.jar" sourcepath="/third-party/java/xerces/xercesImpl-2.11.0-sources.jar"/>
<classpathentry kind="lib" path="/third-party/java/xalan/xalan-2.7.2.jar"/>
<classpathentry kind="lib" path="/third-party/java/commons-fileupload/commons-fileupload-1.2.2.jar" sourcepath="/third-party/java/commons-fileupload/commons-fileupload-1.2.2-src.jar"/>
Expand Down
6 changes: 3 additions & 3 deletions java/client/.settings/org.eclipse.jdt.core.prefs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=1.7
org.eclipse.jdt.core.compiler.compliance=1.8
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.7
org.eclipse.jdt.core.compiler.source=1.8
5 changes: 2 additions & 3 deletions java/client/test/org/openqa/selenium/htmlunit/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ java_test(name = 'htmlunit',
'//java/client/src/org/openqa/selenium/remote:remote',
'//java/client/test/org/openqa/selenium:large-tests',
'//java/client/test/org/openqa/selenium:tests',
'//third_party/java/htmlunit:htmlunit',
'//third_party/java/htmlunit:htmlunit-driver',
'//third_party/java/selenium:htmlunit-driver',
'//third_party/java/junit:junit',
],
)
Expand All @@ -28,7 +27,7 @@ java_test(name = 'htmlunit-no-js',
'//java/client/src/org/openqa/selenium/remote:remote',
'//java/client/test/org/openqa/selenium:large-tests',
'//java/client/test/org/openqa/selenium:tests',
'//third_party/java/htmlunit:htmlunit-driver',
'//third_party/java/selenium:htmlunit-driver',
'//third_party/java/junit:junit',
],
)
2 changes: 1 addition & 1 deletion java/client/test/org/openqa/selenium/testing/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ java_library(name = 'test-base',
'//third_party/java/guava:guava',
'//third_party/java/hamcrest:hamcrest',
'//third_party/java/htmlunit:htmlunit',
'//third_party/java/htmlunit:htmlunit-driver',
'//third_party/java/junit:junit',
'//third_party/java/little_proxy:little_proxy',
'//third_party/java/netty:netty',
'//third_party/java/selenium:htmlunit-driver',
],
visibility = [
'//java/client/test/...',
Expand Down
5 changes: 1 addition & 4 deletions java/server/.classpath
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,9 @@
<classpathentry kind="lib" path="/third-party/java/hamcrest/hamcrest-core-1.3.jar"/>
<classpathentry kind="lib" path="/third-party/java/hamcrest/hamcrest-library-1.3.jar"/>
<classpathentry kind="lib" path="/third-party/java/junit/junit-4.12.jar" sourcepath="/third-party/java/junit/junit-4.12-sources.jar"/>
<classpathentry kind="lib" path="/third-party/java/bouncycastle/bcprov-jdk15on-1.48.jar" sourcepath="/third-party/java/bouncycastle/bcprov-jdk15on-1.48-sources.jar"/>
<classpathentry kind="lib" path="/third-party/java/jetty/jetty-repacked-5.jar" sourcepath="/third-party/java/jetty/jetty-repacked-5-sources.jar"/>
<classpathentry kind="lib" path="/Users/simons/src/selenium/trunk/build/third_party/java/jetty/jetty-repacked.jar" sourcepath="/third-party/java/jetty/jetty-repacked-5-sources.jar"/>
<classpathentry kind="lib" path="/third-party/java/commons-logging/commons-logging-1.2.jar"/>
<classpathentry kind="lib" path="/third-party/java/mx4j/mx4j-tools-3.0.1.jar"/>
<classpathentry kind="lib" path="/third-party/java/jcip_annotations/jcip-annotations-1.0.jar" sourcepath="/third-party/java/jcip_annotations/jcip-annotations-1.0-sources.jar"/>
<classpathentry kind="lib" path="/third-party/java/bouncycastle/bcpkix-jdk15on-1.48.jar" sourcepath="/third-party/java/bouncycastle/bcpkix-jdk15on-1.48-sources.jar"/>
<classpathentry kind="lib" path="/third-party/java/netty/netty-3.5.7.Final.jar"/>
<classpathentry kind="lib" path="/third-party/java/guava/guava-19.0.jar" sourcepath="/third-party/java/guava/guava-19.0-sources.jar"/>
<classpathentry kind="lib" path="/third-party/java/mockito/mockito-core-1.9.5.jar"/>
Expand Down
6 changes: 3 additions & 3 deletions java/server/.settings/org.eclipse.jdt.core.prefs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=1.7
org.eclipse.jdt.core.compiler.compliance=1.8
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.7
org.eclipse.jdt.core.compiler.source=1.8
3 changes: 1 addition & 2 deletions java/server/src/org/openqa/selenium/remote/server/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ java_library(name = 'sessions',
deps = [
'//java/client/src/org/openqa/selenium:selenium',
'//java/client/src/org/openqa/selenium/remote:remote',
'//third_party/java/commons-logging:commons-logging',
'//third_party/java/guava:guava',
],
visibility = [
Expand Down Expand Up @@ -92,9 +91,9 @@ java_library(name = 'standalone-server-lib',
'//java/client/src/org/openqa/selenium/safari:safari',
'//java/server/src/org/openqa/grid:grid',
'//third_party/java/beust:jcommander',
'//third_party/java/htmlunit:htmlunit-driver',
'//third_party/java/jetty:jetty',
'//third_party/java/phantomjs-driver:phantomjs-driver',
'//third_party/java/selenium:htmlunit-driver',
'//third_party/java/servlet:servlet-api',
],
visibility = [
Expand Down
2 changes: 1 addition & 1 deletion java/server/test/org/openqa/grid/e2e/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ java_library(name = 'tests',
'//java/server/src/org/openqa/grid/selenium:classes',
'//third_party/java/beust:jcommander',
'//third_party/java/guava:guava',
'//third_party/java/htmlunit:htmlunit-driver',
'//third_party/java/httpcomponents:httpclient',
'//third_party/java/junit:junit',
'//third_party/java/mockito:mockito',
'//third_party/java/selenium:htmlunit-driver',
'//third_party/java/servlet:servlet-api',
],
)
6 changes: 4 additions & 2 deletions third_party/java/cglib/BUCK
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
prebuilt_jar(name = 'cglib',
maven_coords = 'cglib:cglib-nodep:3.2.4',
prebuilt_jar(
name = 'cglib',
maven_coords = 'cglib:cglib-nodep:jar:3.2.4',
binary_jar = 'cglib-nodep-3.2.4.jar',
source_jar = 'cglib-nodep-3.2.4-sources.jar',
visibility = [
'//java/client/src/org/openqa/selenium/remote:remote',
],
Expand Down
6 changes: 4 additions & 2 deletions third_party/java/commons-codec/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@ prebuilt_jar(
name = 'commons-codec',
maven_coords = 'commons-codec:commons-codec:jar:1.10',
binary_jar = 'commons-codec-1.10.jar',
source_jar = 'commons-codec-1.10.jar',
source_jar = 'commons-codec-1.10-sources.jar',
visibility = [
'//third_party/java/...'
'//third_party/java/htmlunit:htmlunit',
'//third_party/java/httpcomponents:client',
'//third_party/java/little_proxy:little_proxy',
],
)

12 changes: 8 additions & 4 deletions third_party/java/commons-io/BUCK
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
prebuilt_jar(name = 'commons-io',
binary_jar = 'commons-io-2.4.jar',
source_jar = 'commons-io-2.4-sources.jar',
prebuilt_jar(
name = 'commons-io',
maven_coords = 'commons-io:commons-io:jar:2.5',
binary_jar = 'commons-io-2.5.jar',
source_jar = 'commons-io-2.5-sources.jar',
visibility = [
'//third_party/java/...',
'//third_party/java/htmlunit:htmlunit-jar',
'//third_party/java/little_proxy:little_proxy',
],
)

Binary file not shown.
Binary file removed third_party/java/commons-io/commons-io-2.4.jar
Binary file not shown.
Binary file not shown.
Binary file added third_party/java/commons-io/commons-io-2.5.jar
Binary file not shown.
5 changes: 2 additions & 3 deletions third_party/java/commons-logging/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@ prebuilt_jar(
binary_jar = 'commons-logging-1.2.jar',
source_jar = 'commons-logging-1.2-sources.jar',
visibility = [
'//java/server/src/org/openqa/selenium/remote/server:sessions',
'//java/server/src/org/openqa/selenium/server:server',
'//third_party/java/...',
'//third_party/java/htmlunit:',
'//third_party/java/httpcomponents:client',
],
)

7 changes: 5 additions & 2 deletions third_party/java/css/BUCK
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
prebuilt_jar(name = 'sac',
prebuilt_jar(
name = 'sac',
maven_coords = 'org.w3c.css:sac:jar:1.3',
binary_jar = 'sac-1.3.jar',
source_jar = 'sac-1.3-sources.jar',
visibility = [
'//third_party/java/...',
'//third_party/java/cssparser:cssparser'
],
)

Binary file added third_party/java/css/sac-1.3-sources.jar
Binary file not shown.
13 changes: 8 additions & 5 deletions third_party/java/cssparser/BUCK
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
prebuilt_jar(name = 'cssparser',
binary_jar = 'cssparser-0.9.18.jar',
source_jar = 'cssparser-0.9.18-sources.jar',
prebuilt_jar(
name = 'cssparser',
maven_coords = 'net.sourceforge.cssparser:cssparser:jar:0.9.20',
binary_jar = 'cssparser-0.9.20.jar',
source_jar = 'cssparser-0.9.20-sources.jar',
deps = [
'//third_party/java/css:sac',
'//third_party/java/css:sac'
],
visibility = [
'//third_party/java/...',
'//third_party/java/htmlunit:htmlunit-jar'
],
)

Binary file not shown.
Binary file removed third_party/java/cssparser/cssparser-0.9.18.jar
Binary file not shown.
Binary file not shown.
Binary file added third_party/java/cssparser/cssparser-0.9.20.jar
Binary file not shown.
11 changes: 8 additions & 3 deletions third_party/java/gson/BUCK
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
prebuilt_jar(name = 'gson',
maven_coords = 'com.google.code.gson:gson:2.3.1',
prebuilt_jar(
name = 'gson',
maven_coords = 'com.google.code.gson:gson:jar:2.3.1',
binary_jar = 'gson-2.3.1.jar',
visibility = [ 'PUBLIC' ],
source_jar = 'gson-2.3.1-sources.jar',
visibility = [
'PUBLIC',
],
)

Binary file added third_party/java/gson/gson-2.3.1-sources.jar
Binary file not shown.
10 changes: 7 additions & 3 deletions third_party/java/guava/BUCK
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
prebuilt_jar(name = 'guava',
maven_coords = "com.google.guava:guava:19.0",
prebuilt_jar(
name = 'guava',
maven_coords = 'com.google.guava:guava:jar:19.0',
binary_jar = 'guava-19.0.jar',
source_jar = 'guava-19.0-sources.jar',
visibility = ['PUBLIC'],
visibility = [
'PUBLIC',
],
)

62 changes: 33 additions & 29 deletions third_party/java/htmlunit/BUCK
Original file line number Diff line number Diff line change
@@ -1,44 +1,48 @@
prebuilt_jar(name = 'htmlunit-driver',
maven_coords = 'org.seleniumhq.selenium:htmlunit-driver:2.21',
binary_jar = 'htmlunit-driver-2.21.jar',
deps = [
':htmlunit',
],
visibility = ['PUBLIC'],
)

java_library(name = 'htmlunit',
java_library(
name = 'htmlunit',
exported_deps = [
':htmlunit-jar',
':js-core',
':htmlunit-core-js',
],
deps = [
':neko-htmlunit',
'//third_party/java/httpcomponents:httpclient',
'//third_party/java/commons-io:commons-io',
'//third_party/java/commons:commons-lang',
'//third_party/java/cssparser:cssparser',
'//third_party/java/websocket:websocket-client',
'//third_party/java/xml:xml',
],
visibility = [
'//java/client/test/org/openqa/selenium/atoms:tests',
'//java/client/test/org/openqa/selenium/htmlunit:',
'//java/client/test/org/openqa/selenium/testing:test-base',
'PUBLIC',
],
)

prebuilt_jar(name = 'htmlunit-jar',
binary_jar = 'htmlunit-2.21.jar',
source_jar = 'htmlunit-2.21-sources.jar',
prebuilt_jar(
name = 'htmlunit-jar',
maven_coords = 'net.sourceforge.htmlunit:htmlunit:jar:2.23',
binary_jar = 'htmlunit-2.23.jar',
source_jar = 'htmlunit-2.23-sources.jar',
deps = [
':htmlunit-core-js',
':neko-htmlunit',
'//third_party/java/commons:commons-lang',
'//third_party/java/commons-io:commons-io',
'//third_party/java/commons-logging:commons-logging',
'//third_party/java/cssparser:cssparser',
'//third_party/java/httpcomponents:httpclient',
'//third_party/java/xml:xml'
],
)

prebuilt_jar(name = 'js-core',
binary_jar = 'htmlunit-core-js-2.17.jar',
source_jar = 'htmlunit-core-js-2.17-sources.jar',
prebuilt_jar(
name = 'htmlunit-core-js',
maven_coords = 'net.sourceforge.htmlunit:htmlunit-core-js:jar:2.23',
binary_jar = 'htmlunit-core-js-2.23.jar',
source_jar = 'htmlunit-core-js-2.23-sources.jar',
)

prebuilt_jar(name = 'neko-htmlunit',
binary_jar = 'neko-htmlunit-2.21.jar',
source_jar = 'neko-htmlunit-2.21-sources.jar',
prebuilt_jar(
name = 'neko-htmlunit',
maven_coords = 'net.sourceforge.htmlunit:neko-htmlunit:jar:2.23',
binary_jar = 'neko-htmlunit-2.23.jar',
source_jar = 'neko-htmlunit-2.23-sources.jar',
deps = [
'//third_party/java/xml:xml'
],
)

Binary file removed third_party/java/htmlunit/htmlunit-2.21.jar
Binary file not shown.
Loading

0 comments on commit 30ef766

Please sign in to comment.