MobiVM / robovm

Ahead of time compiler for JVM bytecode targetting iOS, Mac OSX and Linux
https://mobivm.github.io
952 stars 132 forks source link

* idea: fixed -- manual adding of RoboVM SDK from File/Project structure #781

Closed dkimitsa closed 5 months ago

dkimitsa commented 5 months ago

intro

We use several components with Idea plugin that were marked deprecated for several years already. And seems in recent IDEA version 2024.1.1 we have an issue with RoboVM SDK being added and then removed. (check video)

As workaround while code is not migrated SDK should be added manually. But it wasn't working as well. This PR fixed it,

https://github.com/MobiVM/robovm/assets/24827357/41b6102c-47c1-4bd9-ab49-95c506625580

Fix:

dkimitsa commented 5 months ago

a bit of investigation: its happening as we are adding SDK from RoboVM component (where we should not). IDEA asynchronously loads SDKs from jdk.table.xml and applies the list. as result previous list with RoboVM sdk is dropped

probably we just adding SDK not in proper place and time

dkimitsa commented 5 months ago

the place, SDK to be added manually image