New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Instantiation can be started while workspace is building #2456
Comments
I wasn't able to make anything bad happen by doing this, but I have figured out how to make the instantiation jobs wait for the builder to finish. See |
This needs to branch from the Issue #841 branch so that everything that instantiates can take advantage of the waiting. Created branch |
This is more complicated than it initially seems. I added
to the start of
I took the join calls back out of the |
@lwrage Suggests looking at this https://www.eclipse.org/forums/index.php/m/1816939/#msg_1816939 regarding job priorities. |
Had to do the following in
The key things here seem to be
There is definitely some Eclipse magic at work here that I don't understand, but I ahve been able to make this work, I think. Also, starting a build while the instantiation is already running causes the build to wait for the instantiation to finish. Again, I have no idea why this is the case and how the builder is doing this. There may magic in the Eclipse job scheduler itself? To do: Still to need to check that cancellation works correctly. |
Cancellation is okay |
Some things learned about the builder:
|
Summary
It is possible to start instantiation while the workspace is building. In that case unresolved references, etc, lead to errors.
Expected and Current Behavior
The instantiation should wait until the build is finished.
Environment
The text was updated successfully, but these errors were encountered: