Eclipse Workspace Metadata Persistence Interoperability with JDT Incremental Compilation
0 reputation · 04 May 2024, 23:05 UTC
Eclipse Workspace Metadata Persistence Interoperability with JDT Incremental Compilation
The goal is to verify that restoring a previously saved Eclipse workspace reproduces the exact incremental Java compilation state, including problem markers and build timestamps, ensuring deterministic builds.
Eclipse stores workspace preferences in .metadata/.plugins/org.eclipse.eclipse.workspace, but the JDT incremental compiler caches compilation data per project without an officially supported serialization mechanism, creating uncertainty about state fidelity after restart.
Thus the key question is whether the persisted .metadata can faithfully restore the JDT incremental compilation state, and does Eclipse provide an official way to serialize the JDT cache for reproducible builds?