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 269274 - Inconsistency between "regular Maven build with incremental compilation" and "background scanning of projects"
Summary: Inconsistency between "regular Maven build with incremental compilation" and ...
Status: NEW
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 8.1
Hardware: PC Windows 10 x64
: P3 normal (vote)
Assignee: Tomas Stupka
Depends on:
Reported: 2016-12-08 17:22 UTC by mzav
Modified: 2017-01-02 12:08 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:22:22 UTC
"background scanning of projects" modifies timestamps of the corresponded class files. As a result when incremental compilation is used (Eclipse compiler) - the compiler (in regular build) does not compile the changes, and jar is packed some how!

So, initial condition: a maven project with Eclipse compiler, incremental build is on. The project is just succesfully build from scratch.

1. Modify a java class to have syntax error and save the file. Expected result - editor highlites the problem.
2. Run build. Unexpected result - compiler reports that "nothing to build", so the build is succesfull.