Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Errors when making an update site
Errors when making an update site [message #1058625] Tue, 14 May 2013 15:00 Go to next message
Mårten Carlzon is currently offline Mårten Carlzon
Messages: 60
Registered: March 2013
Location: Sweden
Member

Hello all

I have a XText Eugenia project that I would like to make into a plug-in but I stumble upon some strange errors and was wondering if anyone here might know why? Smile

Everything works fine when I try to run it as a normal launch option but when I try to make the plugin I get the following error:

----------
1. ERROR in C:\eclipse-epsilon\Examensarbete_plugin\idainfront.iipax.dsl.ui\src-gen\idainfront\iipax\dsl\ui\AbstractIiDslUiModule.java (at line 108)
return idainfront.iipax.dsl.ui.contentassist.IiDslProposalProvider.class;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
idainfront.iipax.dsl.ui.contentassist.IiDslProposalProvider cannot be resolved to a type
----------
2. ERROR in C:\eclipse-epsilon\Examensarbete_plugin\idainfront.iipax.dsl.ui\src-gen\idainfront\iipax\dsl\ui\AbstractIiDslUiModule.java (at line 108)
return idainfront.iipax.dsl.ui.contentassist.IiDslProposalProvider.class;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Class<IiDslProposalProvider> cannot be resolved to a type


What I have done is that I have made a plugin-project and followed the guide for making a view plugin and added my dsl, dsl.diagram, dsl.edit, dsl.ui projects as dependencies.
I then made a feature-plugin that had the plugin-project as a plugin.
And last I made an update-site project that used my feature project as feature.

So, am I doing something wrong or am I just getting weird errors as I usually do? Smile

Thanks for any help

Write you later / Mårten
Re: Errors when making an update site [message #1058628 is a reply to message #1058625] Tue, 14 May 2013 15:04 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian Dietrich
Messages: 6294
Registered: July 2009
Senior Member
Hi,

do you have any warning on the projects build.properties?
can you share reproduceable code?
Re: Errors when making an update site [message #1058637 is a reply to message #1058628] Tue, 14 May 2013 15:11 Go to previous messageGo to next message
Mårten Carlzon is currently offline Mårten Carlzon
Messages: 60
Registered: March 2013
Location: Sweden
Member

Hello Christian

You are scary good Smile
It seemed my build.properties was missing the xtend-gen folder and when I fixed that everything worked wonderfully!
To many warnings here and there in the autogenerated code so getting blind to them Smile

Thanks a lot for the quick and helpful reply!

Write you later / Mårten

[Updated on: Tue, 14 May 2013 15:17]

Report message to a moderator

Re: Errors when making an update site [message #1058648 is a reply to message #1058637] Tue, 14 May 2013 15:32 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian Dietrich
Messages: 6294
Registered: July 2009
Senior Member
Hi,

its not scary good but a common problem (more often than xtend generated java classes images or stuff like that get lost)

~Christian
Re: Errors when making an update site [message #1058652 is a reply to message #1058648] Tue, 14 May 2013 15:34 Go to previous message
Mårten Carlzon is currently offline Mårten Carlzon
Messages: 60
Registered: March 2013
Location: Sweden
Member

Hi

Ahh ok, well, it was rather amusing at my end anyway. Like, "I have a problem" "Look at that file" "Nice!" Very Happy

But I guess if you know the common problems its everyday for you.

Write you later / Mårten
Previous Topic:apologize
Next Topic:Generated metamodel forum Xtext
Goto Forum:
  


Current Time: Tue Sep 16 17:38:27 GMT 2014

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

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