Skip to main content



      Home
Home » Modeling » TMF (Xtext) » Error executing EValidator(eclipse shows an errormarker without any more info)
Error executing EValidator [message #656388] Fri, 25 February 2011 06:59 Go to next message
Eclipse UserFriend
in my .generator project, I have a simple workflow like this:
module workflow.DmDslGenerator

import org.eclipse.emf.mwe.utils.*

var targetDir = "src-gen"

Workflow {

	component = org.eclipse.xtext.mwe.Reader {...}

	component = org.eclipse.xpand2.Generator {...}
}



in another project 'appDataAccess' I have another workflow where I just want to reference the DmDslGenerator workflow and change the targetDir property:
module workflow.GenerateEntities

@DmDslGenerator {
	targetDir = "generated-sources/tmf"
}

In this file, eclipse will always show an errormarker:
Description: Error executing EValidator	
Resource: GenerateEntities.mwe2
Path: /appDataAccess/src/main/tmf/workflow
Location /appDataAccess/src/main/tmf/workflow/GenerateEntities.mwe2	
Type: Xtext Check (fast)

without any more info - I have no idea what could be wrong.
When I run the Workflow, everything is generated as it should be - even the targetDir property is the expected one.
another note: when I remove the target dir property in GenerateEntities, the error-marker is gone

any ideas?

TIA, martin
Re: Error executing EValidator [message #656400 is a reply to message #656388] Fri, 25 February 2011 07:49 Go to previous messageGo to next message
Eclipse UserFriend
Hi Martin,

is there something in the error log?

Regards,
Sebastian
--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com

Am 25.02.11 12:59, schrieb Martin Trummer:
> in my .generator project, I have a simple workflow like this:
>
> module workflow.DmDslGenerator
>
> import org.eclipse.emf.mwe.utils.*
>
> var targetDir = "src-gen"
>
> Workflow {
>
> component = org.eclipse.xtext.mwe.Reader {...}
>
> component = org.eclipse.xpand2.Generator {...}
> }
>
>
>
> in another project 'appDataAccess' I have another workflow where I just
> want to reference the DmDslGenerator workflow and change the targetDir
> property:
>
> module workflow.GenerateEntities
>
> @DmDslGenerator {
> targetDir = "generated-sources/tmf"
> }
>
> In this file, eclipse will always show an errormarker:
> Description: Error executing EValidator
> Resource: GenerateEntities.mwe2
> Path: /appDataAccess/src/main/tmf/workflow
> Location /appDataAccess/src/main/tmf/workflow/GenerateEntities.mwe2
> Type: Xtext Check (fast)
>
> without any more info - I have no idea what could be wrong.
> When I run the Workflow, everything is generated as it should be - even
> the targetDir property is the expected one.
> another note: when I remove the target dir property in GenerateEntities,
> the error-marker is gone
>
> any ideas?
>
> TIA, martin
Re: Error executing EValidator [message #656402 is a reply to message #656400] Fri, 25 February 2011 07:58 Go to previous messageGo to next message
Eclipse UserFriend
nothing that gives me more information:
eclipse.buildId=M20100909-0800
java.version=1.6.0_23
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_AT
Framework arguments:  -XX:PermSize=512m -XX:MaxPermSize=1024m
Command-line arguments:  -os win32 -ws win32 -arch x86 -XX:PermSize=512m -XX:MaxPermSize=1024m


Error
Fri Feb 25 12:54:53 CET 2011
org.eclipse.xtext.validation.CompositeEValidator  - Error executing EValidator

and it says:
An exception stack trace is not available.
Re: Error executing EValidator [message #656412 is a reply to message #656402] Fri, 25 February 2011 08:39 Go to previous message
Eclipse UserFriend
ah - now it works - was a newbie mistake.

I just need to add a Workflow around it.
But the errormessage was really not helpful.

module workflow.GenerateEntities

Workflow {
	component = @DmDslGenerator {
		targetDir = generationDir

	}
}
Previous Topic:Stdlib extensions
Next Topic:Issues while MW2 generating of Xtext Grammar(LL issues)
Goto Forum:
  


Current Time: Mon Nov 10 10:15:59 EST 2025

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

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

Back to the top