JetBrains/resharper-fsharp

Cannot runIde with gradle

nojaf opened this issue · 3 comments

nojaf commented

I'm trying to run the IDE but without any luck.

⚡ nojaf@NOJAF-PC  ~\Projects\rider-fsharp-support\rider-fsharp   net202 ≣                                 [15:46]
❯ .\gradlew runIde

> Configure project :
*** Using Rider SDK from intellij-snapshots repository

> Task :rdgen
Reading hash from build\rdgen\.rdgen
No changes since last start

> Task :compileKotlin FAILED
e: C:\Users\nojaf\Projects\rider-fsharp-support\rider-fsharp\src\main\java\com\jetbrains\rider\plugins\fsharp\projectView\FSharpMoveProviderExtension.kt: (49, 44): Unresolved reference: prevSibling
e: C:\Users\nojaf\Projects\rider-fsharp-support\rider-fsharp\src\main\java\com\jetbrains\rider\plugins\fsharp\projectView\FSharpMoveProviderExtension.kt: (55, 48): Unresolved reference: prevSibling
e: C:\Users\nojaf\Projects\rider-fsharp-support\rider-fsharp\src\main\java\com\jetbrains\rider\plugins\fsharp\projectView\FSharpMoveProviderExtension.kt: (66, 44): Unresolved reference: nextSibling
e: C:\Users\nojaf\Projects\rider-fsharp-support\rider-fsharp\src\main\java\com\jetbrains\rider\plugins\fsharp\projectView\FSharpMoveProviderExtension.kt: (73, 48): Unresolved reference: nextSibling
e: C:\Users\nojaf\Projects\rider-fsharp-support\rider-fsharp\src\main\java\com\jetbrains\rider\plugins\fsharp\projectView\FSharpMoveProviderExtension.kt: (135, 43): Cannot access 'getSortedChildren': it is private in file
e: C:\Users\nojaf\Projects\rider-fsharp-support\rider-fsharp\src\main\java\com\jetbrains\rider\plugins\fsharp\projectView\FSharpMoveProviderExtension.kt: (136, 42): Cannot access 'getSortedChildren': it is private in file
e: C:\Users\nojaf\Projects\rider-fsharp-support\rider-fsharp\src\main\java\com\jetbrains\rider\plugins\fsharp\projectView\FSharpMoveProviderExtension.kt: (151, 43): Cannot access 'getSortedChildren': it is private in file
e: C:\Users\nojaf\Projects\rider-fsharp-support\rider-fsharp\src\main\java\com\jetbrains\rider\plugins\fsharp\projectView\FSharpMoveProviderExtension.kt: (152, 42): Cannot access 'getSortedChildren': it is private in file

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileKotlin'.
> Compilation error. See log for more details

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 6s
3 actionable tasks: 2 executed, 1 up-to-date
⚡ nojaf@NOJAF-PC  ~\Projects\rider-fsharp-support\rider-fsharp   net202 ≣                                 [15:46]
❯

gradle prepare ran without any problems.

nojaf@NOJAF-PC  ~\Projects\rider-fsharp-support\rider-fsharp   net202 ≣                                    [15:45]
❯ .\gradlew prepare

> Configure project :
*** Using Rider SDK from intellij-snapshots repository

> Task :rdgen
Reading hash from build\rdgen\.rdgen
No changes since last start

> Task :writeDotNetSdkPathProps
SDK path: C:\Users\nojaf\Projects\rider-fsharp-support\rider-fsharp\build\riderRD-2020.2-SNAPSHOT\lib\DotNetSdkForRdPlugins

BUILD SUCCESSFUL in 1s
3 actionable tasks: 3 executed

Am I missing something here? Or can I clean a cache somewhere?

@nojaf There's another set of API changes in the SDK, I'm looking into it.

@nojaf Some APIs got broken or removed and we'll have to fix them in the SDK. I've pushed a workaround to net202.

nojaf commented

Thanks!