Hello Alon Bar-Lev,

I'd like you to do a code review.  Please visit

    http://gerrit.ovirt.org/34533

to review the following change.

Change subject: build: force java-1.7 source and target
......................................................................

build: force java-1.7 source and target

soon java-8 will be used to build, we should force our preferences.

Change-Id: I01b96d1472a084afc66bc609f2fffd6b72a4c114
Signed-off-by: Alon Bar-Lev <[email protected]>
---
M ovirt-engine-reports.spec.in
M ovirt-engine-reports/ChartsCustomizers/build.xml
M ovirt-engine-reports/CustomOvirtReportsQueryManipulator/build.xml
M ovirt-engine-reports/EngineAuthentication/build.xml
M ovirt-engine-reports/ReportsServlet/build.xml
5 files changed, 9 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-reports refs/changes/33/34533/1

diff --git a/ovirt-engine-reports.spec.in b/ovirt-engine-reports.spec.in
index a88a9ce..cf625ef 100644
--- a/ovirt-engine-reports.spec.in
+++ b/ovirt-engine-reports.spec.in
@@ -1,5 +1,5 @@
 %if 0%{?fedora}
-%global java_devel java-devel
+%global java_devel java-devel >= 1.7.0
 %global ovirt_install_systemd 1
 %global ovirt_install_systemv 0
 %if %{fedora} >= 20
diff --git a/ovirt-engine-reports/ChartsCustomizers/build.xml 
b/ovirt-engine-reports/ChartsCustomizers/build.xml
index 3348059..307acf9 100644
--- a/ovirt-engine-reports/ChartsCustomizers/build.xml
+++ b/ovirt-engine-reports/ChartsCustomizers/build.xml
@@ -20,6 +20,8 @@
                        debug="true"
                        debuglevel="lines,vars,source"
                        classpathref="local.classpath"
+                       source="1.7"
+                       target="1.7"
                />
                <jar
                        destfile="${local.output}"
diff --git a/ovirt-engine-reports/CustomOvirtReportsQueryManipulator/build.xml 
b/ovirt-engine-reports/CustomOvirtReportsQueryManipulator/build.xml
index 1d1c5af..27c5674 100644
--- a/ovirt-engine-reports/CustomOvirtReportsQueryManipulator/build.xml
+++ b/ovirt-engine-reports/CustomOvirtReportsQueryManipulator/build.xml
@@ -21,6 +21,8 @@
                        debug="true"
                        debuglevel="lines,vars,source"
                        classpathref="local.classpath"
+                       source="1.7"
+                       target="1.7"
                />
                <jar
                        destfile="${local.output}"
diff --git a/ovirt-engine-reports/EngineAuthentication/build.xml 
b/ovirt-engine-reports/EngineAuthentication/build.xml
index fb3a2f8..f45bf9d 100644
--- a/ovirt-engine-reports/EngineAuthentication/build.xml
+++ b/ovirt-engine-reports/EngineAuthentication/build.xml
@@ -24,6 +24,8 @@
                        debug="true"
                        debuglevel="lines,vars,source"
                        classpathref="local.classpath"
+                       source="1.7"
+                       target="1.7"
                />
                <jar
                        destfile="${local.output}"
diff --git a/ovirt-engine-reports/ReportsServlet/build.xml 
b/ovirt-engine-reports/ReportsServlet/build.xml
index 597691c..7340889 100644
--- a/ovirt-engine-reports/ReportsServlet/build.xml
+++ b/ovirt-engine-reports/ReportsServlet/build.xml
@@ -18,6 +18,8 @@
                        debug="true"
                        debuglevel="lines,vars,source"
                        classpathref="local.classpath"
+                       source="1.7"
+                       target="1.7"
                />
                <jar
                        destfile="${local.output}"


-- 
To view, visit http://gerrit.ovirt.org/34533
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I01b96d1472a084afc66bc609f2fffd6b72a4c114
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-reports
Gerrit-Branch: ovirt-engine-reports-3.5
Gerrit-Owner: Shirly Radco <[email protected]>
Gerrit-Reviewer: Alon Bar-Lev <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to