New issue 46 by berend.van.berkum: Getting Starget with Eclipse Galileo
(Debian unstable)
http://code.google.com/p/eclihx/issues/detail?id=46
What steps will reproduce the problem?
1. Checkout SVN trunk, import Plugin Fragments into workspace following
steps from getting started document. New project shows without reporting
errors.
2. Run Eclipse application
3 a. open Eclihx perspective
3 b. add Eclihx Explorer view.
What is the expected output? What do you see instead?
Upon 3 a: "Problems opening
perspective 'eclihx.ui.internal.ui.HaxePerspectiveFactory'"
Upon 3 b: Unable to create view ID
eclihx.ui.internal.ui.views.PackageExplorerView: Plug-in eclihx.ui was
unable to load class eclihx.ui.internal.ui.views.HaxeExplorerView.
java.lang.ClassNotFoundException:
eclihx.ui.internal.ui.views.HaxeExplorerView
at ...
Upon startup there is also a warning report:
"The activator eclihx.ui.internal.ui.EclihxUIPlugin for bundle eclihx.ui is
invalid"
Which is caused by
"java.lang.ClassNotFoundException: eclihx.ui.internal.ui.EclihxUIPlugin"
What version of the product are you using? On what operating system?
I'm on Eclipse 3.5.2 (Galileo) from the Debian unstable repository.
Java JRE by OpenJDK.
I may migrate to Helios and have seen there is an Eclihx branche for that
version. Would this help in this case?
I'm a bit rusty on Eclipse/Java, my RCP skills are down to like zero after
experimenting with it years back.
Any help would be much appreciated! I'll got with vim for a bit more for
now.
Comment #1 on issue 46 by goodwinnk: Getting Starget with Eclipse Galileo
(Debian unstable)
http://code.google.com/p/eclihx/issues/detail?id=46
I will try to reproduce it with Debian 5.0 in two days.
Comment #2 on issue 46 by goodwinnk: Getting Starget with Eclipse Galileo
(Debian unstable)
http://code.google.com/p/eclihx/issues/detail?id=46
(No comment was entered for this change.)
Couple days ago I'have successfully tried compiling and running eclihx
project from stable debian 5.0 (lenny).
I have used Eclipse Galileo (3.5) RCP version. Also for compiling sources I
installed sun-java6-jdk debian package which is available from non-free
debian repository. I can share some screenshots with my experience of
installation if it would be usefull, should I?
Ok, many thanks.
I doubt it, at least right away. Let me try Sun's JDK, sometime between now
and weekend first.
I'll get back here with my results.
Comment #5 on issue 46 by goodwinnk: Getting Starget with Eclipse Galileo
(Debian unstable)
http://code.google.com/p/eclihx/issues/detail?id=46
(No comment was entered for this change.)
Removed OpenJDK and installed non-free sun-java6-*, eclihx projects build
automatically without further problems.
However, the launching Eclipse still cannot
find 'eclihx.ui.internal.ui.HaxePerspectiveFactory'. Same for adding the
HaXe explorer view. Giving no further note of failure.
The eclihx plugins are listed in the registry, location pointing to the
projects in the eclipse workspace.
The parent Eclipse does report that it is running java-6-sun this time, but
has nothing either in logs or problems.
Conclusion: it looks like the Java projects build without problems.
However on launching the launched Eclipse cannot find the compiled classes.
I know they are compiled into the bin/ directory, I see the Eclipse
instance has found the plugins, but how should it locate the binary code?
I am also having the same errors occur in my log on issues 3a and 3b.
My setup is Windows 7 Enterprise, Eclipse 3.6.1 and Java SE Development Kit
6u22.
Please let me know if I can provide any further details to help debug this
problem.
Ok, thank you for your feedback. Currently I'm working on nightly builds
and going to back to that bug little bit later. Anyway I can't reproduce it
in my environment, and even don't know what other information would be
usefull. So if you don't mind I would like to connect to someone machine
with TeamViewer or in some other way for plaing for couple minutes by
myself, would it be possible?
I have just accidentally reproduced this bug, but reproducing steps were
really weird. I changed my development workspace files by overwritting with
clear mercurial version from the repository. I was able to launch without
errors with "Eclipse Application" run configuration as usual. But this time
I faced with the error in "Haxe Package Explorer" with logs equal to yours.
I tried to open plugin.xml in eclihx.ui and eclipse wrote that files in
workspace are unsynchronised. After selecting all projects in workspace,
click "Refresh" from context menu and launching again the bug disappeared.
I do not know if this is helpful, but I had this same problem and I noticed
that in Eclipse there were 5 or so warnings which said something
like 'An "source.eclixh.core" build entry is missing'. I right clicked on
each of these warnings and chose "Quick Fix". This did the following:
Added "source.eclihx.core = src/" to eclixh.core/build.properties
Added "source.eclihx.debug = src/" to eclixh.debug/build.properties:
And so on.
After I did this for the 5 or so errors it launched fine.
I am using Ubuntu 10.10 with Eclipse Galileo + OpenJDK 6.
Could you please test it with new release.
http://www.eclihx.org/installation-notes
I tried it with OpenJDK 6 JRE and there were no problems without any
changes.
Comment #12 on issue 46 by goodwi...@gmail.com: Getting Starget with
Eclipse Galileo (Debian unstable)
http://code.google.com/p/eclihx/issues/detail?id=46
Considered to be fixed until other information
As of today, 26/09/2011 the problem is still here. Following the
installation guide using clean eclipse-indigo I am getting the
"java.lang.ClassNotFoundException: eclihx.ui.internal.ui.EclihxUIPlugin"
on Fedora 15, Sun JDK 1.6.
The answer (and fix) is described here :