Community
Participate
Working Groups
The Apache Harmony crew have developed a plug-in that helps Eclipse identify an Apache Harmony VM, and locate the Java sources and what-not. The plug-in is currently being used as part of the InHarmonyWithEclipse distribution and appears to work well. I think it'd be a handy inclusion in the base platform. If others agree, I'd be happy to help with the process.
I'm also willing to help with this.
For starters, someone should attach a patch to include the support in JDT. If a "vm type" extension is used, I would suggest that the contribution should be made to the org.eclipse.jdt.launching plug-in. UI portions can be contributed to the org.eclipse.jdt.debug.ui plug-in.
Wayne/Tim, do you know if the new "JRE execution environment description file" could be used to launch Harmony VM's - i.e. such that we could avoid the need for a new plug-in or VM type to support Harmony? @see http://wiki.eclipse.org/Execution_Environment_Descriptions For example, we can now support the launching of J9 VM's without the old j9.launching plug-in. @see http://wiki.eclipse.org/J9#Configuring_J9_into_your_IDE
Indeed, the ee files were put in place at least in part to make this sort of thing easier. Andrew may have something in this space.
Just looking at the wiki page description it appears that we could create a version for Harmony. The only potential problem is for the source location since Harmony has src in a number of files, not a single zip. I'll create a .ee and let you know.
Created attachment 86404 [details] harmony.ee (In reply to comment #5) > The only potential problem is for the source location > since Harmony has src in a number of files, not a single zip. The bootclasspath is also a number of files, and the final ee.bootclasspath is quite long. This is a problem if you try to use the resulting .ee file to launch the harmony vm using the eclipse launcher (eclipse -vm harmony.ee) because of bug 214635. However, this does not affect debug since it doesn't use the eclipse launcher. I was able to successfully launch a debug session using the attached harmony.ee file which was written to be placed in the harmony bin directory. One thing I found was the need for quotes in any property containing spaces because these properties end up being passed in as vm args and the spaces are not escaped by debug.
(In reply to comment #5) > Just looking at the wiki page description it appears that we could create a > version for Harmony. The only potential problem is for the source location > since Harmony has src in a number of files, not a single zip. I'll create a > .ee and let you know. FYI - We added support for multiple source archives, but it will likely be modified again (@see bug 217930 and bug 214650).
Feature freeze is upon us, marking assigned for future consideration.