[eclipse-mdt-ocl] Set java source and target for edit plugins

mbooth mbooth at fedoraproject.org
Mon Sep 13 22:39:17 UTC 2010


commit 72a6e494b00aa518a7da2102b9fb746f2e8279fa
Author: mbooth <fedora at matbooth.co.uk>
Date:   Mon Sep 13 23:34:58 2010 +0100

    Set java source and target for edit plugins

 eclipse-mdt-ocl.spec |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/eclipse-mdt-ocl.spec b/eclipse-mdt-ocl.spec
index c6b9f6a..ad3084e 100644
--- a/eclipse-mdt-ocl.spec
+++ b/eclipse-mdt-ocl.spec
@@ -78,7 +78,7 @@ find -wholename "*/rootfiles/*" | xargs chmod -x
 %{eclipse_base}/buildscripts/pdebuild -f org.eclipse.ocl.uml \
   -d "emf uml2" -o `pwd`/orbitDeps -a "-DforceContextQualifier=%{contextQualifier}"
 %{eclipse_base}/buildscripts/pdebuild -f org.eclipse.ocl.edit \
-  -d "emf uml2" -o `pwd`/orbitDeps -a "-DforceContextQualifier=%{contextQualifier}"
+  -d "emf uml2" -o `pwd`/orbitDeps -a "-DforceContextQualifier=%{contextQualifier} -DjavacTarget=1.5 -DjavacSource=1.5"
 
 %install
 rm -rf %{buildroot}


More information about the scm-commits mailing list