Build Designer 0.1.0 against released NeitzelLib 1.0.6

This commit is contained in:
2026-11-26 10:48:48 +01:00
parent 3f8d06300d
commit 86174a21a1
16 changed files with 146 additions and 75 deletions
+1 -1
View File
@@ -121,7 +121,7 @@ Keep the proven reserved owner-lifetime channel for worker cleanup independent o
## Library prerequisite and acceptance
Integrate and test the Component builder fix separately in NeitzelLib, preserve unrelated work, and establish the first released artifact containing it. Declare the resulting supported minimum/capability in designer metadata. Older unsupported versions receive diagnostics, not a hidden adapter. Until release, development fixtures may pin a clearly identified installed snapshot; a SNAPSHOT name alone does not establish fix provenance. The corrected source on main declares `de.neitzel.lib:fx:1.0-SNAPSHOT` with Java 21 / JavaFX 21.0.7. The fix and tested local artifact identity are recorded in [runtime provenance](runtime/neitzellib-baseline.md). No corrected minimum released version is asserted.
Integrate and test the Component builder fix separately in NeitzelLib, preserve unrelated work, and establish the first released artifact containing it. Declare the resulting supported minimum/capability in designer metadata. Older unsupported versions receive diagnostics, not a hidden adapter. Until release, development fixtures may pin a clearly identified installed snapshot; a SNAPSHOT name alone does not establish fix provenance. The corrected source on main declares `de.neitzel.lib:fx:1.0-SNAPSHOT` with Java 21 / JavaFX 21.0.7. The fix and tested local artifact identity are recorded in [runtime provenance](runtime/neitzellib-baseline.md). NeitzelLib 1.0.6 is the first release qualified as the Designer baseline.
Accept the first milestone only when both minimal hosts use the same core/UI/fixtures and demonstrate:
+66 -39
View File
@@ -1,9 +1,10 @@
{
"schemaVersion": 1,
"status": "verified-local-development-snapshot",
"status": "verified-published-release",
"sourceRepository": "ssh://git@gitea.neitzel.de:2222/konrad/NeitzelLib.git",
"sourceRevision": "2625616b2fa9f4bccb2f891b2b2ae60cafeccd3d",
"minimumReleasedVersion": null,
"sourceRevision": "f585ab9cd9c19c4fc90297a51ab0bec8b189dc61",
"releaseTag": "v1.0.6",
"minimumReleasedVersion": "1.0.6",
"requiredCapability": "managed-views-command-bindings-document-inputs-and-group-label-entries",
"javaVersion": "25",
"javafxVersion": "27.0.1",
@@ -14,8 +15,8 @@
"errors": 0,
"skipped": 1
},
"injection": {
"tests": 10,
"data-grid": {
"tests": 33,
"failures": 0,
"errors": 0,
"skipped": 0
@@ -26,14 +27,26 @@
"errors": 0,
"skipped": 12
},
"data-grid": {
"tests": 33,
"fx-example": {
"tests": 50,
"failures": 0,
"errors": 0,
"skipped": 1
},
"fx-test": {
"tests": 2,
"failures": 0,
"errors": 0,
"skipped": 0
},
"fx-test": {
"tests": 2,
"gson": {
"tests": 12,
"failures": 0,
"errors": 0,
"skipped": 0
},
"injection": {
"tests": 10,
"failures": 0,
"errors": 0,
"skipped": 0
@@ -43,76 +56,90 @@
{
"groupId": "de.neitzel.lib",
"artifactId": "neitzellib",
"version": "1.0.6-SNAPSHOT",
"version": "1.0.6",
"extension": "pom",
"repositoryPath": "de/neitzel/lib/neitzellib/1.0.6-SNAPSHOT/neitzellib-1.0.6-SNAPSHOT.pom",
"sha256": "679b689ce3930c2e2a69c96d30357026f775141ec404e998533492b9fbda0202"
"repositoryPath": "de/neitzel/lib/neitzellib/1.0.6/neitzellib-1.0.6.pom",
"sha256": "1dae9cef9977b819f0f431ac47103fa4f808ce812201945409ca3738da9611c5"
},
{
"groupId": "de.neitzel.lib",
"artifactId": "core",
"version": "1.0.6-SNAPSHOT",
"version": "1.0.6",
"extension": "pom",
"repositoryPath": "de/neitzel/lib/core/1.0.6-SNAPSHOT/core-1.0.6-SNAPSHOT.pom",
"sha256": "91f8ed8976c058c7fcfb02a9d4fb9066d856e698c2d4fd3763fbf87992bdf646"
"repositoryPath": "de/neitzel/lib/core/1.0.6/core-1.0.6.pom",
"sha256": "cbe7ca7019ac3621e63de16b1b807ab67b17a4418c2641be4338b215bcb7b2f8"
},
{
"groupId": "de.neitzel.lib",
"artifactId": "core",
"version": "1.0.6-SNAPSHOT",
"version": "1.0.6",
"extension": "jar",
"repositoryPath": "de/neitzel/lib/core/1.0.6-SNAPSHOT/core-1.0.6-SNAPSHOT.jar",
"sha256": "513c9ddbc3fe95ec2b6153e2e53f368b13ec4056beee2002f60fa0e1cc92bdb2"
"repositoryPath": "de/neitzel/lib/core/1.0.6/core-1.0.6.jar",
"sha256": "f04491ba40300337a3dde92deda075bf0e45f9130902a4ac720e72aa53ba0e98"
},
{
"groupId": "de.neitzel.lib",
"artifactId": "injection",
"version": "1.0.6-SNAPSHOT",
"version": "1.0.6",
"extension": "pom",
"repositoryPath": "de/neitzel/lib/injection/1.0.6-SNAPSHOT/injection-1.0.6-SNAPSHOT.pom",
"sha256": "25f02eb0f4c8fa7b60c2c106b0f8019f56b995c3891db34f875bc25d830fa36f"
"repositoryPath": "de/neitzel/lib/injection/1.0.6/injection-1.0.6.pom",
"sha256": "9386bbbee6f59237b08831e179a9174d5b962fd1f1c97900dc5b006d91eb0735"
},
{
"groupId": "de.neitzel.lib",
"artifactId": "injection",
"version": "1.0.6-SNAPSHOT",
"version": "1.0.6",
"extension": "jar",
"repositoryPath": "de/neitzel/lib/injection/1.0.6-SNAPSHOT/injection-1.0.6-SNAPSHOT.jar",
"sha256": "c9b54bddc2eeff2cda7de51d8d55c20a16036a42a4cfd1cde864967c8e76b29a"
"repositoryPath": "de/neitzel/lib/injection/1.0.6/injection-1.0.6.jar",
"sha256": "13f23a3d45092b19349bbbcd301a8c243071170e36e7146df96adbe83f25fe94"
},
{
"groupId": "de.neitzel.lib",
"artifactId": "data-grid",
"version": "1.0.6-SNAPSHOT",
"version": "1.0.6",
"extension": "pom",
"repositoryPath": "de/neitzel/lib/data-grid/1.0.6-SNAPSHOT/data-grid-1.0.6-SNAPSHOT.pom",
"sha256": "565ce34c459282d519193c88f4d97dca0ca7c30ad395d3252918cf35aaa867e7"
"repositoryPath": "de/neitzel/lib/data-grid/1.0.6/data-grid-1.0.6.pom",
"sha256": "34162ed2d5b24d8513c4ddef35b51448ff081561a57eb3a1576d64e9739e4a70"
},
{
"groupId": "de.neitzel.lib",
"artifactId": "data-grid",
"version": "1.0.6-SNAPSHOT",
"version": "1.0.6",
"extension": "jar",
"repositoryPath": "de/neitzel/lib/data-grid/1.0.6-SNAPSHOT/data-grid-1.0.6-SNAPSHOT.jar",
"sha256": "5850b27705d5cbc493d6ff7f37a2803b4469aefad8273e9fd9e3350c53ca05c1"
"repositoryPath": "de/neitzel/lib/data-grid/1.0.6/data-grid-1.0.6.jar",
"sha256": "85abb475ebade2c4babeb024e865245f274a8800f3dc7dea9099a7d37b8475d1"
},
{
"groupId": "de.neitzel.lib",
"artifactId": "fx",
"version": "1.0.6-SNAPSHOT",
"version": "1.0.6",
"extension": "pom",
"repositoryPath": "de/neitzel/lib/fx/1.0.6-SNAPSHOT/fx-1.0.6-SNAPSHOT.pom",
"sha256": "3d87b56f8c479396ad4b4cf5d6493a44621daed3991666cc98dbe9f112e05aea"
"repositoryPath": "de/neitzel/lib/fx/1.0.6/fx-1.0.6.pom",
"sha256": "982ea3198905d39d3a040719062ca56883dbfb519757f375b7880383759cb2ce"
},
{
"groupId": "de.neitzel.lib",
"artifactId": "fx",
"version": "1.0.6-SNAPSHOT",
"version": "1.0.6",
"extension": "jar",
"repositoryPath": "de/neitzel/lib/fx/1.0.6-SNAPSHOT/fx-1.0.6-SNAPSHOT.jar",
"sha256": "626df132f37dcdc2da28ae0a2750ddf172a824c7b41058900cb1be18c0126a9a"
"repositoryPath": "de/neitzel/lib/fx/1.0.6/fx-1.0.6.jar",
"sha256": "5a34da04e4017b1d8cec02a938d9be99d2d4e9d2a78932f713d3fc934f37cb28"
},
{
"groupId": "de.neitzel.lib",
"artifactId": "fx-test",
"version": "1.0.6",
"extension": "pom",
"repositoryPath": "de/neitzel/lib/fx-test/1.0.6/fx-test-1.0.6.pom",
"sha256": "d2ae7c278182900c33cd7c9a65f9a6f02d253d26f2644392cce8261ac38aa4ed"
},
{
"groupId": "de.neitzel.lib",
"artifactId": "fx-test",
"version": "1.0.6",
"extension": "jar",
"repositoryPath": "de/neitzel/lib/fx-test/1.0.6/fx-test-1.0.6.jar",
"sha256": "0cae3772377ad161535ab6b8414b350df37970c09a5872db35a00f305d6fdad3"
}
],
"generatedViewModelSupport": "stored-property-access-and-declarative-service-registry",
"buildOutputTimestamp": "2026-11-24T00:00:00Z"
]
}
+10 -13
View File
@@ -1,23 +1,20 @@
# NeitzelLib development runtime
# NeitzelLib release baseline
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 Archiver document example uses the one-way HTML and observable suggestion-source inputs. The target also accepts literal group keys in DataGridColumn.groupLabel entries. 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).
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.
## Rebuild and verify
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).
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.
## Resolve and verify
With JDK 25, run this command from the Designer checkout:
```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
python3 scripts/check-neitzellib-artifact.py --resolve
```
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.
Maven resolves the release from the Gitea Maven registry. The verifier reads `~/.m2/repository` by default. For a separate local Maven repository, set `NEITZELLIB_MAVEN_REPOSITORY` to its absolute path and configure Maven and Gradle to use the same path with `-Dmaven.repo.local`. Run without `--resolve` to verify only the cached files.
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.
## Original Java 21 qualification
+1 -1
View File
@@ -31,7 +31,7 @@ Start with the German contact-book guide or use the [Person desk quick start](qu
The tested host baseline is macOS arm64, Java 25 and JavaFX/Kit 26. The reference application uses Java 25 and JavaFX 27.0.1. IntelliJ is qualified against build **263.7307.200**. These are tested combinations, not a claim that arbitrary JavaFX, JDK, IDE or OS versions work.
The Designer tooling uses version `0.1.0`. Install the Maven modules locally or configure the [Gitea Maven registry](https://gitea.neitzel.de/api/packages/konrad/maven) as both a dependency and plugin repository. The target applications and examples use the separately installed [NeitzelLib `1.0.6-SNAPSHOT` baseline](../runtime/neitzellib-baseline.md).
The Designer tooling uses version `0.1.0`. Install the Maven modules locally or configure the [Gitea Maven registry](https://gitea.neitzel.de/api/packages/konrad/maven) as both a dependency and plugin repository. The target applications and examples use the [NeitzelLib `1.0.6` release baseline](../runtime/neitzellib-baseline.md).
## Scope and conventions
+1 -1
View File
@@ -4,7 +4,7 @@
## 1. App ohne Plugin starten
Du brauchst einen vollständigen **JDK 25**, Maven **3.9.11 oder neuer** und die lokalen NeitzelLib-Artefakte `fx` und `fx-test` in Version `1.0.6-SNAPSHOT`. Baue und installiere sie nach [Rebuild and verify](../runtime/neitzellib-baseline.md#rebuild-and-verify). Die JavaFX-Version **27.0.1** bringt Maven mit. Das Projekt läuft auf dem Classpath; du musst kein `module-info.java` schreiben und kein JavaFX-SDK in IntelliJ eintragen.
Du brauchst einen vollständigen **JDK 25**, Maven **3.9.11 oder neuer** und NeitzelLib `fx` und `fx-test` in Version `1.0.6`. Die Beispiel-POM lädt sie aus der Gitea Maven-Registry. Die JavaFX-Version **27.0.1** bringt Maven mit. Das Projekt läuft auf dem Classpath; du musst kein `module-info.java` schreiben und kein JavaFX-SDK in IntelliJ eintragen.
Öffne `examples/contact-book` als eigenes Projekt in IntelliJ. Falls IntelliJ es nicht als Maven-Projekt erkennt, verknüpfe die `pom.xml` als Maven-Projekt. Wähle JDK 25 als Project SDK und für Maven; aktiviere **nicht** das Profil `designer-preview`. Führe im Beispielordner aus:
+3 -3
View File
@@ -13,13 +13,13 @@ Die überprüfte Ausgangskombination für dieses Beispiel ist:
| JDK für Build und App | JDK 25 |
| Maven | 3.9.11 oder neuer |
| JavaFX der Anwendung | 27.0.1 |
| NeitzelLib FX | `1.0.6-SNAPSHOT`, lokal gebautes Entwicklungsartefakt |
| NeitzelLib FX | `1.0.6`, aus der Gitea Maven-Registry |
| IntelliJ-Plugin | NeitzelFXDesigner `0.1.0`, lokal gebaut |
| IntelliJ-Host | SDK `263.7307.200` auf macOS; JavaFX/Scene Builder Kit 26 im Host |
Die JDK-/JavaFX-Version der Anwendung ist unabhängig vom JavaFX-Toolkit des IntelliJ-Prozesses. Anwendungs- und Vorschau-Code läuft im Zielprozess. Diese Kombination ist eine Entwicklungsbaseline, kein veröffentlichtes Release oder eine Zusage für andere IDE- und Betriebssystemversionen. Die zugehörigen Quellstände und Artefaktgrenzen stehen in der [NeitzelLib-Baseline](../runtime/neitzellib-baseline.md).
Die JDK-/JavaFX-Version der Anwendung ist unabhängig vom JavaFX-Toolkit des IntelliJ-Prozesses. Anwendungs- und Vorschau-Code läuft im Zielprozess. Die Kombination wurde mit dem aufgeführten IntelliJ SDK auf macOS geprüft. Die zugehörigen Quellstände und Artefaktgrenzen stehen in der [NeitzelLib-Baseline](../runtime/neitzellib-baseline.md).
Für den `1.0.6-SNAPSHOT` müssen `fx` und für die Tests auch `fx-test` lokal installiert sein. Folge dazu dem Abschnitt „Rebuild and verify“ in der Baseline; die Workspace-Checkouts enthalten die benötigten Quellen unter `NeitzelLib/` und `NeitzelFXDesigner/`. Falls du dafür ein separates Maven-Repository verwendest, müssen Maven, Gradle und der aus IntelliJ gestartete Maven-Build auf dasselbe Repository zugreifen. Starte IntelliJ dann aus der Shell mit dem dort gesetzten `MAVEN_OPTS`. Das Beispiel kopiert keine Bibliotheksquellen und enthält keinen Designer-Host als Laufzeitabhängigkeit.
Die Beispiel-POM bezieht `fx` und das Testmodul `fx-test` in Version `1.0.6` aus der Gitea Maven-Registry. Falls du dafür ein separates Maven-Repository verwendest, müssen Maven, Gradle und der aus IntelliJ gestartete Maven-Build auf dasselbe Repository zugreifen. Starte IntelliJ dann aus der Shell mit dem dort gesetzten `MAVEN_OPTS`. Das Beispiel kopiert keine Bibliotheksquellen und enthält keinen Designer-Host als Laufzeitabhängigkeit.
## 2. Die Anwendung separat starten