diff mxtool/mx.py @ 16706:ff2b25002a58

set javac.source and javac.target in NetBeans configurations based on per-project Java compliance
author Doug Simon <doug.simon@oracle.com>
date Wed, 06 Aug 2014 11:06:28 +0200
parents 63706366f6c5
children ad19df13df14
line wrap: on
line diff
--- a/mxtool/mx.py	Wed Aug 06 10:59:42 2014 +0200
+++ b/mxtool/mx.py	Wed Aug 06 11:06:28 2014 +0200
@@ -3930,8 +3930,8 @@
 # Space-separated list of extra javac options
 javac.compilerargs=
 javac.deprecation=false
-javac.source=1.7
-javac.target=1.7
+javac.source=""" + str(p.javaCompliance) + """
+javac.target=""" + str(p.javaCompliance) + """
 javac.test.classpath=\\
     ${javac.classpath}:\\
     ${build.classes.dir}