You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Shevek (JIRA)" <ji...@apache.org> on 2019/04/01 17:40:00 UTC

[jira] [Created] (NETBEANS-2334) Code generating tasks or switching git branches break NetBeans

Shevek created NETBEANS-2334:
--------------------------------

             Summary: Code generating tasks or switching git branches break NetBeans
                 Key: NETBEANS-2334
                 URL: https://issues.apache.org/jira/browse/NETBEANS-2334
             Project: NetBeans
          Issue Type: Bug
    Affects Versions: 10.0
         Environment: OpenJDK Runtime Environment (build 1.8.0_191-8u191-b12-2ubuntu0.18.10.1-b12)

            Reporter: Shevek


If I have a gradle task which generates code, e.g. grpc, protobuf, thrift, xjc, antlr, custom template-driven tasks, they remove and recreate a large number of files under NB. NB then breaks: It goes into the 'background scanning of projects' / 'scanning for external changes' of death and needs a restart.

Alternatively, switching git branches will do the same.

A peculiar, possibly related effect is that NB can't see new classes I create even when it's not apparently scanning, e.g. I create a class in a package, but fix imports in another package can't import it until I restart netbeans.

I've disabled auto-scanning of sources, will see if that helps.




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
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