Claude Brisson

03/22/2021, 8:50 AM
Does intellij idea use some ktor classes internally? Whenever I try to build a custom ktor version, under a custom version name and on a private maven repo, there are some ktor source files (and corresponding modifications) that are never seen by idea (even after totally emptying local maven and gradle caches and disabling
). See the attached picture for files in the ktor-server-host-common-jvm/io.ktor.server.engine/ package : idea shows a mix of source and class files in the same package! And my modifications on DefaultEnginePipeline never reach the runtime, I don't understand where idea fetches the old version.

Alexey Belkov [JB]

03/22/2021, 4:55 PM
.class files in project view is an ancient bug: It's reproduced even with a regular Kotlin stdlib jar. Not sure what you mean by "never reach the runtime" though. If you compile ktor as a regular Gradle project and assemble it into a jar, I don't see how IDEA can interfere.

Claude Brisson

03/22/2021, 4:57 PM
Thanks. It looks like two different problems, then. I must have missed a cache somewhere.