Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Errors during xtext ui project export operation(errors export xtext ui project)
Errors during xtext ui project export operation [message #1068861] Sun, 14 July 2013 15:58 Go to next message
Antonio Balderas is currently offline Antonio BalderasFriend
Messages: 2
Registered: July 2013
Junior Member
Hi

When I try to export as a "deployable plug-ins and fragments" my dsl ui project, I get an error:

"Errors occurred during the export operation. The ant tasks generated log files which can be found at ..."

I remade a project and I find these errors. This did not happen before.

Can anyone help?

Thanks.
Antonio.

-----------------------------------------------------

log file:


1. ERROR in C:\myproject\myDSL.ui\src-gen\mydsl\dsl\ui\AbstractmydslUiModule.java (at line 83)
return mydsl.dsl.ui.labeling.mydslLabelProvider.class;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
mydsl.dsl.ui.labeling.mydslLabelProvider cannot be resolved to a type
----------
2. ERROR in C:\myproject\myDSL.ui\src-gen\mydsl\dsl\ui\AbstractmydslUiModule.java (at line 83)
return mydsl.dsl.ui.labeling.mydslLabelProvider.class;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Class<mydslLabelProvider> cannot be resolved to a type
----------
3. ERROR in C:\myproject\myDSL.ui\src-gen\mydsl\dsl\ui\AbstractmydslUiModule.java (at line 88)
binder.bind(org.eclipse.jface.viewers.ILabelProvider.class).annotatedWith(org.eclipse.xtext.ui.resource.ResourceServiceDescriptionLabelProvider.class).to(mydsl.dsl.ui.labeling.mydslDescriptionLabelProvider.class);
^^
The method to(Class<? extends ILabelProvider>) in the type LinkedBindingBuilder<ILabelProvider> is not applicable for the arguments (Class<mydslDescriptionLabelProvider>)
----------
4. ERROR in C:\myproject\myDSL.ui\src-gen\mydsl\dsl\ui\AbstractmydslUiModule.java (at line 88)
binder.bind(org.eclipse.jface.viewers.ILabelProvider.class).annotatedWith(org.eclipse.xtext.ui.resource.ResourceServiceDescriptionLabelProvider.class).to(mydsl.dsl.ui.labeling.mydslDescriptionLabelProvider.class);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
mydsl.dsl.ui.labeling.mydslDescriptionLabelProvider cannot be resolved to a type
----------
5. ERROR in C:\myproject\myDSL.ui\src-gen\mydsl\dsl\ui\AbstractmydslUiModule.java (at line 93)
return mydsl.dsl.ui.outline.mydslOutlineTreeProvider.class;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
mydsl.dsl.ui.outline.mydslOutlineTreeProvider cannot be resolved to a type
----------
6. ERROR in C:\myproject\myDSL.ui\src-gen\mydsl\dsl\ui\AbstractmydslUiModule.java (at line 93)
return mydsl.dsl.ui.outline.mydslOutlineTreeProvider.class;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Class<mydslOutlineTreeProvider> cannot be resolved to a type
----------
7. ERROR in C:\myproject\myDSL.ui\src-gen\mydsl\dsl\ui\AbstractmydslUiModule.java (at line 98)
return mydsl.dsl.ui.outline.mydslOutlineTreeProvider.class;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
mydsl.dsl.ui.outline.mydslOutlineTreeProvider cannot be resolved to a type
----------
8. ERROR in C:\myproject\myDSL.ui\src-gen\mydsl\dsl\ui\AbstractmydslUiModule.java (at line 98)
return mydsl.dsl.ui.outline.mydslOutlineTreeProvider.class;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Class<mydslOutlineTreeProvider> cannot be resolved to a type
----------
9. ERROR in C:\myproject\myDSL.ui\src-gen\mydsl\dsl\ui\AbstractmydslUiModule.java (at line 103)
return mydsl.dsl.ui.quickfix.mydslQuickfixProvider.class;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
mydsl.dsl.ui.quickfix.mydslQuickfixProvider cannot be resolved to a type
----------
10. ERROR in C:\myproject\myDSL.ui\src-gen\mydsl\dsl\ui\AbstractmydslUiModule.java (at line 103)
return mydsl.dsl.ui.quickfix.mydslQuickfixProvider.class;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Class<mydslQuickfixProvider> cannot be resolved to a type
----------
11. ERROR in C:\myproject\myDSL.ui\src-gen\mydsl\dsl\ui\AbstractmydslUiModule.java (at line 108)
return mydsl.dsl.ui.contentassist.mydslProposalProvider.class;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
mydsl.dsl.ui.contentassist.mydslProposalProvider cannot be resolved to a type
----------
12. ERROR in C:\myproject\myDSL.ui\src-gen\mydsl\dsl\ui\AbstractmydslUiModule.java (at line 108)
return mydsl.dsl.ui.contentassist.mydslProposalProvider.class;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Class<mydslProposalProvider> cannot be resolved to a type
----------
----------
13. WARNING in C:\myproject\myDSL.ui\src-gen\mydsl\dsl\ui\contentassist\antlr\PartialmydslContentAssistParser.java (at line 10)
import org.eclipse.xtext.ui.codetemplates.ui.partialEditing.IPartialContentAssistParser;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The type IPartialContentAssistParser is not accessible due to restriction on classpath entry C:\Users\Antonio\Programas\eclipse\plugins\org.eclipse.xtext.ui.codetemplates.ui_2.4.1.v201304180855.jar
----------
14. WARNING in C:\myproject\myDSL.ui\src-gen\mydsl\dsl\ui\contentassist\antlr\PartialmydslContentAssistParser.java (at line 18)
public class PartialmydslContentAssistParser extends mydslParser implements IPartialContentAssistParser {
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The type IPartialContentAssistParser is not accessible due to restriction on classpath entry C:\Users\Antonio\Programas\eclipse\plugins\org.eclipse.xtext.ui.codetemplates.ui_2.4.1.v201304180855.jar
----------
14 problems (12 errors, 2 warnings)
Re: Errors during xtext ui project export operation [message #1068924 is a reply to message #1068861] Sun, 14 July 2013 19:11 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14716
Registered: July 2009
Senior Member
HI, please make sure xtend-gen is recognized as source folder and mentioned in build.properties (there may be a warning hinting you on this)

Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Errors during xtext ui project export operation [message #1068997 is a reply to message #1068924] Mon, 15 July 2013 00:03 Go to previous message
Antonio Balderas is currently offline Antonio BalderasFriend
Messages: 2
Registered: July 2013
Junior Member
Thank you very much Christian. As you said, there was a warning sign in build.properties. I added xtend-gen as source folder and now it works Smile
Previous Topic:post processing
Next Topic:Rule for enclosing a value in apostrophes
Goto Forum:
  


Current Time: Wed Sep 25 11:55:46 GMT 2024

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

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

Back to the top