Upgrader: add the migration of (filtered) var/attributes.xml#9449
Upgrader: add the migration of (filtered) var/attributes.xml#9449NicolaIsotta wants to merge 1 commit into
Conversation
|
This might be a good change. Need to keep an eye out if any project type is storing configuration that would be invalid on import. I'm also curious what the implications of importing the project configuration with |
this likely won't be sufficient. I think I checked that a while ago and it is also connected to cluster activation. #6588 (comment) (also see comment before that) But worth a try, maybe it is a different mechanism which would force files open while recreating the Windows2Local config. btw #9275 has a similar issue. On first start you might see exceptions since the config is read before the maven modules are loaded, next start works and will show the toolbar icons. |
|
It should fire after the project is opened, so it might work. And if it doesn't, it could also be a reason not to make this change. So, testing required. EDIT : Triggered a dev-build. Do we have a better label for this? |
i think platform label runs the build system tests. Haven't checked if there are better labels for it. going to cancel and restart the build since this won't take the labels into account |
|
Sorry, missed the missing lock to retrigger the labels! Maybe |
|
It looks like the project opening hits another path on startup rather than the one I linked. The data seems to be imported with this change, just not used, but it doesn't seem to cause any issues. I may re-look at the project opening if/when this is merged. |
Only fileobject elements which contains Auxil[i]aryConfiguration are retained, as other elements may not be safe to import
2b4bbcb to
5f35520
Compare
|
Yeah, can confirm the opened files, even if present in the migrated xml, are not used by the new ide... |
Only fileobject elements which contains AuxiliaryConfiguration are retained, as other elements may not be safe to import
fixes #9410
^Add meaningful description above
Click to collapse/expand PR instructions
By opening a pull request you confirm that, unless explicitly stated otherwise, the changes -
Please make sure (eg.
git log) that all commits have a valid name and email address for you in the Author field.If you're a first time contributor, see the Contributing guidelines for more information.
If you're a committer, please label the PR before pressing "Create pull request" so that the right test jobs can run.
PR approval and merge checklist:
If this PR targets the delivery branch: don't merge. (full wiki article)