Force project model rebuild

Hi,

I'm experimenting with upsource (2.0.3462) and a gradle (2.3) project.
Due to an error the project model was not built and correspondingly all the code intelligence is not available. (e.g. search for usages, code inspections).
Now the problem is fixed, but the project stays in an misconfigured state (missing modules.xml).

Questions:
1. Does upsource periodically try to rebuild the project model?
2. Is there a way to force something like "Build project model right now"?

Thanks for help!

3 comments
Comment actions Permalink

Hi Sergii,

Unfortunately no for both your questions. Only new commits won't contain obsolete errors/warnings.

Here is a feature request that you might want to upvote https://youtrack.jetbrains.com/issue/UP-1089

Thanks in advance.

0
Comment actions Permalink

Thanks,

But I probably need to describe the problem more specifically: after one broken build - the project does not come back to the "normal" state where the modules are present and smart code navigation works.

Only new commits won't contain obsolete errors/warnings.

Does this mean that after a new commit (where there are no problems) upsource should be able to reconstruct the project model?
Or once failed - the only way to have the modules and stuff is to recreate the project from scratch?

0
Comment actions Permalink

Sergii,

Upsource should be able to reconstruct the project model after a new commit added. If it didn't happen please check gradle.out file for any errors.

0

Please sign in to leave a comment.