Edit and exercise Archiver CommandBindings in the IntelliJ designer
This commit is contained in:
@@ -1,18 +1,23 @@
|
||||
# Corrected NeitzelLib development artifact
|
||||
# NeitzelLib development runtime
|
||||
|
||||
The Component builder fix is integrated in [NeitzelLib main at 2d83fb4](https://gitea.neitzel.de/konrad/NeitzelLib/src/commit/2d83fb467cc29b6e7c5aa92c86fc3fb49a504dc0). It collects FXML values, initializes the injected Component and installs its Model listener, then applies values using public FXMLLoader conversion. Both Components in the regression fixture retain the same Model reference; invalid properties and values fail.
|
||||
The IntelliJ Archiver preview uses `de.neitzel.lib:fx:1.0.6-SNAPSHOT` on JDK 25 and JavaFX 27.0.1. The target uses managed Views, CommandBindings and the direct `ViewLoader.loadComponent` entry point for fx:root previews. The host uses JavaFX 26. Source revision, build timestamp, test totals and the nine installed POM/JAR checksums are in the [active manifest](neitzellib-baseline.json).
|
||||
|
||||
## Artifact identity
|
||||
## Rebuild and verify
|
||||
|
||||
Use `de.neitzel.lib:fx:1.0-SNAPSHOT` with its matching parent, core and injection artifacts. [The manifest](neitzellib-baseline.json) records the exact source commit and SHA-256 hashes of seven installed POM/JAR artifacts. These artifacts are installed in the developer's local Maven repository, not deployed to a remote artifact repository. No corrected released minimum is established and no release tag was created. A source commit on main is not a published release.
|
||||
Use the manifest's NeitzelLib commit with a clean source tree, JDK 25 and the Maven wrapper. Select an absolute repository path on the development machine. Both Maven and Gradle must resolve the same local snapshot during Designer builds.
|
||||
|
||||
```sh
|
||||
export NEITZELLIB_MAVEN_REPOSITORY=/absolute/path/to/preview-repository
|
||||
export MAVEN_OPTS="-Dmaven.repo.local=$NEITZELLIB_MAVEN_REPOSITORY"
|
||||
export GRADLE_OPTS="$MAVEN_OPTS"
|
||||
# In the NeitzelLib checkout
|
||||
./mvnw -B -ntp -pl fx,fx-test -am -Dversions.skip=true \
|
||||
-Dproject.build.outputTimestamp=2026-11-24T00:00:00Z clean install
|
||||
# In the NeitzelFXDesigner checkout
|
||||
python3 scripts/check-neitzellib-artifact.py
|
||||
# For a non-default Maven repository:
|
||||
python3 scripts/check-neitzellib-artifact.py --repository /path/to/repository
|
||||
```
|
||||
|
||||
This check detects an absent or overwritten snapshot. Maven coordinates alone are insufficient. Artifact bytes have also been compared against every tested compiled class in the isolated build. A fresh rebuild can change JAR timestamps, so it must be validated and its manifest deliberately refreshed; a checksum mismatch must not be automatically accepted.
|
||||
The verifier identifies missing files and changed bytes independently of the Maven coordinates. Inspect the module Surefire reports for platform skips. These artifacts are development snapshots installed locally.
|
||||
|
||||
## Original Java 21 qualification
|
||||
|
||||
@@ -21,25 +26,8 @@ This check detects an absent or overwritten snapshot. Maven coordinates alone ar
|
||||
- Adapter-free Kit canvas/runtime smoke scenario: **38 passing checks**, including direct loading of the saved original FXML. It used JavaFX 21.0.7 in the target and the existing Kit 26 prototype host.
|
||||
- `clean install` completed using JDK 21 and the library's Maven 3.9.11 wrapper, including its configured report-generation/package phases. Test report totals, not the Maven exit status alone, are the test acceptance evidence. This does not claim new module-path, plugin or cross-platform qualification.
|
||||
|
||||
## Rebuild the active baseline
|
||||
|
||||
Use a clean checkout at the manifest's source revision; the canonical library checkout currently also contains unrelated native-desktop work. Keep that work separate. Run:
|
||||
|
||||
```sh
|
||||
# In the clean NeitzelLib checkout, with JAVA_HOME pointing to JDK 25:
|
||||
./mvnw -B -ntp -pl fx -am -Dversions.skip=true clean install
|
||||
```
|
||||
|
||||
Surefire fails the current build on test failures. Inspect the XML reports under `core`, `injection` and `fx` and record any platform-specific skips. Re-run the direct adapter-free scenario before changing the recorded capability baseline. Record source revision and installed artifact hashes together after acceptance; do not silently reuse the old hashes for a new build.
|
||||
|
||||
The regression source covers custom/inherited properties, numeric/boolean/enum conversion, XML text escaping, attached layout constraints, post-initialization setters, shared Model identity/write-back and invalid values. The original canonical library branch and its working-tree changes were left untouched; only the isolated eight-file Component change was integrated into main.
|
||||
|
||||
## Generated ViewModel runtime extension — 2026-11-13
|
||||
|
||||
The Java 21 development snapshot included NeitzelLib `90e08b7`: [stored-property access and generated defaults](https://gitea.neitzel.de/konrad/NeitzelLib/src/commit/90e08b7/fx/docs/generated-viewmodels.md). The earlier Component baseline above remains historical qualification. The new isolated clean build passed core 1, injection 10 and fx 105 tests with no failures/errors/skips. Every installed class was compared with the tested class output before updating the manifest hashes. The canonical library checkout and its unrelated changes remain untouched. No released minimum or remote artifact publication is claimed.
|
||||
|
||||
Designer fixtures additionally verify generated runtime behavior in real classpath and module-path applications. The library build evidence is `/tmp/viewmodel-runtime-qualified.log`; generated fixture evidence is `/tmp/generated-vm-fixtures-final.log`. The prior 38 adapter-free checks remain historical; current whole-host qualification is recorded with the generated ViewModel slice.
|
||||
|
||||
## Java 25 runtime baseline
|
||||
|
||||
The active manifest pins the Java 25 / JavaFX 27.0.1 NeitzelLib build. To qualify it in an isolated Maven repository, set `NEITZELLIB_MAVEN_REPOSITORY` to that repository and set `MAVEN_OPTS=-Dmaven.repo.local=$NEITZELLIB_MAVEN_REPOSITORY` for the build. The manifest records the exact source revision, Surefire totals and artifact hashes. The core totals include a separate run with `-Ddesktop.native.tests=true`.
|
||||
|
||||
Reference in New Issue
Block a user