Skip to content

Commit 49a29ce

Browse files
committed
Switch to Java 7
We now require at least Java 7 to build and run CloudStack. Both the DEB and RPM packaging now also require Java 7 during installation of the packages.
1 parent a0f21ff commit 49a29ce

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

debian/control

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Source: cloudstack
22
Section: libs
33
Priority: extra
44
Maintainer: Wido den Hollander <wido@widodh.nl>
5-
Build-Depends: debhelper (>= 7), openjdk-6-jdk | openjdk-7-jdk, tomcat6, genisoimage,
5+
Build-Depends: debhelper (>= 7), openjdk-7-jdk, tomcat6, genisoimage,
66
python-mysqldb, maven3 | maven (>= 3), python (>= 2.6.6-3~)
77
Standards-Version: 3.8.1
88
Homepage: http://www.cloudstack.org/
@@ -22,7 +22,7 @@ Description: CloudStack server library
2222

2323
Package: cloudstack-agent
2424
Architecture: all
25-
Depends: openjdk-6-jre | openjdk-7-jre, cloudstack-common (= ${source:Version}), lsb-base (>= 3.2), libcommons-daemon-java, openssh-client, libvirt0, sysvinit-utils, qemu-kvm, libvirt-bin, uuid-runtime, rsync, grep, iproute, perl-base, perl-modules, ebtables, vlan, wget, jsvc, ipset, python-libvirt, ethtool, iptables
25+
Depends: openjdk-7-jre, cloudstack-common (= ${source:Version}), lsb-base (>= 3.2), libcommons-daemon-java, openssh-client, libvirt0, sysvinit-utils, qemu-kvm, libvirt-bin, uuid-runtime, rsync, grep, iproute, perl-base, perl-modules, ebtables, vlan, wget, jsvc, ipset, python-libvirt, ethtool, iptables
2626
Conflicts: cloud-agent, cloud-agent-libs, cloud-agent-deps, cloud-agent-scripts
2727
Description: CloudStack agent
2828
The CloudStack agent is in charge of managing shared computing resources in
@@ -31,7 +31,7 @@ Description: CloudStack agent
3131

3232
Package: cloudstack-usage
3333
Architecture: all
34-
Depends: openjdk-6-jre | openjdk-7-jre, cloudstack-common (= ${source:Version}), jsvc
34+
Depends: openjdk-7-jre, cloudstack-common (= ${source:Version}), jsvc
3535
Description: CloudStack usage monitor
3636
The CloudStack usage monitor provides usage accounting across the entire cloud for
3737
cloud operators to charge based on usage parameters.

packaging/centos63/cloud.spec

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Group: System Environment/Libraries
4343
Source0: %{name}-%{_maventag}.tgz
4444
BuildRoot: %{_tmppath}/%{name}-%{_maventag}-%{release}-build
4545

46-
BuildRequires: java-1.6.0-openjdk-devel
46+
BuildRequires: java-1.7.0-openjdk-devel
4747
BuildRequires: tomcat6
4848
BuildRequires: ws-commons-util
4949
BuildRequires: jpackage-utils
@@ -60,7 +60,7 @@ intelligent IaaS cloud implementation.
6060
%package management
6161
Summary: CloudStack management server UI
6262
Requires: tomcat6
63-
Requires: java >= 1.6.0
63+
Requires: java >= 1.7.0
6464
Requires: python
6565
Requires: bash
6666
Requires: bzip2
@@ -112,7 +112,7 @@ The Apache CloudStack files shared between agent and management server
112112
%package agent
113113
Summary: CloudStack Agent for KVM hypervisors
114114
Requires: openssh-clients
115-
Requires: java >= 1.6.0
115+
Requires: java >= 1.7.0
116116
Requires: %{name}-common = %{_ver}
117117
Requires: libvirt
118118
Requires: bridge-utils
@@ -138,7 +138,7 @@ The CloudStack agent for KVM hypervisors
138138

139139
%package usage
140140
Summary: CloudStack Usage calculation server
141-
Requires: java >= 1.6.0
141+
Requires: java >= 1.7.0
142142
Requires: jsvc
143143
Requires: jakarta-commons-daemon
144144
Requires: jakarta-commons-daemon-jsvc

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
</issueManagement>
3535

3636
<properties>
37-
<cs.jdk.version>1.6</cs.jdk.version>
37+
<cs.jdk.version>1.7</cs.jdk.version>
3838
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
3939

4040
<cs.log4j.version>1.2.16</cs.log4j.version>

0 commit comments

Comments
 (0)