Bug 6275

Summary: Building eclipse plugin failed
Product: [Yocto Project Subprojects] Eclipse Plugin Reporter: Paul Eggleton <bluelightning>
Component: eclipse-pluginAssignee: Michael Halstead <mhalstead>
Status: VERIFIED FIXED QA Contact: Andra Necula <andrax.g.necula>
Severity: normal    
Priority: Medium CC: alexandru.c.georgescu, andrax.g.necula, elizabeth.flanagan, ioanax.grigoropol, yp.ep.watcher, yp.watcher
Version: 1.7   
Target Milestone: 1.7 M1   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Paul Eggleton 2014-05-07 15:36:39 UTC
From a failure on the autobuilder:

 [javac] 12. ERROR in /home/pokybuild/yocto-autobuilder/yocto-slave/eclipse-plugin-kepler/build/scripts/master_build_201405070251/build/plugins/org.yocto.remote.utils/src/org/yocto/remote/utils/RemoteHelper.java (at line 27)
    [javac] 	import java.nio.file.Files;
    [javac] 	       ^^^^^^^^^^^^^
    [javac] The import java.nio.file cannot be resolved

Full log:

https://autobuilder.yoctoproject.org/main/builders/eclipse-plugin-kepler/builds/84/steps/Building%20Eclipse%20Plugin/logs/stdio
Comment 1 Beth Flanagan 2014-05-07 22:31:01 UTC
debian7 has a bad jdk. Halstead, can you update the jdk? For now, we have eclipse-plugins off of debian7.
Comment 2 Alexandru Georgescu 2014-06-13 11:52:41 UTC
(In reply to comment #1)
> debian7 has a bad jdk. Halstead, can you update the jdk? For now, we have
> eclipse-plugins off of debian7.

Seems that for 1.6.1 eclipse-plugins are built.
Comment 3 Michael Halstead 2014-06-13 23:02:49 UTC
debian7.pdx.yoctoproject.org and ubuntu1204.pdx.yoctoproject.org are running the same version of JDK. 


OpenJDK Runtime Environment (IcedTea6 1.13.3) (6b31-1.13.3-1~deb7u1)
OpenJDK 64-Bit Server VM (build 23.25-b01, mixed mode)
and
OpenJDK Runtime Environment (IcedTea6 1.13.3) (6b31-1.13.3-1ubuntu1~0.12.04.2)
OpenJDK 64-Bit Server VM (build 23.25-b01, mixed mode)

Both updated to 

OpenJDK Runtime Environment (IcedTea 2.4.7) (7u55-2.4.7-1~deb7u1)
OpenJDK 64-Bit Server VM (build 24.51-b03, mixed mode)
and
OpenJDK Runtime Environment (IcedTea 2.4.7) (7u55-2.4.7-1ubuntu1~0.12.04.2)
OpenJDK 64-Bit Server VM (build 24.51-b03, mixed mode)


Other builders are running OpenJDK 7 so I expect this to fix the problem.
Comment 4 Andra Necula 2014-08-20 08:10:26 UTC
Verified with eclipse Kepler, on master branch
commit 2d1660112e54653f7bb763939d0416472c49fe01

Cheers! Andra N.