Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » maven build does not fails on validation error(maven build does not fails on validation error)
maven build does not fails on validation error [message #1692245] Tue, 14 April 2015 13:51 Go to next message
peter luthardt is currently offline peter luthardtFriend
Messages: 22
Registered: March 2014
Junior Member
Hello,

in my project I generate a configuration.
When I use the DSL-plugin in eclipse the errror is marked, but when I run the maven build it does not complain. The parameter <failOnValidationError> seems to be ignored and is always false.

[INFO] --- xtext-maven-plugin:2.8.1:generate (generate-sources) @ chpmhs.emu.bzw ---
...
[INFO] Encoding: UTF-8
[INFO] Compiler source level: 1.7
[INFO] Compiler target level: 1.7
[INFO] Using common types.
[INFO] Collecting source models.
[INFO] Installing type provider.
...
[INFO] Starting validation for input: ...
[ERROR] ERROR:Couldn't resolve reference to JvmType ...
[ERROR] ERROR:Couldn't resolve reference to JvmType ...
...
[INFO] BUILD SUCCESS


Xtext 2.8.1
Re: maven build does not fails on validation error [message #1692254 is a reply to message #1692245] Tue, 14 April 2015 14:32 Go to previous messageGo to next message
Dennis Huebner is currently offline Dennis HuebnerFriend
Messages: 257
Registered: July 2009
Senior Member

Probably a bug. The corresponding code looks wired.
Could you open a bug?
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=TMF



+Dennis Huebner

Get professional support from the Xtext committers at www.typefox.io
Re: maven build does not fails on validation error [message #1692345 is a reply to message #1692254] Wed, 15 April 2015 08:49 Go to previous messageGo to next message
peter luthardt is currently offline peter luthardtFriend
Messages: 22
Registered: March 2014
Junior Member
create my first bug
https://bugs.eclipse.org/bugs/show_bug.cgi?id=464663


Xtext 2.8.1
Re: maven build does not fails on validation error [message #1692351 is a reply to message #1692345] Wed, 15 April 2015 09:07 Go to previous message
Dennis Huebner is currently offline Dennis HuebnerFriend
Messages: 257
Registered: July 2009
Senior Member

Great! Thanks Smile



+Dennis Huebner

Get professional support from the Xtext committers at www.typefox.io
Previous Topic:if/elsif
Next Topic:Errors creating multiple math expressions
Goto Forum:
  


Current Time: Sat May 08 09:34:33 GMT 2021

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

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

Back to the top