Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » JDT dependencies in Xtext 2.4?
JDT dependencies in Xtext 2.4? [message #1022662] Fri, 22 March 2013 09:59 Go to next message
Hendrik Eeckhaut is currently offline Hendrik Eeckhaut
Messages: 26
Registered: July 2009
Junior Member
I just built our VHDL plugin with Xtext 2.4. While our plugin builds fine, I do get injection errors when trying to start our plugin (in an Eclipse without JDT).

I get ClassNotFoundExceptions for IJavaProject and IJarEntryResource
At first sight they seem to come from the CodetemplatesActivator

Do I need to add an extra binding for Xtext 2.4 without JDT?

Thanks,
Hendrik.

Re: JDT dependencies in Xtext 2.4? [message #1022759 is a reply to message #1022662] Fri, 22 March 2013 13:23 Go to previous messageGo to next message
Sebastian Zarnekow is currently offline Sebastian Zarnekow
Messages: 2911
Registered: July 2009
Senior Member
Am 22.03.13 10:59, schrieb Hendrik Eeckhaut:
> I just built our VHDL plugin with Xtext 2.4. While our plugin builds
> fine, I do get injection errors when trying to start our plugin (in an
> Eclipse without JDT).
>
> I get ClassNotFoundExceptions for IJavaProject and IJarEntryResource
> At first sight they seem to come from the CodetemplatesActivator
>
> Do I need to add an extra binding for Xtext 2.4 without JDT?
>
> Thanks,
> Hendrik.
>
>

Hi Hendrik,

IIRC the CodeTemplates are still the very same as with Xtext 2.3, but
I'll double check on that as soon as I find the time.

Sorry for any inconvenience caused,
Sebastian
--
Looking for professional support for Xtext, Xtend or Eclipse Modeling?
Go visit: http://xtext.itemis.com
Re: JDT dependencies in Xtext 2.4? [message #1023648 is a reply to message #1022759] Sun, 24 March 2013 20:58 Go to previous messageGo to next message
Hendrik Eeckhaut is currently offline Hendrik Eeckhaut
Messages: 26
Registered: July 2009
Junior Member
I think I found where the problem comes from. I'll show you this week at EclipseCon.

Hendrik.
Re: JDT dependencies in Xtext 2.4? [message #1043102 is a reply to message #1023648] Wed, 17 April 2013 09:29 Go to previous messageGo to next message
Benjamin Schwertfeger is currently offline Benjamin Schwertfeger
Messages: 49
Registered: July 2009
Member
Hi Hendrik,
anything new here? I have a similar problem, but with 2.4.1 nightly. So I think nothing changed after eclipseCon, does it?

My error comes from TraceForStorageProvider -> StorageAwareTrace -> NoClassDefFoundError: org/eclipse/jdt/core/JavaModelException

Regards,
Benjamin
Re: JDT dependencies in Xtext 2.4? [message #1043210 is a reply to message #1043102] Wed, 17 April 2013 12:29 Go to previous messageGo to next message
Hendrik Eeckhaut is currently offline Hendrik Eeckhaut
Messages: 26
Registered: July 2009
Junior Member
I successfully tried the 2.4.1 nightly this morning. 2.4.1 will be released soon.

Hendrik.
Re: JDT dependencies in Xtext 2.4? [message #1043212 is a reply to message #1043102] Wed, 17 April 2013 12:29 Go to previous messageGo to next message
Hendrik Eeckhaut is currently offline Hendrik Eeckhaut
Messages: 26
Registered: July 2009
Junior Member
I successfully tried the 2.4.1 nightly this morning. 2.4.1 will be released soon.

Hendrik.
Re: JDT dependencies in Xtext 2.4? [message #1043435 is a reply to message #1043212] Wed, 17 April 2013 17:53 Go to previous messageGo to next message
Benjamin Schwertfeger is currently offline Benjamin Schwertfeger
Messages: 49
Registered: July 2009
Member
Thanks for your Answer. With 2.4.1 20130416 I still have problems with my product without jdt. Perhaps a binding was misconfigured. I'll take a deeper look on this.

Benjamin
Re: JDT dependencies in Xtext 2.4? [message #1043833 is a reply to message #1043435] Thu, 18 April 2013 07:10 Go to previous message
Benjamin Schwertfeger is currently offline Benjamin Schwertfeger
Messages: 49
Registered: July 2009
Member
Now it works for me. There was another module which has overridden the binding.

Thanks,
Benjamin
Previous Topic:Recursive Grammar
Next Topic:ENUM DATA TYPE
Goto Forum:
  


Current Time: Fri Oct 31 05:02:35 GMT 2014

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

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