Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » EMF-IncQuery » Generating and building IncQuery Project
Generating and building IncQuery Project [message #1413877] Fri, 29 August 2014 16:44 Go to next message
Ali Akar is currently offline Ali AkarFriend
Messages: 27
Registered: July 2009
Junior Member
Configuration [eclipse-modeling-luna-RC3-win32-x86_64, IncQuery
0.7.2.201403071538, Xtext 2.4.3.v201309030823]

I extended the EMF Generator to generate an EMF-IncQuery project. The
generation work fine, but when trying to build the generated project, I
have the following error.

Does anyone have any idea on what is going wrong here ??


[eclipse.incrementalBuild] 0 [main] ERROR
org.eclipse.incquery.patternlanguage.emf.ui.EMFPatternLanguageExecutableExtensionFactory
- com.google.inject.ProvisionException: Guice provision errors:
[eclipse.incrementalBuild]
[eclipse.incrementalBuild] 1) null returned by binding at
org.eclipse.xtext.ui.shared.internal.SharedModule.configure(SharedModule.java:69)
[eclipse.incrementalBuild] but
org.eclipse.xtext.ui.label.DefaultEditorImageUtil.workbench is not @Nullable
[eclipse.incrementalBuild] while locating org.eclipse.ui.IWorkbench
[eclipse.incrementalBuild] for field at
org.eclipse.xtext.ui.label.DefaultEditorImageUtil.workbench(Unknown Source)
[eclipse.incrementalBuild] while locating
org.eclipse.xtext.ui.label.DefaultEditorImageUtil
[eclipse.incrementalBuild] for field at
org.eclipse.xtext.ui.label.DefaultDescriptionLabelProvider.imageUtil(Unknown
Source)
[eclipse.incrementalBuild] while locating
org.eclipse.incquery.patternlanguage.emf.ui.labeling.EMFPatternLanguageDescriptionLabelProvider
[eclipse.incrementalBuild] while locating
org.eclipse.jface.viewers.ILabelProvider annotated with
@org.eclipse.xtext.ui.resource.ResourceServiceDescriptionLabelProvider()
[eclipse.incrementalBuild] for field at
org.eclipse.xtext.ui.resource.DefaultResourceUIServiceProvider.descriptionLabelProvider(Unknown
Source)
[eclipse.incrementalBuild] while locating
org.eclipse.xtext.ui.resource.DefaultResourceUIServiceProvider
[eclipse.incrementalBuild] while locating
org.eclipse.xtext.ui.resource.IResourceUIServiceProvider
[eclipse.incrementalBuild]
[eclipse.incrementalBuild] 1 error
[eclipse.incrementalBuild] !SESSION 2014-08-29 18:24:08.693
-----------------------------------------------
[eclipse.incrementalBuild] eclipse.buildId=unknown
[eclipse.incrementalBuild] java.version=1.7.0_60
[eclipse.incrementalBuild] java.vendor=Oracle Corporation
[eclipse.incrementalBuild] BootLoader constants: OS=win32, ARCH=x86_64,
WS=win32, NL=fr_FR
[eclipse.incrementalBuild] Framework arguments: -application
org.eclipse.ant.core.antRunner -buildfile ant/build.xml
-Dproject.aal.common=C:\work\workspaces\artop-git\core\aal\plugins\org.artop.aal.common
-Dproject.aal.serialization=C:\work\workspaces\artop-git\core\aal\plugins\org.artop.aal.serialization
-Dmetamodelgen.path=C:\work\workspaces\artop-git\core\tools\org.artop.tools.metamodelgen
-Dmetamodelgen.source.path=C:\work\workspaces\artop-git\core\tools\org.artop.tools.metamodelgen.source
-Dmetamodelgen.source.model.name=autosar-4.0.3-rev0003
[eclipse.incrementalBuild] Command-line arguments: -application
org.eclipse.ant.core.antRunner -data
C:\work\workspaces\artop-ws-03062014/../runtime-metamodelgen-403-testgen
-dev
file:C:/work/workspaces/artop-ws-03062014/.metadata/.plugins/org.eclipse.pde.core/AUTOSAR
Meta Model Generation 403/dev.properties -os win32 -ws win32 -arch
x86_64 -consoleLog -buildfile ant/build.xml
-Dproject.aal.common=C:\work\workspaces\artop-git\core\aal\plugins\org.artop.aal.common
-Dproject.aal.serialization=C:\work\workspaces\artop-git\core\aal\plugins\org.artop.aal.serialization
-Dmetamodelgen.path=C:\work\workspaces\artop-git\core\tools\org.artop.tools.metamodelgen
-Dmetamodelgen.source.path=C:\work\workspaces\artop-git\core\tools\org.artop.tools.metamodelgen.source
-Dmetamodelgen.source.model.name=autosar-4.0.3-rev0003
[eclipse.incrementalBuild]
[eclipse.incrementalBuild] !ENTRY
org.eclipse.incquery.patternlanguage.emf.ui 4 0 2014-08-29 18:26:12.457
[eclipse.incrementalBuild] !MESSAGE
com.google.inject.ProvisionException: Guice provision errors:
[eclipse.incrementalBuild]
[eclipse.incrementalBuild] 1) null returned by binding at
org.eclipse.xtext.ui.shared.internal.SharedModule.configure(SharedModule.java:69)
[eclipse.incrementalBuild] but
org.eclipse.xtext.ui.label.DefaultEditorImageUtil.workbench is not @Nullable
[eclipse.incrementalBuild] while locating org.eclipse.ui.IWorkbench
[eclipse.incrementalBuild] for field at
org.eclipse.xtext.ui.label.DefaultEditorImageUtil.workbench(Unknown Source)
[eclipse.incrementalBuild] while locating
org.eclipse.xtext.ui.label.DefaultEditorImageUtil
[eclipse.incrementalBuild] for field at
org.eclipse.xtext.ui.label.DefaultDescriptionLabelProvider.imageUtil(Unknown
Source)
[eclipse.incrementalBuild] while locating
org.eclipse.incquery.patternlanguage.emf.ui.labeling.EMFPatternLanguageDescriptionLabelProvider
[eclipse.incrementalBuild] while locating
org.eclipse.jface.viewers.ILabelProvider annotated with
@org.eclipse.xtext.ui.resource.ResourceServiceDescriptionLabelProvider()
[eclipse.incrementalBuild] for field at
org.eclipse.xtext.ui.resource.DefaultResourceUIServiceProvider.descriptionLabelProvider(Unknown
Source)
[eclipse.incrementalBuild] while locating
org.eclipse.xtext.ui.resource.DefaultResourceUIServiceProvider
[eclipse.incrementalBuild] while locating
org.eclipse.xtext.ui.resource.IResourceUIServiceProvider
[eclipse.incrementalBuild]
[eclipse.incrementalBuild] 1 error
[eclipse.incrementalBuild]
[eclipse.incrementalBuild] 340 [main] ERROR
org.eclipse.xtext.internal.ResourceServiceProviderDescriptor - Guice
provision errors:
[eclipse.incrementalBuild]
[eclipse.incrementalBuild] 1) null returned by binding at
org.eclipse.xtext.ui.shared.internal.SharedModule.configure(SharedModule.java:69)
[eclipse.incrementalBuild] but
org.eclipse.xtext.ui.label.DefaultEditorImageUtil.workbench is not @Nullable
[eclipse.incrementalBuild] while locating org.eclipse.ui.IWorkbench
[eclipse.incrementalBuild] for field at
org.eclipse.xtext.ui.label.DefaultEditorImageUtil.workbench(Unknown Source)
[eclipse.incrementalBuild] while locating
org.eclipse.xtext.ui.label.DefaultEditorImageUtil
[eclipse.incrementalBuild] for field at
org.eclipse.xtext.ui.label.DefaultDescriptionLabelProvider.imageUtil(Unknown
Source)
[eclipse.incrementalBuild] while locating
org.eclipse.incquery.patternlanguage.emf.ui.labeling.EMFPatternLanguageDescriptionLabelProvider
[eclipse.incrementalBuild] while locating
org.eclipse.jface.viewers.ILabelProvider annotated with
@org.eclipse.xtext.ui.resource.ResourceServiceDescriptionLabelProvider()
[eclipse.incrementalBuild] for field at
org.eclipse.xtext.ui.resource.DefaultResourceUIServiceProvider.descriptionLabelProvider(Unknown
Source)
[eclipse.incrementalBuild] while locating
org.eclipse.xtext.ui.resource.DefaultResourceUIServiceProvider
[eclipse.incrementalBuild] while locating
org.eclipse.xtext.ui.resource.IResourceUIServiceProvider
[eclipse.incrementalBuild]
[eclipse.incrementalBuild] 1 error ExtensionFactory:
org.eclipse.incquery.patternlanguage.emf.ui.EMFPatternLanguageExecutableExtensionFactory
[eclipse.incrementalBuild] org.eclipse.core.runtime.CoreException: Guice
provision errors:
[eclipse.incrementalBuild]
[eclipse.incrementalBuild] 1) null returned by binding at
org.eclipse.xtext.ui.shared.internal.SharedModule.configure(SharedModule.java:69)
[eclipse.incrementalBuild] but
org.eclipse.xtext.ui.label.DefaultEditorImageUtil.workbench is not @Nullable
[eclipse.incrementalBuild] while locating org.eclipse.ui.IWorkbench
[eclipse.incrementalBuild] for field at
org.eclipse.xtext.ui.label.DefaultEditorImageUtil.workbench(Unknown Source)
[eclipse.incrementalBuild] while locating
org.eclipse.xtext.ui.label.DefaultEditorImageUtil
[eclipse.incrementalBuild] for field at
org.eclipse.xtext.ui.label.DefaultDescriptionLabelProvider.imageUtil(Unknown
Source)
[eclipse.incrementalBuild] while locating
org.eclipse.incquery.patternlanguage.emf.ui.labeling.EMFPatternLanguageDescriptionLabelProvider
[eclipse.incrementalBuild] while locating
org.eclipse.jface.viewers.ILabelProvider annotated with
@org.eclipse.xtext.ui.resource.ResourceServiceDescriptionLabelProvider()
[eclipse.incrementalBuild] for field at
org.eclipse.xtext.ui.resource.DefaultResourceUIServiceProvider.descriptionLabelProvider(Unknown
Source)
[eclipse.incrementalBuild] while locating
org.eclipse.xtext.ui.resource.DefaultResourceUIServiceProvider
[eclipse.incrementalBuild] while locating
org.eclipse.xtext.ui.resource.IResourceUIServiceProvider
[eclipse.incrementalBuild]
[eclipse.incrementalBuild] 1 error ExtensionFactory:
org.eclipse.incquery.patternlanguage.emf.ui.EMFPatternLanguageExecutableExtensionFactory
[eclipse.incrementalBuild] at
org.eclipse.xtext.ui.guice.AbstractGuiceAwareExecutableExtensionFactory.create(AbstractGuiceAwareExecutableExtensionFactory.java:57)
[eclipse.incrementalBuild] at
org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:262)
[eclipse.incrementalBuild] at
org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
[eclipse.incrementalBuild] at
org.eclipse.xtext.internal.ResourceServiceProviderDescriptor.get(ResourceServiceProviderDescriptor.java:39)
[eclipse.incrementalBuild] at
org.eclipse.xtext.resource.impl.ResourceServiceProviderRegistryImpl$InternalData.getServiceProvider(ResourceServiceProviderRegistryImpl.java:40)
[eclipse.incrementalBuild] at
org.eclipse.xtext.resource.impl.ResourceServiceProviderRegistryImpl.getResourceServiceProvider(ResourceServiceProviderRegistryImpl.java:77)
[eclipse.incrementalBuild] at
org.eclipse.xtext.resource.impl.ResourceServiceProviderRegistryImpl.getResourceServiceProvider(ResourceServiceProviderRegistryImpl.java:93)
[eclipse.incrementalBuild] at
org.eclipse.xtext.ui.resource.UriValidator.isValid(UriValidator.java:28)
[eclipse.incrementalBuild] at
org.eclipse.xtext.ui.resource.Storage2UriMapperImpl.isValidUri(Storage2UriMapperImpl.java:136)
[eclipse.incrementalBuild] at
org.eclipse.xtext.ui.resource.Storage2UriMapperImpl.getUri(Storage2UriMapperImpl.java:122)
[eclipse.incrementalBuild] at
org.eclipse.xtext.builder.impl.ToBeBuiltComputer.getUri(ToBeBuiltComputer.java:155)
[eclipse.incrementalBuild] at
org.eclipse.xtext.builder.impl.ToBeBuiltComputer.updateStorage(ToBeBuiltComputer.java:122)
[eclipse.incrementalBuild] at
org.eclipse.xtext.builder.impl.ToBeBuiltComputer$2.visit(ToBeBuiltComputer.java:108)
[eclipse.incrementalBuild] at
org.eclipse.core.internal.resources.Resource$2.visit(Resource.java:126)
[eclipse.incrementalBuild] at
org.eclipse.core.internal.resources.Resource$1.visitElement(Resource.java:85)
[eclipse.incrementalBuild] at
org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:82)
[eclipse.incrementalBuild] at
org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)
[eclipse.incrementalBuild] at
org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)
[eclipse.incrementalBuild] at
org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)
[eclipse.incrementalBuild] at
org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)
[eclipse.incrementalBuild] at
org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)
[eclipse.incrementalBuild] at
org.eclipse.core.internal.watson.ElementTreeIterator.iterate(ElementTreeIterator.java:127)
[eclipse.incrementalBuild] at
org.eclipse.core.internal.resources.Resource.accept(Resource.java:95)
[eclipse.incrementalBuild] at
org.eclipse.core.internal.resources.Resource.accept(Resource.java:52)
[eclipse.incrementalBuild] at
org.eclipse.core.internal.resources.Resource.accept(Resource.java:124)
[eclipse.incrementalBuild] at
org.eclipse.core.internal.resources.Resource.accept(Resource.java:108)
[eclipse.incrementalBuild] at
org.eclipse.xtext.builder.impl.ToBeBuiltComputer.updateProject(ToBeBuiltComputer.java:103)
[eclipse.incrementalBuild] at
org.eclipse.xtext.builder.impl.javasupport.JdtToBeBuiltComputer.updateProject(JdtToBeBuiltComputer.java:88)
[eclipse.incrementalBuild] at
org.eclipse.xtext.builder.impl.XtextBuilder.fullBuild(XtextBuilder.java:209)
[eclipse.incrementalBuild] at
org.eclipse.xtext.builder.impl.XtextBuilder.build(XtextBuilder.java:89)
[eclipse.incrementalBuild] at
org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:726)
[eclipse.incrementalBuild] at
org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
[eclipse.incrementalBuild] at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199)
[eclipse.incrementalBuild] at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:239)
[eclipse.incrementalBuild] at
org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:292)
[eclipse.incrementalBuild] at
org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
[eclipse.incrementalBuild] at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:295)
[eclipse.incrementalBuild] at
org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:351)
[eclipse.incrementalBuild] at
org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:374)
[eclipse.incrementalBuild] at
org.eclipse.core.internal.resources.Workspace.buildInternal(Workspace.java:513)
[eclipse.incrementalBuild] at
org.eclipse.core.internal.resources.Workspace.build(Workspace.java:422)
[eclipse.incrementalBuild] at
org.eclipse.core.resources.ant.IncrementalBuild.execute(IncrementalBuild.java:75)
[eclipse.incrementalBuild] at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
[eclipse.incrementalBuild] at
sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
[eclipse.incrementalBuild] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[eclipse.incrementalBuild] at java.lang.reflect.Method.invoke(Unknown
Source)
[eclipse.incrementalBuild] at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[eclipse.incrementalBuild] at
org.apache.tools.ant.Task.perform(Task.java:348)
[eclipse.incrementalBuild] at
org.apache.tools.ant.Target.execute(Target.java:392)
[eclipse.incrementalBuild] at
org.apache.tools.ant.Target.performTasks(Target.java:413)
[eclipse.incrementalBuild] at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
[eclipse.incrementalBuild] at
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
[eclipse.incrementalBuild] at
org.eclipse.ant.internal.core.ant.EclipseSingleCheckExecutor.executeTargets(EclipseSingleCheckExecutor.java:30)
[eclipse.incrementalBuild] at
org.apache.tools.ant.Project.executeTargets(Project.java:1251)
[eclipse.incrementalBuild] at
org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
[eclipse.incrementalBuild] at
org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:303)
[eclipse.incrementalBuild] at
org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:221)
[eclipse.incrementalBuild] at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
[eclipse.incrementalBuild] at
sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
[eclipse.incrementalBuild] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[eclipse.incrementalBuild] at java.lang.reflect.Method.invoke(Unknown
Source)
[eclipse.incrementalBuild] at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[eclipse.incrementalBuild] at
org.apache.tools.ant.Task.perform(Task.java:348)
[eclipse.incrementalBuild] at
org.apache.tools.ant.Target.execute(Target.java:392)
[eclipse.incrementalBuild] at
org.apache.tools.ant.Target.performTasks(Target.java:413)
[eclipse.incrementalBuild] at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
[eclipse.incrementalBuild] at
org.apache.tools.ant.Project.executeTarget(Project.java:1368)
[eclipse.incrementalBuild] at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
[eclipse.incrementalBuild] at
org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
[eclipse.incrementalBuild] at
org.apache.tools.ant.Project.executeTargets(Project.java:1251)
[eclipse.incrementalBuild] at
org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:672)
[eclipse.incrementalBuild] at
org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:537)
[eclipse.incrementalBuild] at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[eclipse.incrementalBuild] at
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[eclipse.incrementalBuild] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[eclipse.incrementalBuild] at java.lang.reflect.Method.invoke(Unknown
Source)
[eclipse.incrementalBuild] at
org.eclipse.ant.core.AntRunner.run(AntRunner.java:513)
[eclipse.incrementalBuild] at
org.eclipse.ant.core.AntRunner.start(AntRunner.java:600)
[eclipse.incrementalBuild] at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
[eclipse.incrementalBuild] at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
[eclipse.incrementalBuild] at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
[eclipse.incrementalBuild] at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
[eclipse.incrementalBuild] at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
[eclipse.incrementalBuild] at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[eclipse.incrementalBuild] at
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[eclipse.incrementalBuild] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[eclipse.incrementalBuild] at java.lang.reflect.Method.invoke(Unknown
Source)
[eclipse.incrementalBuild] at
org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
[eclipse.incrementalBuild] at
org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
[eclipse.incrementalBuild] at
org.eclipse.equinox.launcher.Main.run(Main.java:1438)
[eclipse.incrementalBuild] at
org.eclipse.equinox.launcher.Main.main(Main.java:1414)
[eclipse.incrementalBuild] Caused by:
com.google.inject.ProvisionException: Guice provision errors:
[eclipse.incrementalBuild]
[eclipse.incrementalBuild] 1) null returned by binding at
org.eclipse.xtext.ui.shared.internal.SharedModule.configure(SharedModule.java:69)
[eclipse.incrementalBuild] but
org.eclipse.xtext.ui.label.DefaultEditorImageUtil.workbench is not @Nullable
[eclipse.incrementalBuild] while locating org.eclipse.ui.IWorkbench
[eclipse.incrementalBuild] for field at
org.eclipse.xtext.ui.label.DefaultEditorImageUtil.workbench(Unknown Source)
[eclipse.incrementalBuild] while locating
org.eclipse.xtext.ui.label.DefaultEditorImageUtil
[eclipse.incrementalBuild] for field at
org.eclipse.xtext.ui.label.DefaultDescriptionLabelProvider.imageUtil(Unknown
Source)
[eclipse.incrementalBuild] while locating
org.eclipse.incquery.patternlanguage.emf.ui.labeling.EMFPatternLanguageDescriptionLabelProvider
[eclipse.incrementalBuild] while locating
org.eclipse.jface.viewers.ILabelProvider annotated with
@org.eclipse.xtext.ui.resource.ResourceServiceDescriptionLabelProvider()
[eclipse.incrementalBuild] for field at
org.eclipse.xtext.ui.resource.DefaultResourceUIServiceProvider.descriptionLabelProvider(Unknown
Source)
[eclipse.incrementalBuild] while locating
org.eclipse.xtext.ui.resource.DefaultResourceUIServiceProvider
[eclipse.incrementalBuild] while locating
org.eclipse.xtext.ui.resource.IResourceUIServiceProvider
[eclipse.incrementalBuild]
[eclipse.incrementalBuild] 1 error
[eclipse.incrementalBuild] at
com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:987)
[eclipse.incrementalBuild] at
com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1013)
[eclipse.incrementalBuild] at
org.eclipse.xtext.ui.guice.AbstractGuiceAwareExecutableExtensionFactory.create(AbstractGuiceAwareExecutableExtensionFactory.java:50)
[eclipse.incrementalBuild] ... 90 more

Regards,
Ali AKAR
Re: Generating and building IncQuery Project [message #1413934 is a reply to message #1413877] Fri, 29 August 2014 20:15 Go to previous messageGo to next message
Zoltan Ujhelyi is currently offline Zoltan UjhelyiFriend
Messages: 342
Registered: July 2015
Senior Member
Hi Ali AKAR,

I don't have a full solution to your problem, but I am trying my best to guess what happens. What I can see here is that the Xtext builder infrastructure is not correctly initialized because some required service is not available; however, I have never seen such an issue before.

I would like to get some additional information:
* Do you have any additional Xtext-based product installed? If yes, it might be possible that there is some previously unknown conflict between that plug-in and ours.
* Can you please elaborate what do you mean by 'I extended the EMF Generator to generate an EMF-IncQuery project'?
* Does the same issue come forth if you create your IncQuery project using the wizard provided by IncQuery? If not, I would be interested in having a look at a sample project generated by your solution - it might be easier to spot the difference.

Cheers,
Zoltán
Re: Generating and building IncQuery Project [message #1446777 is a reply to message #1413934] Fri, 17 October 2014 09:41 Go to previous messageGo to next message
Ali Akar is currently offline Ali AkarFriend
Messages: 27
Registered: July 2009
Junior Member
Hi Zoltan,

I don't have any Xtext-based product installed.

Like the model, edit and editor plugins generated by EMF, I extended the
generator adapters to generate a new project type for me. Inside the
project, I generate queries, i.e. eiq files, and specific java classes
and API to call my queries.
I configure correctly the project with the xtext and incquery nature
during the generation.
Everything is running in an Ant script.

I fixed the problem by running "org.eclipse.ant.ui.antRunner" instead of
"org.eclipse.ant.core.antRunner".

Best regards,
Ali

Le 29/08/2014 22:15, Zoltan Ujhelyi a écrit :
> Hi Ali AKAR,
>
> I don't have a full solution to your problem, but I am trying my best to
> guess what happens. What I can see here is that the Xtext builder
> infrastructure is not correctly initialized because some required
> service is not available; however, I have never seen such an issue before.
>
> I would like to get some additional information:
> * Do you have any additional Xtext-based product installed? If yes, it
> might be possible that there is some previously unknown conflict between
> that plug-in and ours.
> * Can you please elaborate what do you mean by 'I extended the EMF
> Generator to generate an EMF-IncQuery project'? * Does the same issue
> come forth if you create your IncQuery project using the wizard provided
> by IncQuery? If not, I would be interested in having a look at a sample
> project generated by your solution - it might be easier to spot the
> difference.
>
> Cheers,
> Zoltán
Re: Generating and building IncQuery Project [message #1447673 is a reply to message #1446777] Sat, 18 October 2014 18:18 Go to previous message
Zoltan Ujhelyi is currently offline Zoltan UjhelyiFriend
Messages: 342
Registered: July 2015
Senior Member
Hi Ali,

I am not entirely sure, mostly because I have only a base understanding of Ant, but I think, the use of 'org.eclipse.ant.ui.antRunner' ensured that your script is executed in an Eclipse environment instead of standalone. For the IncQuery builder infrastructure, that is required (except when executing it from specific ways, such as using the incquery-maven-compiler plug-in).

If this is the case, then the change of antRunner is the correct fix for your issue.

Cheers,
Zoltán
Previous Topic:correct steps to install emf incquery
Next Topic:Filter The result of Graph
Goto Forum:
  


Current Time: Sun Sep 23 19:35:39 GMT 2018

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

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

Back to the top