You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by rv...@apache.org on 2012/11/07 03:15:36 UTC
git commit: BIGTOP-775. In Groovy 1.8 the behavior of a getters of
static fields changed slightly
Updated Branches:
refs/heads/master e1eb6a000 -> a9918b15f
BIGTOP-775. In Groovy 1.8 the behavior of a getters of static fields changed slightly
Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo
Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/a9918b15
Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/a9918b15
Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/a9918b15
Branch: refs/heads/master
Commit: a9918b15faec8c102cc21f0bade497281c89315d
Parents: e1eb6a0
Author: Roman Shaposhnik <rv...@apache.org>
Authored: Tue Nov 6 18:15:16 2012 -0800
Committer: Roman Shaposhnik <rv...@apache.org>
Committed: Tue Nov 6 18:15:16 2012 -0800
----------------------------------------------------------------------
.../itest/pmanager/AptCmdLinePackageManager.groovy | 4 ++--
.../bigtop/itest/pmanager/PackageManager.groovy | 4 ++--
.../pmanager/UrpmiCmdLinePackageManager.groovy | 2 +-
.../itest/pmanager/YumCmdLinePackageManager.groovy | 4 ++--
.../pmanager/ZypperCmdLinePackageManager.groovy | 4 ++--
5 files changed, 9 insertions(+), 9 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/bigtop/blob/a9918b15/bigtop-test-framework/src/main/groovy/org/apache/bigtop/itest/pmanager/AptCmdLinePackageManager.groovy
----------------------------------------------------------------------
diff --git a/bigtop-test-framework/src/main/groovy/org/apache/bigtop/itest/pmanager/AptCmdLinePackageManager.groovy b/bigtop-test-framework/src/main/groovy/org/apache/bigtop/itest/pmanager/AptCmdLinePackageManager.groovy
index d8bbe7e..ff911fc 100644
--- a/bigtop-test-framework/src/main/groovy/org/apache/bigtop/itest/pmanager/AptCmdLinePackageManager.groovy
+++ b/bigtop-test-framework/src/main/groovy/org/apache/bigtop/itest/pmanager/AptCmdLinePackageManager.groovy
@@ -20,8 +20,8 @@ package org.apache.bigtop.itest.pmanager
class AptCmdLinePackageManager extends PackageManager {
// FIXME: NB export DEBIAN_FRONTEND=noninteractive
- static String type = "apt";
- static String repository_registry = "/etc/apt/sources.list.d/%s.list";
+ String type = "apt";
+ String repository_registry = "/etc/apt/sources.list.d/%s.list";
private static final ROOT_URL = "http://us.archive.ubuntu.com/ubuntu/";
http://git-wip-us.apache.org/repos/asf/bigtop/blob/a9918b15/bigtop-test-framework/src/main/groovy/org/apache/bigtop/itest/pmanager/PackageManager.groovy
----------------------------------------------------------------------
diff --git a/bigtop-test-framework/src/main/groovy/org/apache/bigtop/itest/pmanager/PackageManager.groovy b/bigtop-test-framework/src/main/groovy/org/apache/bigtop/itest/pmanager/PackageManager.groovy
index 468990d..c8a6178 100644
--- a/bigtop-test-framework/src/main/groovy/org/apache/bigtop/itest/pmanager/PackageManager.groovy
+++ b/bigtop-test-framework/src/main/groovy/org/apache/bigtop/itest/pmanager/PackageManager.groovy
@@ -171,13 +171,13 @@ public abstract class PackageManager {
* type of a package manager. expected to be overwritten by concrete subclasses implementing
* particular package managers (yum, apt, zypper, etc.)
*/
- static String type = "abstract"
+ String type = "abstract"
/**
* A registry location for repositories to be added to. Currently all the package managers
* we have to support can be handled by treating this as a subdirectory in a local filesystem.
*/
- static String repository_registry = "/tmp/%s.repo"
+ String repository_registry = "/tmp/%s.repo"
Shell shRoot = new Shell("/bin/bash -s", "root")
Shell shUser = new Shell("/bin/bash -s")
http://git-wip-us.apache.org/repos/asf/bigtop/blob/a9918b15/bigtop-test-framework/src/main/groovy/org/apache/bigtop/itest/pmanager/UrpmiCmdLinePackageManager.groovy
----------------------------------------------------------------------
diff --git a/bigtop-test-framework/src/main/groovy/org/apache/bigtop/itest/pmanager/UrpmiCmdLinePackageManager.groovy b/bigtop-test-framework/src/main/groovy/org/apache/bigtop/itest/pmanager/UrpmiCmdLinePackageManager.groovy
index 2cf8eea..544131e 100644
--- a/bigtop-test-framework/src/main/groovy/org/apache/bigtop/itest/pmanager/UrpmiCmdLinePackageManager.groovy
+++ b/bigtop-test-framework/src/main/groovy/org/apache/bigtop/itest/pmanager/UrpmiCmdLinePackageManager.groovy
@@ -21,7 +21,7 @@ package org.apache.bigtop.itest.pmanager
import org.apache.bigtop.itest.posix.Service
class UrpmiCmdLinePackageManager extends PackageManager {
- static String type = "urpmi";
+ String type = "urpmi";
public void setDefaults(String defaults) {}
http://git-wip-us.apache.org/repos/asf/bigtop/blob/a9918b15/bigtop-test-framework/src/main/groovy/org/apache/bigtop/itest/pmanager/YumCmdLinePackageManager.groovy
----------------------------------------------------------------------
diff --git a/bigtop-test-framework/src/main/groovy/org/apache/bigtop/itest/pmanager/YumCmdLinePackageManager.groovy b/bigtop-test-framework/src/main/groovy/org/apache/bigtop/itest/pmanager/YumCmdLinePackageManager.groovy
index 5d55dc2..32eae69 100644
--- a/bigtop-test-framework/src/main/groovy/org/apache/bigtop/itest/pmanager/YumCmdLinePackageManager.groovy
+++ b/bigtop-test-framework/src/main/groovy/org/apache/bigtop/itest/pmanager/YumCmdLinePackageManager.groovy
@@ -21,8 +21,8 @@ package org.apache.bigtop.itest.pmanager
import org.apache.bigtop.itest.posix.Service
class YumCmdLinePackageManager extends PackageManager {
- static String type = "yum";
- static String repository_registry = "/etc/yum.repos.d/%s.repo";
+ String type = "yum";
+ String repository_registry = "/etc/yum.repos.d/%s.repo";
public void setDefaults(String defaults) {}
http://git-wip-us.apache.org/repos/asf/bigtop/blob/a9918b15/bigtop-test-framework/src/main/groovy/org/apache/bigtop/itest/pmanager/ZypperCmdLinePackageManager.groovy
----------------------------------------------------------------------
diff --git a/bigtop-test-framework/src/main/groovy/org/apache/bigtop/itest/pmanager/ZypperCmdLinePackageManager.groovy b/bigtop-test-framework/src/main/groovy/org/apache/bigtop/itest/pmanager/ZypperCmdLinePackageManager.groovy
index 2bfcb84..22d02db 100644
--- a/bigtop-test-framework/src/main/groovy/org/apache/bigtop/itest/pmanager/ZypperCmdLinePackageManager.groovy
+++ b/bigtop-test-framework/src/main/groovy/org/apache/bigtop/itest/pmanager/ZypperCmdLinePackageManager.groovy
@@ -21,8 +21,8 @@ package org.apache.bigtop.itest.pmanager
import org.apache.bigtop.itest.posix.Service
class ZypperCmdLinePackageManager extends PackageManager {
- static String type = "zypper";
- static String repository_registry = "/etc/zypp/repos.d/%s.repo";
+ String type = "zypper";
+ String repository_registry = "/etc/zypp/repos.d/%s.repo";
private String key_opts = "--gpg-auto-import-keys";