[ 
https://issues.apache.org/jira/browse/NETBEANS-2424?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17038117#comment-17038117
 ] 

Thomas Oster commented on NETBEANS-2424:
----------------------------------------

I tried to debug that issue with building NetBeans from source. Steps to 
reproduce:
 * Create a simple maven project containing just one class outputting something 
in a loop
 * Edit that file (eg change the string that is outputted in the loop)
 * CompileOnSave is triggered and the class file is updated.
 * Run the App from Netbeans
 * Edit the file again
 * The class file is not updated until you stop the running process

I could not yet figure out why the CoS is not triggered, it seems as if the 
compilation is deferred until the app stops running.

> Compile on save seems to not be working with Maven projects
> -----------------------------------------------------------
>
>                 Key: NETBEANS-2424
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-2424
>             Project: NetBeans
>          Issue Type: Bug
>          Components: apisupport - Maven
>    Affects Versions: 11.0, 11.2
>         Environment: Windows 10
>            Reporter: Antônio Diego da LuZ silva
>            Priority: Major
>              Labels: CoS, Maven,, build, compilation, project, spring-boot
>         Attachments: mavenproject17.7z
>
>
> Since a time, noticed that, when the compile on save option is checked on 
> some Maven project configuration, the modification on the project not is 
> acknowledged on the build.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to