Closed ethauvin closed 7 years ago
Mmmh that's mysterious. @dmitry-zhuravlev any thoughts?
"the IDEA plugin is basically disabled" I think you mean that tool window doesn't show anything? If so I suppose that Kobalt return nothing because of
val pl = plugins("net.thauvin.erik:kobalt-exec:0.6.2")
for some reason...
"Additionally, I have never been able to import a Kobalt project as an .ipr, only .iml seems to work." ".ipr" it is a legacy IDEA project format ".iml" it is a IDEA module format. Maybe you mean "...as an .ipr, only .idea seems to work" you cannot compare .ipr with .iml because it is a different things. Anyway I haven't check plugin with legacy .ipr based version of project. If you have some test .ipr based projects you are welcome to show me the concrete example.
"the IDEA plugin is basically disabled" I think you mean that tool window doesn't show anything? If so I suppose that Kobalt return nothing because of val pl = plugins("net.thauvin.erik:kobalt-exec:0.6.2") for some reason...
Actually, it'll ultimately give you a warning saying the module is no longer a valid Kobalt module and the Kobalt tool window will completely disappear, and to be clear, it doesn't matter which plugin is used, even @cbeust kobalt-line-count
will fail.
Anyway I haven't check plugin with legacy .ipr based version of project. If you have some test .ipr based projects you are welcome to show me the concrete example.
./kobaltw --init java
then import as .ipr
.
Tried with:
import com.beust.kobalt.plugins val pl = plugins("net.thauvin.erik:kobalt-exec:0.6.2")
And after some improvement in the plugin's output I see some exceptions which was thrown inside Kobalt:
Caused by: java.lang.AssertionError: com.beust.kobalt.KobaltException: Couldn't create PluginInfo: net.thauvin.erik.kobalt.plugin.exec.ExecPlugin
@cbeust any thoughts about it?
./kobaltw --init java then import as .ipr.
Tried to do it and it works for me without any problem:
Tried to do it and it works for me without any problem:
It worked for me today too. Whatever @cbeust changed fixed it.
I created a project with
./kobaltw --init java
, added the following to theBuild.kt
file:Imported as a Kobalt project into IDEA 2016.2 (Windows), the IDEA plugin is basically disabled:
I then commented the
plugins()
line out and reloaded:Works.
Additionally, I have never been able to import a Kobalt project as an
.ipr
, only.iml
seems to work.