Skip to main content



      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 09:51 Go to next message
Eclipse UserFriend
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
Re: maven build does not fails on validation error [message #1692254 is a reply to message #1692245] Tue, 14 April 2015 10:32 Go to previous messageGo to next message
Eclipse UserFriend
Probably a bug. The corresponding code looks wired.
Could you open a bug?
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=TMF
Re: maven build does not fails on validation error [message #1692345 is a reply to message #1692254] Wed, 15 April 2015 04:49 Go to previous messageGo to next message
Eclipse UserFriend
create my first bug
https://bugs.eclipse.org/bugs/show_bug.cgi?id=464663
Re: maven build does not fails on validation error [message #1692351 is a reply to message #1692345] Wed, 15 April 2015 05:07 Go to previous message
Eclipse UserFriend
Great! Thanks Smile
Previous Topic:if/elsif
Next Topic:Errors creating multiple math expressions
Goto Forum:
  


Current Time: Fri Jul 25 01:27:47 EDT 2025

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

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

Back to the top