Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Prevent code generation when errors exist (Xtext2.0)
Prevent code generation when errors exist (Xtext2.0) [message #718436] Wed, 24 August 2011 10:39 Go to next message
Steffen Schuette is currently offline Steffen SchuetteFriend
Messages: 26
Registered: August 2010
Junior Member
Hi,

I just wanted to ask if it is possible to prevent the autopmatix generation of code (by xtend) when the validation had errors?

Currently (default behaviour) the generator is started also if there are errors in my checks.

Thank

steffen
Re: Prevent code generation when errors exist (Xtext2.0) [message #718453 is a reply to message #718436] Wed, 24 August 2011 11:47 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14665
Registered: July 2009
Senior Member
Hi,

are you sure this happens?
have a look into org.eclipse.xtext.builder.JavaProjectBasedBuilderParticipant.shouldGenerate(Resource, IBuildContext)

~Christian


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Previous Topic:Adding DSL nature to project in same workspace
Next Topic:xtend2.lib
Goto Forum:
  


Current Time: Fri Apr 19 16:36:28 GMT 2024

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

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

Back to the top