This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 269273 - Concurrency between "regular Maven build" and "background scanning of projects"
Summary: Concurrency between "regular Maven build" and "background scanning of projects"
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 8.2
Hardware: PC Windows 10 x64
: P3 normal (vote)
Assignee: Dusan Balek
Depends on:
Reported: 2016-12-08 17:09 UTC by mzav
Modified: 2016-12-08 17:12 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description mzav 2016-12-08 17:09:27 UTC
Initial condition: have a big Maven project. Even set of dependent big Maven projects.

It looks like "background scanning of projects" has a side effect - it modifies corresponded class files.

On the other hand, regular Build procedure that runs Maven - modifies them too.
As a result I observe periodically unpredictable build errors when background scanning is active (and it looks like regular build triggers it). And there are no ever any problems when build is execiuted directly by Maven out of NetBeans.

Proposed solution - "background scanning of projects" has to be turned off when "regular" build occurs.
Comment 1 mzav 2016-12-08 17:12:32 UTC
Eclipse compiler is used for the build.