Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-399

Compile on Save support for arbitrary maven projects

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 8.2
    • None
    • javaee - Maven
    • None

    Description

      Dear developers, 

      please consider adding support for arbitrary maven projects to utilize the "compile on save"  and deploy on save feature of Netbeans.

      To give a real-life example:

      I am evaluating the Kotlin-Netbeans plugin from JetBrains (https://github.com/JetBrains/kotlin-netbeans) to develop a maven based Kotlin project for Java EE in Netbeans. The maven setup is according to the official guide here: https://kotlinlang.org/docs/reference/using-maven.html

      The Compile on Save feature is a huge time safer, works flawlessly for the rather standard Maven/Java/EE projects and I can't imagine development without it.

      While the FAQ for 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 - no new class files appear in target/classes.

      An improvement suggestion was already filed for the plugin developers (https://github.com/JetBrains/kotlin-netbeans/issues/126) even though that plugin is not maintained these days. Also I wanted to double check via this very ticket, whether adding support for this is actually the plugin's responsibility or that of netbeans'.

      I have already wrote to the users mailing list and Emilian B. referred me to Jira here.

      Attached see a sample project I used to test the capability.

      Joining the sparseness and advanced capabilities of Kotlin with the fast reload times achievable with "Compile On Save" and "Deploy on Save" would be a killer combination. This would be something that would not be possible (AFAIK) with any other IDE today.

      Attachments

        1. Kotlin-maven-EE.zip
          8 kB
          ratcash

        Activity

          People

            Unassigned Unassigned
            ratcash ratcash
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: