Mercurial > hg > truffle
changeset 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 | 13f8c249edb8 |
children | 01642bca22b8 |
files | mxtool/mx.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
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}