Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Technology Project and PMC » jdt class not resolved in PDE java editor
jdt class not resolved in PDE java editor [message #596402] Wed, 14 January 2004 16:16
Eclipse UserFriend
Originally posted by: Bill_Mooney.us.ibm.com

This is a multipart message in MIME format.
--=_alternative 00597C4C85256E1B_=
Content-Type: text/plain; charset="US-ASCII"

I'm writing a plugin (first one) and was doing fine until I needed to get
the ICompilationUnit Java Element.
The PDE tells me this is not a type or cannot be resolved. I tried
importing org.eclipse.jdt.core... and it tells
me this cannot be resolved. I have all the plugins selected in the Target
Platform list.


I worked around this by importing the org.eclipse.jdt.core plugin from the
run time workbench into my workspace and adding
the jdtcore.jar to my build path libraries.

Question is, shouldn't the PDE have picked this up from the Target
Platform list?
I created this plugin from the wizard. Might that have messed up
something?
Thanks for any info....
--=_alternative 00597C4C85256E1B_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">I'm writing a plugin (first one) and
was doing fine until I needed to get the ICompilationUnit Java Element.</font>
<br><font size=2 face="sans-serif">The PDE tells me this is not a type
or cannot be resolved. I tried importing</font><font size=1 face="Trebuchet MS">
org.eclipse.jdt.core... </font><font size=2 face="sans-serif">and it tells</font>
<br><font size=2 face="sans-serif">me this cannot be resolved. I have all
the plugins selected in the Target Platform list.</font>
<br>
<br>
<br><font size=2 face="sans-serif">I worked around this by importing the
org.eclipse.jdt.core plugin from the run time workbench into my workspace
and adding </font>
<br><font size=2 face="sans-serif">the jdtcore.jar to my build path libraries.</font>
<br>
<br><font size=2 face="sans-serif">Question is, shouldn't the PDE have
picked this up from the Target Platform list?</font>
<br><font size=2 face="sans-serif">I created this plugin from the wizard.
Might that have messed up something?</font>
<br><font size=2 face="sans-serif">Thanks for any info....</font>
--=_alternative 00597C4C85256E1B_=--
Previous Topic:EclipseCon - Tutorials
Next Topic:jdt class not resolved in PDE java editor
Goto Forum:
  


Current Time: Tue Mar 19 09:56:21 GMT 2024

Powered by FUDForum. Page generated in 0.01756 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top