Set JavaSource=1.6 for headless build
PATCH 1/1 Set JavaSource=1.6 for headless build
- @Override annotations can be used starting with jre >= 1.6
- Headless build plugin limited the java compilation to 1.5 (no matter what the system jdk is)
Signed-off-by Ioana Grigoropol <[email protected]>
--- .../org.yocto.sdk.headless.build/build.properties | 4 ++-- .../sdk/remotetools/wizards/bsp/MainPage.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
features/org.yocto.sdk.headless.build/build.properties +2 -2
@@ -247,10 +247,10 @@ javacVerbose=true #compilerArg= # Default value for the version of the source code. This value is used when compiling plug-ins that do not set the Bundle-RequiredExecutionEnvironment or set javacSource in build.properties -javacSource=1.5 +javacSource=1.6 # Default value for the version of the byte code targeted. This value is used when compiling plug-ins that do not set the Bundle-RequiredExecutionEnvironment or set javacTarget in build.properties. -javacTarget=1.5 +javacTarget=1.6 #individualSourceBundles=true
plugins/org.yocto.sdk.remotetools/src/org/yocto/sdk/remotetools/wizards/bsp/MainPage.java +2 -2
@@ -520,12 +520,12 @@ public class MainPage extends WizardPage { BuildLocationListener(String value){ this.value = value; } - //@Override + @Override public void focusGained(FocusEvent e) { value = ((Text)e.getSource()).getText(); } - //@Override + @Override public void focusLost(FocusEvent e) { if(!((Text)e.getSource()).getText().equals(value)) { checkBuildDir();
Signature · 1 line
1.7.9.5