Community
Participate
Working Groups
The isEmpty() method does not exist in Java 1.5. Resource: org.eclipse.mylyn.modeling.emf.core/src/org/eclipse/mylyn/modeling/emf/EmfStructureBridge.java Location: line 252
Fixed -- the toString part wasn't needed at all. Not sure why Eclipse didn't note this as the BREE is 1.5.
I believe you need to have an actual Java 1.5 JRE registered to get error markers.
Ah. And since there isn't one on the Mac... I wonder if API baselines would/could provide this?
The method isEmpty() is undefined for the type String /org.eclipse.mylyn.modeling.emf.core/src/org/eclipse/mylyn/modeling/emf/EmfStructureBridge.java line 257
OK, we really need a better way to catch these, it's not likely that I'm going to remember to avoid that. Ad there doesn't seem to be a good way around this form what I can find online. Why isn't the automated build catching these?
It's probably building with Java 1.6. A very simple way to catch these in the workspace is to configure a Java 1.5 runtime environment in Eclipse (comment 2).
Again, that doesn't work on Mac OS X, because there is no JRE 1.5 on the mac. (comment 3)
Please see bug 359324 for a partial solution.
Sounds like this can indeed be done using API tooling: http://dev.eclipse.org/mhonarc/lists/cross-project-issues-dev/msg06643.html. Do you know where to install execution environments from?
Yep, we're all set: https://github.com/MilesParker/mylyn.incubator/commit/5f6fcd7cffe5b0a32dbb24c259cd1e631c550a87 Related bug: 359326