Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » I need to invoke full_build or incremental build using project.build() function in new thread(I need to invoke full_build or incremental build using project.build() function in new thread)
I need to invoke full_build or incremental build using project.build() function in new thread [message #1797154] Fri, 26 October 2018 12:22 Go to next message
kimi raikonnan is currently offline kimi raikonnanFriend
Messages: 145
Registered: June 2015
Senior Member
I need to invoke full_build or incremental build using project.build() function in new thread

By putting project.build in a new thread i am getting error "invalid thread access" and the build fail.

How can i invoke build on xtext project in new thread ?
Re: I need to invoke full_build or incremental build using project.build() function in new thread [message #1797157 is a reply to message #1797154] Fri, 26 October 2018 12:33 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14665
Registered: July 2009
Senior Member
Hi,

this is rather a eclipse platform question than a eclipse question.
you should run this in a Job
e.g. https://www.eclipse.org/forums/index.php/t/1086249/


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Previous Topic:How to Customize output directory of code generation
Next Topic:Using the Xtend Compiler plugin for Gradle in a closed environement
Goto Forum:
  


Current Time: Thu Apr 25 00:41:24 GMT 2024

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

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

Back to the top