adireddy / eclihx

Automatically exported from code.google.com/p/eclihx
0 stars 0 forks source link

Getting Starget with Eclipse Galileo (Debian unstable) #46

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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.

Original issue reported on code.google.com by berend.v...@gmail.com on 24 Oct 2010 at 1:04

GoogleCodeExporter commented 9 years ago
I will try to reproduce it with Debian 5.0 in two days. 

Original comment by goodwi...@gmail.com on 26 Oct 2010 at 9:12

GoogleCodeExporter commented 9 years ago

Original comment by goodwi...@gmail.com on 26 Oct 2010 at 9:30

GoogleCodeExporter commented 9 years ago
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?

Original comment by goodwi...@gmail.com on 3 Nov 2010 at 11:56

GoogleCodeExporter commented 9 years ago
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.

Original comment by berend.v...@gmail.com on 3 Nov 2010 at 4:03

GoogleCodeExporter commented 9 years ago

Original comment by goodwi...@gmail.com on 5 Nov 2010 at 11:50

GoogleCodeExporter commented 9 years ago
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?

Original comment by berend.v...@gmail.com on 6 Nov 2010 at 9:35

GoogleCodeExporter commented 9 years ago
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.

Original comment by lach.fes...@gmail.com on 10 Nov 2010 at 12:03

GoogleCodeExporter commented 9 years ago
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?

Original comment by goodwi...@gmail.com on 19 Nov 2010 at 10:56

GoogleCodeExporter commented 9 years ago
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.

Original comment by goodwi...@gmail.com on 25 Dec 2010 at 4:49

GoogleCodeExporter commented 9 years ago
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.

Original comment by nat...@transloc-inc.com on 27 Dec 2010 at 8:16

GoogleCodeExporter commented 9 years ago
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.

Original comment by goodwi...@gmail.com on 22 Jan 2011 at 10:52

GoogleCodeExporter commented 9 years ago
Considered to be fixed until other information

Original comment by goodwi...@gmail.com on 7 Mar 2011 at 11:13

GoogleCodeExporter commented 9 years ago
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.

Original comment by musa...@gmail.com on 26 Sep 2011 at 12:59

GoogleCodeExporter commented 9 years ago
The answer (and fix) is described here :

http://wiki.eclipse.org/PDE/FAQ#Why_aren.27t_my_class_files_being_resolved.3F_.2
8ClassNotFoundException.29

Original comment by musa...@gmail.com on 26 Sep 2011 at 9:49