090706. I have a checkout of hudson/main. I worked with some of the projects in the IDE, then closed them. From the
command line, I did 'svn up' which I think incremented main/pom.xml to say 1.315-SNAPSHOT. But submodules (which do not
specify their own <version> except inside <parent>) are still shown in the IDE as 1.313-SNAPSHOT - e.g. in the OW title
when building, in the General tab of Project Properties, etc.
I can even open the main module's Properties and see 1.315-SNAPSHOT, but e.g. main/test still displays 1.313-SNAPSHOT.
There is no apparent way to refresh the inherited POM information. (I presume restarting the IDE works, though I have
not tried it yet.)
http://hg.netbeans.org/main/rev/be0c19d56f0b should fix it, however it will again slow down initial project loading.
Still some performance gain persists.
It seems that it also reverted some previously magically "fixed" wrong projects (like some glassfish ones which had
wrong parent reference). But the magic was a bit unpredictable anyway, this fix should make it fail consistently.
BTW: for reproducing the problem it was enough to have a project with parent and add/delete the version in child. Then
observe if the version gets inherited or not..
Integrated into 'main-golden', will be available in build *200907081400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Milos Kleint <firstname.lastname@example.org>
Log: #168251 do clear some items from the workspace cache immediately, namely items not coming from the repository. That way sources updates shall be corrrectly reflected instead of reusing cached values.
The fix has been ported into the release67_fixes repository.