# HG changeset patch # User Doug Simon # Date 1407315988 -7200 # Node ID ff2b25002a5882fd8756b7d14687cb28cf34da9e # Parent 13f8c249edb8320aa9893a0d28eb70d4a1e0af6d set javac.source and javac.target in NetBeans configurations based on per-project Java compliance diff -r 13f8c249edb8 -r ff2b25002a58 mxtool/mx.py --- 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}