Skip to main content



      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 08:22 Go to next message
Eclipse UserFriend
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 08:33 Go to previous message
Eclipse UserFriend
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/
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: Wed Jun 18 02:33:57 EDT 2025

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

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

Back to the top