Skip to content

Commit e506776

Browse files
committed
fixing htmlunit project / dependencies
1 parent dbad0d8 commit e506776

File tree

11 files changed

+19
-21
lines changed

11 files changed

+19
-21
lines changed

.idea/libraries/htmlunit.xml

Lines changed: 7 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

java/client/.classpath

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@
77
<classpathentry kind="lib" path="/third-party/java/hamcrest/hamcrest-core-1.3.jar"/>
88
<classpathentry kind="lib" path="/third-party/java/hamcrest/hamcrest-library-1.3.jar"/>
99
<classpathentry kind="lib" path="/third-party/java/guava/guava-19.0.jar" sourcepath="/third-party/java/guava/guava-19.0-sources.jar"/>
10-
<classpathentry kind="lib" path="/third-party/java/htmlunit/htmlunit-2.20.jar" sourcepath="/third-party/java/htmlunit/htmlunit-2.20-sources.jar"/>
10+
<classpathentry kind="lib" path="/third-party/java/htmlunit/htmlunit-2.21.jar" sourcepath="/third-party/java/htmlunit/htmlunit-2.21-sources.jar"/>
11+
<classpathentry kind="lib" path="/third-party/java/htmlunit/neko-htmlunit-2.21.jar" sourcepath="/third-party/java/htmlunit/neko-htmlunit-2.21-sources.jar"/>
1112
<classpathentry kind="lib" path="/third-party/java/htmlunit/htmlunit-core-js-2.17.jar" />
12-
<classpathentry kind="lib" path="/third-party/java/htmlunit/htmlunit-driver-2.20.0-SNAPSHOT.jar"/>
13+
<classpathentry kind="lib" path="/third-party/java/htmlunit/htmlunit-driver-2.21.jar" sourcepath="/third-party/java/htmlunit/htmlunit-driver-2.21.jar"/>
1314
<classpathentry kind="lib" path="/third-party/java/jna/jna-4.1.0.jar" sourcepath="/third-party/java/jna/jna-4.1.0-src.jar"/>
1415
<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"/>
1516
<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"/>
@@ -31,7 +32,6 @@
3132
<classpathentry kind="lib" path="/third-party/java/xalan/xalan-2.7.2.jar"/>
3233
<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"/>
3334
<classpathentry kind="lib" path="/third-party/java/little_proxy/littleproxy-0.5.3.jar" sourcepath="/third-party/java/little_proxy/littleproxy-0.5.3-sources.jar"/>
34-
<classpathentry kind="lib" path="/third-party/java/nekohtml/nekohtml-1.9.22.jar"/>
3535
<classpathentry kind="lib" path="/third-party/java/netty/netty-3.5.7.Final.jar"/>
3636
<classpathentry kind="lib" path="/third-party/java/xml/xml-apis-1.4.01.jar"/>
3737
<classpathentry kind="lib" path="/third-party/java/mockito/mockito-core-1.9.5.jar"/>

java/client/client.iml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636
<orderEntry type="library" name="servlet-api" level="project" />
3737
<orderEntry type="library" name="testng" level="project" />
3838
<orderEntry type="library" name="xml-apis" level="project" />
39-
<orderEntry type="library" scope="RUNTIME" name="nekohtml" level="project" />
4039
<orderEntry type="library" name="sac" level="project" />
4140
<orderEntry type="library" scope="TEST" name="dnsjava" level="project" />
4241
<orderEntry type="library" scope="TEST" name="dnssec4j" level="project" />
@@ -54,4 +53,4 @@
5453
<option name="useAlternativeWorkingDir" value="false" />
5554
<option name="workingDirSelection" value="&lt;PROJECT&gt;" />
5655
</component>
57-
</module>
56+
</module>

third_party/java/htmlunit/BUCK

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ prebuilt_jar(name = 'htmlunit',
1111
source_jar = 'htmlunit-2.21-sources.jar',
1212
deps = [
1313
':js-core',
14+
':neko-htmlunit',
1415
'//third_party/java/httpcomponents:httpclient',
1516
'//third_party/java/commons-collections:commons-collections',
1617
'//third_party/java/commons-io:commons-io',
1718
'//third_party/java/commons:commons-lang',
1819
'//third_party/java/cssparser:cssparser',
19-
'//third_party/java/nekohtml:nekohtml',
2020
'//third_party/java/serializer:serializer',
2121
'//third_party/java/websocket:websocket-client',
2222
'//third_party/java/xml:xml',
@@ -34,3 +34,9 @@ prebuilt_jar(name = 'js-core',
3434
# '//java/client/src/org/openqa/selenium/htmlunit:htmlunit',
3535
],
3636
)
37+
38+
prebuilt_jar(name = 'neko-htmlunit',
39+
binary_jar = 'neko-htmlunit-2.21.jar',
40+
source_jar = 'neko-htmlunit-2.21-sources.jar',
41+
visibility = [],
42+
)

third_party/java/htmlunit/build.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ java_library(name = "htmlunit",
22
deps = [
33
"htmlunit-driver-2.21.jar",
44
"htmlunit-2.21.jar",
5+
"neko-htmlunit-2.21.jar",
56
"htmlunit-core-js-2.17.jar",
67
"//third_party/java/commons:commons-lang",
78
"//third_party/java/commons-collections",
89
"//third_party/java/commons-io",
910
"//third_party/java/cssparser",
1011
"//third_party/java/httpcomponents:httpclient",
11-
"//third_party/java/nekohtml",
1212
"//third_party/java/serializer",
1313
"//third_party/java/xml",
1414
"//third_party/java/websocket:websocket-client",
Binary file not shown.
Binary file not shown.

third_party/java/nekohtml/BUCK

Lines changed: 0 additions & 7 deletions
This file was deleted.

third_party/java/nekohtml/build.desc

Lines changed: 0 additions & 4 deletions
This file was deleted.
Binary file not shown.

0 commit comments

Comments
 (0)