You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Thomas Oster (Jira)" <ji...@apache.org> on 2020/02/17 07:05:00 UTC

[jira] [Comment Edited] (NETBEANS-2424) Compile on save seems to not be working with Maven projects

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

Thomas Oster edited comment on NETBEANS-2424 at 2/17/20 7:04 AM:
-----------------------------------------------------------------

I tried to debug that issue with building NetBeans from source. Steps to reproduce:
 * Create a simple maven OR ant java 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.

It is the same problem for maven and ant projects.


was (Author: t-oster-1989):
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-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

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