Skip to content

[MCOMPILER-563] Clarify that incremental compilation is not an IDE-style incremental compiler - #1123

Open
elharo wants to merge 2 commits into
masterfrom
doc/MCOMPILER-563-clarify-incremental-compilation
Open

[MCOMPILER-563] Clarify that incremental compilation is not an IDE-style incremental compiler#1123
elharo wants to merge 2 commits into
masterfrom
doc/MCOMPILER-563-clarify-incremental-compilation

Conversation

@elharo

@elharo elharo commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Improves the documentation for the incrementalCompilation parameter and the deprecated useIncrementalCompilation parameter (issue #777, [MCOMPILER-563]).

The name "incremental compilation" gives the misleading impression that the plugin compiles a single changed class together with its dependents, like an IDE incremental compiler. In reality the plugin only runs a change-detection algorithm that decides whether to recompile the whole module or only the modified source files.

This is a documentation-only change (Javadoc). No Java code behavior is modified. The updated Javadoc is what gets rendered into the plugin's published parameter documentation (plugin-info .html).

Closes #777

elharo and others added 2 commits August 31, 2026 13:21
…yle incremental compiler

Improve the Javadoc of the incrementalCompilation and the deprecated
useIncrementalCompilation parameters. Despite the name, the plugin does not
compile a single changed class together with its dependents like an IDE
incremental compiler. It runs a change-detection algorithm that decides
whether to recompile the whole module or only the modified source files.
@elharo
elharo requested a review from desruisseaux August 31, 2026 13:36
@elharo elharo added the documentation Improvements or additions to documentation label Aug 31, 2026
@desruisseaux

Copy link
Copy Markdown
Contributor

Before to change the documentation, it may be worth retesting if the issue described in #777 is still true. If I remember correctly, this parameter was intended to be incremental compilation in the IDE-style, but was not because of a bug (comparing relative paths against absolute paths).

In version 4.x of the compiler plugin, this parameter does IDE-style incremental compilation, which was apparently the original intend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[MCOMPILER-563] Deprecate/rename useIncrementalCompilation

2 participants