Run Designer previews with application-owned DI adapters

This commit is contained in:
2026-11-26 16:01:19 +01:00
parent e49d586916
commit 6126967fdc
56 changed files with 2131 additions and 50 deletions
+31 -1
View File
@@ -1,6 +1,6 @@
# NeitzelLib release baseline
NeitzelFXDesigner uses `de.neitzel.lib:fx:1.0.6` on JDK 25 and JavaFX 27.0.1 for target tooling and its fixtures. That release provides managed Views, CommandBindings, direct `ViewLoader.loadComponent` loading for `fx:root` previews, one-way HTML and suggestion-list bindings, and literal DataGrid group-label keys. The Designer hosts use JavaFX 26.
NeitzelFXDesigner uses `de.neitzel.lib:fx:1.0.6` on JDK 25 and JavaFX 27.0.1 as the target tools' compile-time baseline and for release-based fixtures, including the original previews and the contact-book tutorial. That release provides managed Views, CommandBindings, direct `ViewLoader.loadComponent` loading for `fx:root` previews, one-way HTML and suggestion-list bindings, and literal DataGrid group-label keys. The Designer hosts use JavaFX 26.
The [baseline manifest](neitzellib-baseline.json) records the source revision, tag, Surefire totals and SHA-256 checksums of the published POMs and JARs. It includes the `fx-test` module used by the contact-book example. See the [NeitzelLib 1.0.6 release](https://gitea.neitzel.de/konrad/NeitzelLib/releases/tag/v1.0.6).
@@ -16,6 +16,36 @@ Maven resolves the release from the Gitea Maven registry. The verifier reads `~/
If you are qualifying a source change, use a separate local Maven repository. A new local build can produce different JAR bytes. The manifest identifies the registry artifacts used for the Designer release.
## DI adapter development qualification
The manifest's `diAdapterSnapshot` section records the previous local FX
`1.0.7-SNAPSHOT` used for the first DI adapter qualification. It still
contains the Neitzel injection dependency and the legacy FX overloads.
It records the tested source tree separately from the published release
revision and identifies the actual POMs and JARs used for the fixture.
The Designer continues to compile target tools against FX 1.0.6. The target
worker links the optional DI contract against the captured application FX
runtime after discovering a provider's context. The release verifier checks
the published baseline at the top of the manifest.
## Separated FX development qualification
The manifest's `fxInjectionSplit` section identifies the separated
development artifacts. The previous snapshot uses the same Maven
coordinates and is preserved in a distinct local repository. The
published 1.0.6 release remains the target tool's compile-time baseline.
The target application supplies FX at runtime. The worker resolves
legacy loaders for a raw `ApplicationContext` and managed dependency
loaders for a `ViewDependencies` implementation. The separated snapshot
requires the latter. See the [provider compatibility table](../user-guide/projects.md#use-the-separated-fx-runtime-with-neitzel-di).
To recheck the previous snapshot, use its own repository in
`MAVEN_OPTS` and run `check-preview-fixtures.py` with
`--neitzellib-version 1.0.7-SNAPSHOT`. Install the current Designer tools
into that repository while preserving its FX artifacts. Run the
[Spring checks](../../integration-fixtures/spring-di/README.md) against
the separated snapshot repository.
## Original Java 21 qualification
- Unmodified library main plus the new regression fixture: seven tests, one expected loading error in `componentAttributesApplyAfterInitialization`. Maven reported success because its POM hardcodes `testFailureIgnore=true`; the XML result correctly identified the failure.