Eclipse compilation errors

  • Thread starter Guybrush Threepwood
  • Start date
G

Guybrush Threepwood

I've already posted this in the Eclipse newsgroups, but I don't receive
any answers there. I'm trying to build Eclipse 3.2.2 (on Slackware
11.0) but receive numerous errors. These are the first:

1. ERROR in
/usr/pkgsrc/devel/eclipse/work/plugins/org.eclipse.core.runtime.compatibility.registry/src/org/eclipse/core/internal/registry/ExtensionHandle.java
[javac] (at line 13)
[javac] import org.eclipse.core.runtime.IPluginDescriptor;
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] The import org.eclipse.core.runtime.IPluginDescriptor cannot be
resolved
[javac] ----------

2. ERROR in
/usr/pkgsrc/devel/eclipse/work/plugins/org.eclipse.core.runtime.compatibility.registry/src/org/eclipse/core/internal/registry/ExtensionHandle.java
[javac] (at line 30)
[javac] public IPluginDescriptor getDeclaringPluginDescriptor() throws
InvalidRegistryObjectException {
[javac] ^^^^^^^^^^^^^^^^^
[javac] IPluginDescriptor cannot be resolved to a type
[javac] ----------


I'm just using the provided ant file.
 
J

JT

Guybrush said:
I've already posted this in the Eclipse newsgroups, but I don't receive
any answers there. I'm trying to build Eclipse 3.2.2 (on Slackware
11.0) but receive numerous errors. These are the first:

1. ERROR in
/usr/pkgsrc/devel/eclipse/work/plugins/org.eclipse.core.runtime.compatibility.registry/src/org/eclipse/core/internal/registry/ExtensionHandle.java
[javac] (at line 13)
[javac] import org.eclipse.core.runtime.IPluginDescriptor;
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] The import org.eclipse.core.runtime.IPluginDescriptor cannot be
resolved
[javac] ----------

2. ERROR in
/usr/pkgsrc/devel/eclipse/work/plugins/org.eclipse.core.runtime.compatibility.registry/src/org/eclipse/core/internal/registry/ExtensionHandle.java
[javac] (at line 30)
[javac] public IPluginDescriptor getDeclaringPluginDescriptor() throws
InvalidRegistryObjectException {
[javac] ^^^^^^^^^^^^^^^^^
[javac] IPluginDescriptor cannot be resolved to a type
[javac] ----------


I'm just using the provided ant file.
Why don't you use a pre-fab distribution like those on www.yoxos.com
You can select pretty much any configuration you want,and even customize
your own.
 
G

Guybrush Threepwood

Guybrush said:
I'm trying to build Eclipse 3.2.2 (on Slackware
11.0) but receive numerous errors. These are the first:

1. ERROR in
/usr/pkgsrc/devel/eclipse/work/plugins/org.eclipse.core.runtime.compatibility.registry/src/org/eclipse/core/internal/registry/ExtensionHandle.java
[javac] (at line 13)
[javac] import org.eclipse.core.runtime.IPluginDescriptor;
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] The import org.eclipse.core.runtime.IPluginDescriptor cannot be
resolved
[javac] ----------

2. ERROR in
/usr/pkgsrc/devel/eclipse/work/plugins/org.eclipse.core.runtime.compatibility.registry/src/org/eclipse/core/internal/registry/ExtensionHandle.java
[javac] (at line 30)
[javac] public IPluginDescriptor getDeclaringPluginDescriptor() throws
InvalidRegistryObjectException {
[javac] ^^^^^^^^^^^^^^^^^
[javac] IPluginDescriptor cannot be resolved to a type
[javac] ----------
Why don't you use a pre-fab distribution like those on www.yoxos.com
You can select pretty much any configuration you want,and even customize
your own.

That's indeed a solution to be able to use Eclipse. But that does not
learn me why I get this error.
 
A

Andrew Thompson

I've already posted this in the Eclipse newsgroups, but I don't receive
any answers there.

Thanks for having the courtesy to mention that.
..I'm trying to build Eclipse 3.2.2 (on Slackware
11.0) but receive numerous errors. These are the first: ...
[javac] import org.eclipse.core.runtime.IPluginDescriptor;

I am no expert on eclipse, but a quick search started
showing pages like this.
<http://archive.eclipse.org/eclipse/downloads/drops/
R-3.0.2-200503110845/buildnotes/buildnotes_core-expressions.html>
That suggest to me that the class in question was
only part of the eclipse project for a very short
time, in version 3.

Can you get later source/build file?

Andrew T.
 
G

Guybrush Threepwood

..I'm trying to build Eclipse 3.2.2 (on Slackware
11.0) but receive numerous errors. These are the first: ..
[javac] import org.eclipse.core.runtime.IPluginDescriptor;

A quick search started showing pages like this.
<http://archive.eclipse.org/eclipse/downloads/drops/
R-3.0.2-200503110845/buildnotes/buildnotes_core-expressions.html>
That suggest to me that the class in question was
only part of the eclipse project for a very short time, in version 3.

Sounds plausible.
Can you get later source/build file?

3.2.2 is the latest version on the Eclipse site.
 
A

Andrew Thompson

..I'm trying to build Eclipse 3.2.2 (on Slackware
11.0) but receive numerous errors. These are the first: ..
[javac] import org.eclipse.core.runtime.IPluginDescriptor;
...
..suggest to me that the class in question was
only part of the eclipse project for a very
short time, in version 3.
...
3.2.2 is the latest version on the Eclipse site.

Huhh.. I presumed that page meant eclipse was at
version 4+, so maybe I misinterpreted it.

I will have to cede to the better knowledge
of the eclipse gurus*. Sorry.

* Sounds more professional, than 'I run
away, screaming'. ;-)

Andrew T.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,777
Messages
2,569,604
Members
45,233
Latest member
AlyssaCrai

Latest Threads

Top