Skip to content

Commit

Permalink
Including RC files info the main Java distribution package unless we'…
Browse files Browse the repository at this point in the history
…re on the 3.0 track
  • Loading branch information
barancev committed Mar 2, 2015
1 parent cb0d713 commit 085aecb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 1 addition & 4 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,6 @@ task :release => [
'//java/server/src/org/openqa/selenium/server:server:zip',
'//java/server/src/org/openqa/grid/selenium:selenium:zip',
'//java/client/src/org/openqa/selenium:client-combined:zip',
'//java/client/src/com/thoughtworks/selenium:leg-rc:zip',
] do |t|
# Unzip each of the deps and rename the pieces that need renaming
renames = {
Expand Down Expand Up @@ -520,7 +519,6 @@ task :release => [
cp "build/java/server/src/org/openqa/grid/selenium/selenium-standalone.jar", "build/dist/selenium-server-standalone-#{version}.jar"
cp "build/java/server/src/org/openqa/grid/selenium/selenium.zip", "build/dist/selenium-server-#{version}.zip"
cp "build/java/client/src/org/openqa/selenium/client-combined.zip", "build/dist/selenium-java-#{version}.zip"
cp "build/java/client/src/com/thoughtworks/selenium/leg-rc-standalone.jar", "build/dist/leg-rc-#{version}.jar"
end

task :push_release => [:release] do
Expand All @@ -537,8 +535,7 @@ task :push_release => [:release] do
[
{:file => "build/dist/selenium-server-standalone-#{version}.jar", :description => "Use this if you want to use the Selenium RC or Remote WebDriver or use Grid 2 without needing any additional dependencies"},
{:file => "build/dist/selenium-server-#{version}.zip", :description => "All variants of the Selenium Server: stand-alone, jar with dependencies and sources."},
{:file => "build/dist/selenium-java-#{version}.zip", :description => "The Java bindings for Selenium 2, including the WebDriver API clients. Download this if you want to use WebDriver API"},
{:file => "build/dist/leg-rc-#{version}.jar", :description => "The Java bindings for Selenium 1, including the RC API clients. Download this if you want to use RC API"},
{:file => "build/dist/selenium-java-#{version}.zip", :description => "The Java bindings for Selenium 2, including the WebDriver API clients. Download this if you want to use WebDriver API and the Selenium RC clients. Download this if you plan on just using the client-side pieces of Selenium"},
].each do |file|
puts "Uploading file #{file[:file]}..."
sh "#{py} third_party/py/googlecode/googlecode_upload.py -s '#{file[:description]}' -p selenium #{file[:file]} -l Featured -u #{googlecode_username} -w #{googlecode_password}"
Expand Down
2 changes: 2 additions & 0 deletions java/client/src/org/openqa/selenium/build.desc
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ java_library(name = "webdriver-api",

java_library(name = "client-combined",
deps = [
"//java/client/src/com/thoughtworks/selenium:leg-rc",
"//java/client/src/com/thoughtworks/selenium/webdriven:webdriven",
"//java/client/src/org/openqa/selenium/chrome",
"//java/client/src/org/openqa/selenium/htmlunit",
"//java/client/src/org/openqa/selenium/firefox",
Expand Down

0 comments on commit 085aecb

Please sign in to comment.