Skip to content

Commit

Permalink
Move httpclient libraries around for easier automated updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
shs96c committed Jul 2, 2015
1 parent 7b2b44d commit 5600b63
Show file tree
Hide file tree
Showing 20 changed files with 55 additions and 49 deletions.
10 changes: 5 additions & 5 deletions .idea/libraries/commons_httpclient.xml

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

4 changes: 2 additions & 2 deletions java/client/.classpath
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
<classpathentry kind="lib" path="/third-party/java/cglib/cglib-nodep-2.1_3.jar"/>
<classpathentry kind="lib" path="/third-party/java/servlet-api/servlet-api-2.5-6.1.9.jar" sourcepath="/third-party/java/servlet-api/servlet-api-2.5-6.1.9-sources.jar"/>
<classpathentry kind="lib" path="/third-party/java/phantomjs-driver/phantomjsdriver-1.2.1.jar" sourcepath="/third-party/java/phantomjs-driver/phantomjsdriver-1.2.1-sources.jar"/>
<classpathentry kind="lib" path="/third-party/java/apache-httpclient/httpclient-4.4.1.jar" sourcepath="/third-party/java/apache-httpclient/httpclient-4.4.1-sources.jar"/>
<classpathentry kind="lib" path="/third-party/java/apache-httpclient/httpcore-4.4.1.jar" sourcepath="/third-party/java/apache-httpclient/httpcore-4.4.1-sources.jar"/>
<classpathentry kind="lib" path="/third-party/java/httpcomponents/httpclient-4.4.1.jar" sourcepath="/third-party/java/httpcomponents/httpclient-4.4.1-sources.jar"/>
<classpathentry kind="lib" path="/third-party/java/httpcomponents/httpcore-4.4.1.jar" sourcepath="/third-party/java/httpcomponents/httpcore-4.4.1-sources.jar"/>
<classpathentry kind="lib" path="/third-party/java/commons-logging/commons-logging-1.1.3.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="/third-party/java/commons-codec/commons-codec-1.10.jar" sourcepath="/third-party/java/commons-codec/commons-codec-1.10-sources.jar"/>
Expand Down
2 changes: 1 addition & 1 deletion java/client/src/org/openqa/selenium/remote/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ java_library(name = 'remote',
':http-session-id',
'//java/client/src/org/openqa/selenium/io:io',
'//java/client/src/org/openqa/selenium/net:net',
'//third_party/java/apache-httpclient:apache-httpclient',
'//third_party/java/httpcomponents:httpclient',
'//third_party/java/guava-libraries:guava-libraries',
'//third_party/java/gson:gson',
],
Expand Down
2 changes: 1 addition & 1 deletion java/client/src/org/openqa/selenium/remote/build.desc
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,6 @@ java_library(name = "remote",
"//java/client/src/org/openqa/selenium/logging",
"//java/client/src/org/openqa/selenium/io",
"//java/client/src/org/openqa/selenium/net",
"//third_party/java/apache-httpclient",
"//third_party/java/httpcomponents:httpclient",
"//third_party/java/guava-libraries",
])
4 changes: 2 additions & 2 deletions java/client/test/org/openqa/selenium/environment/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ java_library(name = 'environment',
'//java/client/src/org/openqa/selenium/io:io',
'//java/client/src/org/openqa/selenium/net:net',
'//java/client/test/org/openqa/selenium/testing:helpers',
'//third_party/java/apache-httpclient:apache-httpclient',
'//third_party/java/commons-fileupload:commons-fileupload',
'//third_party/java/guava-libraries:guava-libraries',
'//third_party/java/httpcomponents:httpclient',
'//third_party/java/jetty:jetty',
'//third_party/java/servlet-api:servlet-api',
'//third_party/java/webbit:webbit',
Expand All @@ -17,4 +17,4 @@ java_library(name = 'environment',
'//java/client/test/...',
'//java/server/test/...',
],
)
)
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@ java_test(name = "webserver_test",
":webserver",
"//java/client/src/org/openqa/selenium/chrome",
"//java/client/src/org/openqa/selenium:webdriver-api",
"//third_party/java/apache-httpclient",
"//third_party/java/httpcomponents:httpclient",
"//third_party/java/junit",
])
2 changes: 1 addition & 1 deletion java/client/test/org/openqa/selenium/remote/build.desc
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ java_test(name = "common-tests",
"//java/client/src/org/openqa/selenium/remote",
"//java/client/src/org/openqa/selenium/remote:common",
"//java/client/test/org/openqa/selenium:tests",
"//third_party/java/apache-httpclient",
"//third_party/java/httpcomponents:httpclient",
"//third_party/java/junit",
])

Expand Down
4 changes: 2 additions & 2 deletions java/server/.classpath
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<classpathentry combineaccessrules="false" exported="true" kind="src" path="/client"/>
<classpathentry kind="lib" path="/third-party/java/gson/gson-2.3.1.jar"/>
<classpathentry kind="lib" path="/third-party/java/servlet-api/servlet-api-2.5-6.1.9.jar" sourcepath="/third-party/java/servlet-api/servlet-api-2.5-6.1.9-sources.jar"/>
<classpathentry kind="lib" path="/third-party/java/apache-httpclient/httpclient-4.4.1.jar" sourcepath="/third-party/java/apache-httpclient/httpclient-4.4.1-sources.jar"/>
<classpathentry kind="lib" path="/third-party/java/apache-httpclient/httpcore-4.4.1.jar" sourcepath="/third-party/java/apache-httpclient/httpcore-4.4.1-sources.jar"/>
<classpathentry kind="lib" path="/third-party/java/httpcomponents/httpclient-4.4.1.jar" sourcepath="/third-party/java/httpcomponents/httpclient-4.4.1-sources.jar"/>
<classpathentry kind="lib" path="/third-party/java/httpcomponents/httpcore-4.4.1.jar" sourcepath="/third-party/java/httpcomponents/httpcore-4.4.1-sources.jar"/>
<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"/>
Expand Down
4 changes: 2 additions & 2 deletions java/server/src/org/openqa/grid/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ java_library(name = 'grid',
'//java/server/src/org/openqa/grid/common:common',
'//java/server/src/org/openqa/selenium/remote/server/log:log',
'//java/server/src/org/openqa/selenium/server:server',
'//third_party/java/apache-httpclient:apache-httpclient',
'//third_party/java/gson:gson',
'//third_party/java/guava-libraries:guava-libraries',
'//third_party/java/httpcomponents:httpclient',
'//third_party/java/jcip_annotations:jcip_annotations',
'//third_party/java/jetty:jetty',
'//third_party/java/jetty:jetty-for-rc',
Expand All @@ -33,4 +33,4 @@ prebuilt_jar(name = 'images',
zip(name = 'images-zip',
srcs = glob(['images/*']),
out = 'images.jar',
)
)
2 changes: 1 addition & 1 deletion java/server/src/org/openqa/grid/build.desc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ java_library(name = "grid",
deps = [
"//java/client/src/org/openqa/selenium:webdriver-api",
"//java/server/src/org/openqa/grid/common",
"//third_party/java/apache-httpclient",
"//third_party/java/httpcomponents:httpclient",
"//third_party/java/guava-libraries",
"//third_party/java/jcip_annotations",
"//third_party/java/yaml",
Expand Down
25 changes: 3 additions & 22 deletions third_party/java/apache-httpclient/BUCK
Original file line number Diff line number Diff line change
@@ -1,26 +1,7 @@
java_library(name = "apache-httpclient",
exported_deps = [
':client',
':core',
':mime',
'//third_party/java/apache-mime4j:apache-mime4j',
'//third_party/java/commons-codec:commons-codec',
'//third_party/java/commons-logging:commons-logging',
],
visibility = ['PUBLIC'],
)

prebuilt_jar(name = 'client',
binary_jar = 'httpclient-4.4.1.jar',
source_jar = 'httpclient-4.4.1-sources.jar',
)

prebuilt_jar(name = 'core',
binary_jar = 'httpcore-4.4.1.jar',
source_jar = 'httpcore-4.4.1-sources.jar',
)

prebuilt_jar(name = 'mime',
binary_jar = 'httpmime-4.4.1.jar',
source_jar = 'httpmime-4.4.1-sources.jar',
visibility = [
'//third_party/java/httpcomponents/...',
],
)
8 changes: 1 addition & 7 deletions third_party/java/apache-httpclient/build.desc
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@

java_library(name = "apache-httpclient",
java_library(name = "mime",
deps = [
"httpclient-4.4.1.jar",
"httpcore-4.4.1.jar",
"httpmime-4.4.1.jar",
"//third_party/java/apache-mime4j",
"//third_party/java/commons-codec",
"//third_party/java/commons-logging"
])
2 changes: 1 addition & 1 deletion third_party/java/htmlunit/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ prebuilt_jar(name = 'htmlunit',
source_jar = 'htmlunit-2.17-sources.jar',
deps = [
':js-core',
'//third_party/java/apache-httpclient:apache-httpclient',
'//third_party/java/httpcomponents:httpclient',
'//third_party/java/commons-collections:commons-collections',
'//third_party/java/commons-io:commons-io',
'//third_party/java/commons-lang:commons-lang',
Expand Down
2 changes: 1 addition & 1 deletion third_party/java/htmlunit/build.desc
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ java_library(name = "htmlunit",
deps = [
"htmlunit-2.17.jar",
"htmlunit-core-js-2.17.jar",
"//third_party/java/apache-httpclient",
"//third_party/java/commons-collections",
"//third_party/java/commons-io",
"//third_party/java/commons-lang",
"//third_party/java/cssparser",
"//third_party/java/httpcomponents:httpclient",
"//third_party/java/nekohtml",
"//third_party/java/serializer",
"//third_party/java/xml",
Expand Down
22 changes: 22 additions & 0 deletions third_party/java/httpcomponents/BUCK
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
java_library(name = "httpclient",
exported_deps = [
':client',
':core',
'//third_party/java/apache-httpclient:mime',
'//third_party/java/apache-mime4j:apache-mime4j',
'//third_party/java/commons-codec:commons-codec',
'//third_party/java/commons-logging:commons-logging',
],
visibility = ['PUBLIC'],
)

prebuilt_jar(name = 'client',
binary_jar = 'httpclient-4.4.1.jar',
source_jar = 'httpclient-4.4.1-sources.jar',
)

prebuilt_jar(name = 'core',
binary_jar = 'httpcore-4.4.1.jar',
source_jar = 'httpcore-4.4.1-sources.jar',
)

9 changes: 9 additions & 0 deletions third_party/java/httpcomponents/build.desc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
java_library(name = "httpclient",
deps = [
"httpclient-4.4.1.jar",
"httpcore-4.4.1.jar",
"//third_party/java/apache-httpclient:mime",
"//third_party/java/apache-mime4j",
"//third_party/java/commons-codec",
"//third_party/java/commons-logging"
])

0 comments on commit 5600b63

Please sign in to comment.