Hi Emilian,

Thank you for your response. I had thought that my email got completely 
unnoticed, or worse, simply ignored, for the reason you touched below: it's not 
something that you (officially) support. Just one more reason to be more than 
happy for any response I get.

To get to the topic: I have already posted this in the plugin's site on Github 
(https://github.com/JetBrains/kotlin-netbeans/issues/126) but that plugin is 
not maintained any more (cited reason: lack of users, but obviously there's 
more to this than meets the eye). So i thought I may try my chances getting 
some guidance in the netbeans group and perhaps, really just perhaps I could 
get it work - as long as it would not involve changing netbeans internals, just 
adding some callbacks to the plugin - or what not.

Anyway, I'll try as you suggested on JIRA. The Compile on Save feature is one 
of the best features of netbeans which makes my productivity with Java EE an 
order of magnitude higher. Now if I could combine this with the sparseness and 
advanced capabilities of Kotlin, that would be a killer combination. This would 
be something that would not be possible (AFAIK) with any other IDE today.

M.
________________________________
From: Emilian Bold <emilian.b...@protonmail.ch>
Sent: Thursday, February 15, 2018 13:28
To: Mátyás Bene
Cc: us...@netbeans.incubator.apache.org
Subject: Re: Compile on Save for a Kotlin/Maven project

We don't officially support Kotlin out of the box, so it's might be worth also 
bothering the Kotlin plugin authors so they see they also have NetBeans users 
and have to support other IDEs too.

I don't believe Compile on Save for Maven projects really executes Maven as it 
would be too slow I guess. It might do something more low level which explains 
why it probably doesn't work for Kotlin projects. This might be a workaround we 
could do on NetBeans side. Please report it on JIRA and reference in it the 
Kotlin-NetBeans plugin issue you also posted.

--emi

-------- Original Message --------
On 13 February 2018 1:15 AM, Mátyás Bene <notabe...@hotmail.com> wrote:


Dear Netbeans pros,

Assuming I have a maven based KOTLIN project by following the guide here: 
https://kotlinlang.org/docs/reference/using-maven.html and using the Kotlin 
plugin for NB.

I am wondering how to enable to Compile On Save in Netbeans 8.2 so that changes 
in .kt files are picked up and recompiled automatically?

While the FAQ http://wiki.netbeans.org/FaqCompileOnSave states that for maven 
projects it actually executes the corresponding maven goals (phases?),  it does 
not really seem like the kotlin-maven-plugin was called.

Any ideas? Or is Netbeans filtering files that actually trigger the CoS feature 
to those with the '.java' extension?

M.

Reply via email to