Skip to content

Commit adc87a4

Browse files
committed
Bump the buck version
1 parent 2ce5f56 commit adc87a4

File tree

15 files changed

+21
-41
lines changed

15 files changed

+21
-41
lines changed

.buckhash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
22583d6ee2a1fa513f0f86bf7c878771
1+
bdac818b2ac92c1987c8d19617665705

.buckversion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
be2bf932342e5d67f58c9b26f5065c745d285d0d
1+
8eca783ccd962d873c92c38b5b15b642e3f5e268

Rakefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -502,15 +502,15 @@ task :'publish-maven' => JAVA_RELEASE_TARGETS do
502502
creds = read_user_pass_from_m2_settings()
503503
JAVA_RELEASE_TARGETS.each do |p|
504504
if JAVA_RELEASE_TARGETS.include?(p)
505-
Buck::buck_cmd('publish', ['--remote-repo', 'https://oss.sonatype.org/service/local/staging/deploy/maven2', '--include-source', '--include-docs', '-u', creds[0], '-p', creds[1], '--signing-passphrase', passphrase, p])
505+
Buck::buck_cmd('publish', ['--stamp-build=detect', '--remote-repo', 'https://oss.sonatype.org/service/local/staging/deploy/maven2', '--include-source', '--include-docs', '-u', creds[0], '-p', creds[1], '--signing-passphrase', passphrase, p])
506506
end
507507
end
508508
end
509509

510510
task :'maven-install' do
511511
JAVA_RELEASE_TARGETS.each do |p|
512512
if JAVA_RELEASE_TARGETS.include?(p)
513-
Buck::buck_cmd('publish', ['--remote-repo', "file://#{ENV['HOME']}/.m2/repository", '--include-source', '--include-docs', p])
513+
Buck::buck_cmd('publish', ['--stamp-build=detect', --remote-repo', "file://#{ENV['HOME']}/.m2/repository", '--include-source', '--include-docs', p])
514514
end
515515
end
516516
end

java/client/src/org/openqa/selenium/BUCK

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
# BUILD FILE SYNTAX: SKYLARK
22
load("//:selenium-version.bzl", "SE_VERSION")
33

4-
build_stamp(name = 'build-stamp',
5-
kind = 'manifest',
6-
source_control_system = 'git',
7-
)
8-
94
java_library(name = 'selenium',
105
exported_deps = [
116
':beta',
@@ -85,8 +80,8 @@ java_library(name = 'core',
8580

8681
genrule(name = 'manifest',
8782
out = 'manifest.mf',
88-
bash = "cp $(location :build-stamp) $OUT && printf 'Selenium-Version: {}\n\n' >> $OUT".format(SE_VERSION),
89-
cmd_exe = "copy $(location :build-stamp) %OUT% && (echo Selenium-Version: {}\n\n) >> %OUT%".format(SE_VERSION),
83+
bash = "printf '\n\nName: Selenium\nSelenium-Version: {}\n\n' >> $OUT".format(SE_VERSION),
84+
cmd_exe = "(echo \n\nName: Selenium\nSelenium-Version: {}\n\n) >> %OUT%".format(SE_VERSION),
9085
)
9186

9287
java_library(name = 'beta',

java/client/src/org/openqa/selenium/interactions/BUCK

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ java_library(name = 'interactions',
55
'KeyInput.java',
66
'IsInteraction.java',
77
'PointerInput.java',
8-
] + glob(['*Action.java', 'internal/*Action.java', 'touch/*.java'], excludes = ['Action.java', 'IsInteraction.java']),
8+
] + glob(['*Action.java', 'internal/*Action.java', 'touch/*.java'], exclude = ['Action.java', 'IsInteraction.java']),
99
exported_deps = [
1010
':core',
1111
':exceptions',

java/client/src/org/openqa/selenium/internal/BuildInfo.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,12 @@ private static Properties loadBuildProperties() {
8080
for (Entry<Object, Object> e : entries) {
8181
properties.put(String.valueOf(e.getKey()), String.valueOf(e.getValue()));
8282
}
83+
84+
attributes = manifest.getAttributes("Selenium");
85+
entries = attributes.entrySet();
86+
for (Entry<Object, Object> e : entries) {
87+
properties.put(String.valueOf(e.getKey()), String.valueOf(e.getValue()));
88+
}
8389
} catch (NullPointerException e) {
8490
// Fall through
8591
}

java/client/src/org/openqa/selenium/logging/BUCK

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ java_library(name = 'api',
1919
)
2020

2121
java_library(name = 'logging',
22-
srcs = glob(['*.java', 'profiler/*.java'], excludes = API_SRCS),
22+
srcs = glob(['*.java', 'profiler/*.java'], exclude = API_SRCS),
2323
deps = [
2424
':api',
2525
'//java/client/src/org/openqa/selenium:beta',

java/client/test/com/thoughtworks/selenium/webdriven/BUCK

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ java_test(name = 'small-tests',
2828
)
2929

3030
java_library(name = 'tests',
31-
srcs = glob(['*Test.java'], excludes = ['ScriptMutatorTest.java','WebDriverBackedSeleniumLargeTest.java']),
31+
srcs = glob(['*Test.java'], exclude = ['ScriptMutatorTest.java','WebDriverBackedSeleniumLargeTest.java']),
3232
deps = [
3333
'//java/client/src/com/thoughtworks/selenium:leg-rc',
3434
'//java/client/src/org/openqa/selenium:selenium',

java/client/test/org/openqa/selenium/environment/BUCK

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# BUILD FILE SYNTAX: SKYLARK
22
java_library(name = 'environment',
3-
srcs = glob(['*.java', 'webserver/*.java'], excludes = ['**/*Test.java']),
3+
srcs = glob(['*.java', 'webserver/*.java'], exclude = ['**/*Test.java']),
44
provided_deps = [
55
'//third_party/java/servlet:javax.servlet-api',
66
],

java/server/src/org/openqa/grid/selenium/BUCK

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ load("//:selenium-version.bzl", "SE_VERSION")
55

66
java_binary(name = 'selenium',
77
main_class = 'org.openqa.grid.selenium.GridLauncherV3',
8-
manifest_file = ':manifest',
98
merge_manifests = True,
109
deps = [
1110
':classes',
@@ -15,21 +14,12 @@ java_binary(name = 'selenium',
1514
]
1615
)
1716

18-
genrule(name = 'manifest',
19-
out = 'build-info.mf',
20-
cmd = "$(exe :generate-build-info) %s > $OUT" % (SE_VERSION),
21-
)
22-
23-
python_binary(name = 'generate-build-info',
24-
main = 'generate-build-info.py',
25-
)
26-
2717
java_library(name = 'classes',
2818
maven_coords = 'org.seleniumhq.selenium:selenium-server:' + SE_VERSION,
2919
maven_pom_template = '//java/client/src/org/openqa/selenium:template-pom',
3020
srcs = glob(
3121
['**/*.java'],
32-
excludes = ['node/**']),
22+
exclude = ['node/**']),
3323
deps = [
3424
'//java/client/src/org/openqa/selenium:selenium',
3525
'//java/client/src/org/openqa/selenium:client-combined',

0 commit comments

Comments
 (0)