Merge the published NeitzelLib 1.0.6 baseline
This commit is contained in:
@@ -18,17 +18,17 @@ The shared [Build and Refresh workflow](docs/build-and-refresh.md) now builds is
|
|||||||
|
|
||||||
The [preview API and target adapter](docs/preview-target-fixtures.md) are validated with real classpath and named-module NeitzelLib applications, including bindings, rendering, readiness and cleanup. Each preview session requires a fresh target JVM.
|
The [preview API and target adapter](docs/preview-target-fixtures.md) are validated with real classpath and named-module NeitzelLib applications, including bindings, rendering, readiness and cleanup. Each preview session requires a fresh target JVM.
|
||||||
|
|
||||||
The Component builder fix is integrated in NeitzelLib main. A [verified local development snapshot](docs/runtime/neitzellib-baseline.md) is recorded with source/artifact identity; a corrected released version is still unestablished. NeitzelLib sources are not copied here; the narrow Kit text-selection patch has explicit provenance and regression coverage.
|
The Component builder fix is integrated in NeitzelLib main. The [NeitzelLib 1.0.6 runtime baseline](docs/runtime/neitzellib-baseline.md) records the released source and artifact identity. NeitzelLib sources are not copied here; the narrow Kit text-selection patch has explicit provenance and regression coverage.
|
||||||
|
|
||||||
## Validate the foundation
|
## Validate the foundation
|
||||||
|
|
||||||
Requirements: JDK 25 for builds and target linkage validation, Python 3.10+, the recorded local NeitzelLib artifacts, and IntelliJ IDEA SDK build **263.7307.200**. Downloads require network access. Set `JAVA_HOME` to JDK 25 and supply explicit local paths:
|
Requirements: JDK 25 for builds and target linkage validation, Python 3.10+, the published NeitzelLib 1.0.6 artifacts, and IntelliJ IDEA SDK build **263.7307.200**. Downloads require network access. Set `JAVA_HOME` to JDK 25 and supply explicit local paths:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
python3 scripts/check-bootstrap.py --idea-home "$IDEA_HOME" --target-java-home "$TARGET_JAVA_HOME"
|
python3 scripts/check-bootstrap.py --idea-home "$IDEA_HOME" --target-java-home "$TARGET_JAVA_HOME"
|
||||||
```
|
```
|
||||||
|
|
||||||
On macOS `IDEA_HOME` points to the IDE application's `Contents` directory. The current SDK check uses its macOS product-info layout; other platforms are not qualified. The command checks runtime artifact hashes, clean-builds/installs the Maven modules, tests the adapters, checks bytecode baselines, runs target linkage under the supplied target JDK, builds the plugin ZIP, runs the real Maven snapshot and target-preview fixtures, checks the connected workflow in both document adapters and native standalone Kit windows, and validates documentation. Real registered IntelliJ UI qualification is a separate command below. It does not install or publish NeitzelLib.
|
On macOS `IDEA_HOME` points to the IDE application's `Contents` directory. The current SDK check uses its macOS product-info layout; other platforms are not qualified. The command checks runtime artifact hashes, clean-builds/installs the Maven modules, tests the adapters, checks bytecode baselines, runs target linkage under the supplied target JDK, builds the plugin ZIP, runs the real Maven snapshot and target-preview fixtures, checks the connected workflow in both document adapters and native standalone Kit windows, and validates documentation. Real registered IntelliJ UI qualification is a separate command below. It resolves NeitzelLib from the Gitea Maven registry.
|
||||||
|
|
||||||
Maven is pinned to **3.9.11** (Wrapper **3.3.4**); the separate IntelliJ build uses **Gradle 9.1.0** and IntelliJ Platform Gradle Plugin **2.20.1**. Wrapper distributions have pinned checksums. Shared-module-only validation is `./mvnw -B -ntp clean verify`; it does not qualify IntelliJ packaging. Plugin output is under `designer-intellij/build/distributions/`.
|
Maven is pinned to **3.9.11** (Wrapper **3.3.4**); the separate IntelliJ build uses **Gradle 9.1.0** and IntelliJ Platform Gradle Plugin **2.20.1**. Wrapper distributions have pinned checksums. Shared-module-only validation is `./mvnw -B -ntp clean verify`; it does not qualify IntelliJ packaging. Plugin output is under `designer-intellij/build/distributions/`.
|
||||||
|
|
||||||
@@ -68,7 +68,7 @@ python3 scripts/check-ide-host.py --java-home "$JAVA_HOME" --target-java-home "$
|
|||||||
|
|
||||||
### Archiver in IntelliJ
|
### Archiver in IntelliJ
|
||||||
|
|
||||||
Build the [pinned NeitzelLib snapshot](docs/runtime/neitzellib-baseline.md), then build the Designer modules and plugin with the bootstrap command above. Archiver includes its preview examples in the `designer-preview` Maven profile. To open an isolated IntelliJ instance with a project copy and the built plugin, run from this checkout with the same Maven environment:
|
Build the Designer modules and plugin with the bootstrap command above. It verifies the [NeitzelLib release baseline](docs/runtime/neitzellib-baseline.md). Use the NeitzelLib version declared by Archiver for its application build. Archiver includes its preview examples in the `designer-preview` Maven profile. To open an isolated IntelliJ instance with a project copy and the built plugin, run from this checkout with the same Maven environment:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
python3 scripts/run-fixture-host.py intellij --archiver ../Archiver \
|
python3 scripts/run-fixture-host.py intellij --archiver ../Archiver \
|
||||||
@@ -126,4 +126,4 @@ Use `--reader-states` with the Archiver IntelliJ host check for the direct `Docu
|
|||||||
|
|
||||||
The canonical checkout is `/Volumes/PlanckSSD/KI/java/NeitzelFXDesigner`. Its Git remote is `ssh://git@gitea.neitzel.de:2222/konrad/NeitzelFXDesigner.git` and its default branch is `main`.
|
The canonical checkout is `/Volumes/PlanckSSD/KI/java/NeitzelFXDesigner`. Its Git remote is `ssh://git@gitea.neitzel.de:2222/konrad/NeitzelFXDesigner.git` and its default branch is `main`.
|
||||||
|
|
||||||
Validate the installed corrected development runtime separately with `python3 scripts/check-neitzellib-artifact.py`. This requires the recorded local artifacts; the full check also verifies these hashes.
|
Verify the released NeitzelLib runtime separately with `python3 scripts/check-neitzellib-artifact.py --resolve`.
|
||||||
|
|||||||
@@ -25,8 +25,6 @@
|
|||||||
<groupId>de.neitzel.lib</groupId>
|
<groupId>de.neitzel.lib</groupId>
|
||||||
<artifactId>fx</artifactId>
|
<artifactId>fx</artifactId>
|
||||||
<version>${neitzellib.version}</version>
|
<version>${neitzellib.version}</version>
|
||||||
<!-- The target application's captured classpath supplies NeitzelLib. -->
|
|
||||||
<scope>provided</scope>
|
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.junit.jupiter</groupId>
|
<groupId>org.junit.jupiter</groupId>
|
||||||
|
|||||||
@@ -121,7 +121,7 @@ Keep the proven reserved owner-lifetime channel for worker cleanup independent o
|
|||||||
|
|
||||||
## Library prerequisite and acceptance
|
## 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:
|
Accept the first milestone only when both minimal hosts use the same core/UI/fixtures and demonstrate:
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
{
|
{
|
||||||
"schemaVersion": 1,
|
"schemaVersion": 1,
|
||||||
"status": "verified-local-development-snapshot",
|
"status": "verified-published-release",
|
||||||
"sourceRepository": "ssh://git@gitea.neitzel.de:2222/konrad/NeitzelLib.git",
|
"sourceRepository": "ssh://git@gitea.neitzel.de:2222/konrad/NeitzelLib.git",
|
||||||
"sourceRevision": "2625616b2fa9f4bccb2f891b2b2ae60cafeccd3d",
|
"sourceRevision": "f585ab9cd9c19c4fc90297a51ab0bec8b189dc61",
|
||||||
"minimumReleasedVersion": null,
|
"releaseTag": "v1.0.6",
|
||||||
|
"minimumReleasedVersion": "1.0.6",
|
||||||
"requiredCapability": "managed-views-command-bindings-document-inputs-and-group-label-entries",
|
"requiredCapability": "managed-views-command-bindings-document-inputs-and-group-label-entries",
|
||||||
"javaVersion": "25",
|
"javaVersion": "25",
|
||||||
"javafxVersion": "27.0.1",
|
"javafxVersion": "27.0.1",
|
||||||
@@ -14,8 +15,8 @@
|
|||||||
"errors": 0,
|
"errors": 0,
|
||||||
"skipped": 1
|
"skipped": 1
|
||||||
},
|
},
|
||||||
"injection": {
|
"data-grid": {
|
||||||
"tests": 10,
|
"tests": 33,
|
||||||
"failures": 0,
|
"failures": 0,
|
||||||
"errors": 0,
|
"errors": 0,
|
||||||
"skipped": 0
|
"skipped": 0
|
||||||
@@ -26,14 +27,26 @@
|
|||||||
"errors": 0,
|
"errors": 0,
|
||||||
"skipped": 12
|
"skipped": 12
|
||||||
},
|
},
|
||||||
"data-grid": {
|
"fx-example": {
|
||||||
"tests": 33,
|
"tests": 50,
|
||||||
|
"failures": 0,
|
||||||
|
"errors": 0,
|
||||||
|
"skipped": 1
|
||||||
|
},
|
||||||
|
"fx-test": {
|
||||||
|
"tests": 2,
|
||||||
"failures": 0,
|
"failures": 0,
|
||||||
"errors": 0,
|
"errors": 0,
|
||||||
"skipped": 0
|
"skipped": 0
|
||||||
},
|
},
|
||||||
"fx-test": {
|
"gson": {
|
||||||
"tests": 2,
|
"tests": 12,
|
||||||
|
"failures": 0,
|
||||||
|
"errors": 0,
|
||||||
|
"skipped": 0
|
||||||
|
},
|
||||||
|
"injection": {
|
||||||
|
"tests": 10,
|
||||||
"failures": 0,
|
"failures": 0,
|
||||||
"errors": 0,
|
"errors": 0,
|
||||||
"skipped": 0
|
"skipped": 0
|
||||||
@@ -43,76 +56,90 @@
|
|||||||
{
|
{
|
||||||
"groupId": "de.neitzel.lib",
|
"groupId": "de.neitzel.lib",
|
||||||
"artifactId": "neitzellib",
|
"artifactId": "neitzellib",
|
||||||
"version": "1.0.6-SNAPSHOT",
|
"version": "1.0.6",
|
||||||
"extension": "pom",
|
"extension": "pom",
|
||||||
"repositoryPath": "de/neitzel/lib/neitzellib/1.0.6-SNAPSHOT/neitzellib-1.0.6-SNAPSHOT.pom",
|
"repositoryPath": "de/neitzel/lib/neitzellib/1.0.6/neitzellib-1.0.6.pom",
|
||||||
"sha256": "679b689ce3930c2e2a69c96d30357026f775141ec404e998533492b9fbda0202"
|
"sha256": "1dae9cef9977b819f0f431ac47103fa4f808ce812201945409ca3738da9611c5"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"groupId": "de.neitzel.lib",
|
"groupId": "de.neitzel.lib",
|
||||||
"artifactId": "core",
|
"artifactId": "core",
|
||||||
"version": "1.0.6-SNAPSHOT",
|
"version": "1.0.6",
|
||||||
"extension": "pom",
|
"extension": "pom",
|
||||||
"repositoryPath": "de/neitzel/lib/core/1.0.6-SNAPSHOT/core-1.0.6-SNAPSHOT.pom",
|
"repositoryPath": "de/neitzel/lib/core/1.0.6/core-1.0.6.pom",
|
||||||
"sha256": "91f8ed8976c058c7fcfb02a9d4fb9066d856e698c2d4fd3763fbf87992bdf646"
|
"sha256": "cbe7ca7019ac3621e63de16b1b807ab67b17a4418c2641be4338b215bcb7b2f8"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"groupId": "de.neitzel.lib",
|
"groupId": "de.neitzel.lib",
|
||||||
"artifactId": "core",
|
"artifactId": "core",
|
||||||
"version": "1.0.6-SNAPSHOT",
|
"version": "1.0.6",
|
||||||
"extension": "jar",
|
"extension": "jar",
|
||||||
"repositoryPath": "de/neitzel/lib/core/1.0.6-SNAPSHOT/core-1.0.6-SNAPSHOT.jar",
|
"repositoryPath": "de/neitzel/lib/core/1.0.6/core-1.0.6.jar",
|
||||||
"sha256": "513c9ddbc3fe95ec2b6153e2e53f368b13ec4056beee2002f60fa0e1cc92bdb2"
|
"sha256": "f04491ba40300337a3dde92deda075bf0e45f9130902a4ac720e72aa53ba0e98"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"groupId": "de.neitzel.lib",
|
"groupId": "de.neitzel.lib",
|
||||||
"artifactId": "injection",
|
"artifactId": "injection",
|
||||||
"version": "1.0.6-SNAPSHOT",
|
"version": "1.0.6",
|
||||||
"extension": "pom",
|
"extension": "pom",
|
||||||
"repositoryPath": "de/neitzel/lib/injection/1.0.6-SNAPSHOT/injection-1.0.6-SNAPSHOT.pom",
|
"repositoryPath": "de/neitzel/lib/injection/1.0.6/injection-1.0.6.pom",
|
||||||
"sha256": "25f02eb0f4c8fa7b60c2c106b0f8019f56b995c3891db34f875bc25d830fa36f"
|
"sha256": "9386bbbee6f59237b08831e179a9174d5b962fd1f1c97900dc5b006d91eb0735"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"groupId": "de.neitzel.lib",
|
"groupId": "de.neitzel.lib",
|
||||||
"artifactId": "injection",
|
"artifactId": "injection",
|
||||||
"version": "1.0.6-SNAPSHOT",
|
"version": "1.0.6",
|
||||||
"extension": "jar",
|
"extension": "jar",
|
||||||
"repositoryPath": "de/neitzel/lib/injection/1.0.6-SNAPSHOT/injection-1.0.6-SNAPSHOT.jar",
|
"repositoryPath": "de/neitzel/lib/injection/1.0.6/injection-1.0.6.jar",
|
||||||
"sha256": "c9b54bddc2eeff2cda7de51d8d55c20a16036a42a4cfd1cde864967c8e76b29a"
|
"sha256": "13f23a3d45092b19349bbbcd301a8c243071170e36e7146df96adbe83f25fe94"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"groupId": "de.neitzel.lib",
|
"groupId": "de.neitzel.lib",
|
||||||
"artifactId": "data-grid",
|
"artifactId": "data-grid",
|
||||||
"version": "1.0.6-SNAPSHOT",
|
"version": "1.0.6",
|
||||||
"extension": "pom",
|
"extension": "pom",
|
||||||
"repositoryPath": "de/neitzel/lib/data-grid/1.0.6-SNAPSHOT/data-grid-1.0.6-SNAPSHOT.pom",
|
"repositoryPath": "de/neitzel/lib/data-grid/1.0.6/data-grid-1.0.6.pom",
|
||||||
"sha256": "565ce34c459282d519193c88f4d97dca0ca7c30ad395d3252918cf35aaa867e7"
|
"sha256": "34162ed2d5b24d8513c4ddef35b51448ff081561a57eb3a1576d64e9739e4a70"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"groupId": "de.neitzel.lib",
|
"groupId": "de.neitzel.lib",
|
||||||
"artifactId": "data-grid",
|
"artifactId": "data-grid",
|
||||||
"version": "1.0.6-SNAPSHOT",
|
"version": "1.0.6",
|
||||||
"extension": "jar",
|
"extension": "jar",
|
||||||
"repositoryPath": "de/neitzel/lib/data-grid/1.0.6-SNAPSHOT/data-grid-1.0.6-SNAPSHOT.jar",
|
"repositoryPath": "de/neitzel/lib/data-grid/1.0.6/data-grid-1.0.6.jar",
|
||||||
"sha256": "5850b27705d5cbc493d6ff7f37a2803b4469aefad8273e9fd9e3350c53ca05c1"
|
"sha256": "85abb475ebade2c4babeb024e865245f274a8800f3dc7dea9099a7d37b8475d1"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"groupId": "de.neitzel.lib",
|
"groupId": "de.neitzel.lib",
|
||||||
"artifactId": "fx",
|
"artifactId": "fx",
|
||||||
"version": "1.0.6-SNAPSHOT",
|
"version": "1.0.6",
|
||||||
"extension": "pom",
|
"extension": "pom",
|
||||||
"repositoryPath": "de/neitzel/lib/fx/1.0.6-SNAPSHOT/fx-1.0.6-SNAPSHOT.pom",
|
"repositoryPath": "de/neitzel/lib/fx/1.0.6/fx-1.0.6.pom",
|
||||||
"sha256": "3d87b56f8c479396ad4b4cf5d6493a44621daed3991666cc98dbe9f112e05aea"
|
"sha256": "982ea3198905d39d3a040719062ca56883dbfb519757f375b7880383759cb2ce"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"groupId": "de.neitzel.lib",
|
"groupId": "de.neitzel.lib",
|
||||||
"artifactId": "fx",
|
"artifactId": "fx",
|
||||||
"version": "1.0.6-SNAPSHOT",
|
"version": "1.0.6",
|
||||||
"extension": "jar",
|
"extension": "jar",
|
||||||
"repositoryPath": "de/neitzel/lib/fx/1.0.6-SNAPSHOT/fx-1.0.6-SNAPSHOT.jar",
|
"repositoryPath": "de/neitzel/lib/fx/1.0.6/fx-1.0.6.jar",
|
||||||
"sha256": "626df132f37dcdc2da28ae0a2750ddf172a824c7b41058900cb1be18c0126a9a"
|
"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"
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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
|
```sh
|
||||||
export NEITZELLIB_MAVEN_REPOSITORY=/absolute/path/to/preview-repository
|
python3 scripts/check-neitzellib-artifact.py --resolve
|
||||||
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
|
|
||||||
```
|
```
|
||||||
|
|
||||||
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
|
## Original Java 21 qualification
|
||||||
|
|
||||||
|
|||||||
@@ -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 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
|
## Scope and conventions
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
## 1. App ohne Plugin starten
|
## 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:
|
Ö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:
|
||||||
|
|
||||||
|
|||||||
@@ -13,13 +13,13 @@ Die überprüfte Ausgangskombination für dieses Beispiel ist:
|
|||||||
| JDK für Build und App | JDK 25 |
|
| JDK für Build und App | JDK 25 |
|
||||||
| Maven | 3.9.11 oder neuer |
|
| Maven | 3.9.11 oder neuer |
|
||||||
| JavaFX der Anwendung | 27.0.1 |
|
| 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-Plugin | NeitzelFXDesigner `0.1.0`, lokal gebaut |
|
||||||
| IntelliJ-Host | SDK `263.7307.200` auf macOS; JavaFX/Scene Builder Kit 26 im Host |
|
| 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
|
## 2. Die Anwendung separat starten
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ Ein kleines Maven-Projekt für den Einstieg in JavaFX und MVVM. Die Anwendung ve
|
|||||||
|
|
||||||
## Bauen und starten
|
## Bauen und starten
|
||||||
|
|
||||||
Voraussetzungen sind `de.neitzel.lib:fx:1.0.6-SNAPSHOT` (für die Tests zusätzlich `fx-test`), JDK 25 und Maven 3.9.11 oder neuer. Der lokale Entwicklungs-Snapshot wird aus dem NeitzelLib-Checkout gebaut; siehe [Baseline und Rebuild](../../docs/runtime/neitzellib-baseline.md). Aus diesem Ordner:
|
Voraussetzungen sind `de.neitzel.lib:fx:1.0.6` (für die Tests zusätzlich `fx-test`), JDK 25 und Maven 3.9.11 oder neuer. Die Beispiel-POM bezieht die Bibliothek aus der Gitea Maven-Registry. Die [NeitzelLib-Baseline](../../docs/runtime/neitzellib-baseline.md) dokumentiert die geprüften Artefakte. Aus diesem Ordner:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
mvn -version
|
mvn -version
|
||||||
|
|||||||
@@ -8,6 +8,22 @@
|
|||||||
<artifactId>contact-book</artifactId>
|
<artifactId>contact-book</artifactId>
|
||||||
<version>1.0-SNAPSHOT</version>
|
<version>1.0-SNAPSHOT</version>
|
||||||
|
|
||||||
|
<repositories>
|
||||||
|
<repository>
|
||||||
|
<id>gitea-neitzelfxdesigner</id>
|
||||||
|
<url>https://gitea.neitzel.de/api/packages/konrad/maven</url>
|
||||||
|
<snapshots><enabled>false</enabled></snapshots>
|
||||||
|
</repository>
|
||||||
|
</repositories>
|
||||||
|
|
||||||
|
<pluginRepositories>
|
||||||
|
<pluginRepository>
|
||||||
|
<id>gitea-neitzelfxdesigner</id>
|
||||||
|
<url>https://gitea.neitzel.de/api/packages/konrad/maven</url>
|
||||||
|
<snapshots><enabled>false</enabled></snapshots>
|
||||||
|
</pluginRepository>
|
||||||
|
</pluginRepositories>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<maven.compiler.release>25</maven.compiler.release>
|
<maven.compiler.release>25</maven.compiler.release>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
@@ -16,7 +32,7 @@
|
|||||||
<javafx.version>27.0.1</javafx.version>
|
<javafx.version>27.0.1</javafx.version>
|
||||||
<junit.version>6.1.3</junit.version>
|
<junit.version>6.1.3</junit.version>
|
||||||
<jackson.version>2.20.1</jackson.version>
|
<jackson.version>2.20.1</jackson.version>
|
||||||
<neitzellib.version>1.0.6-SNAPSHOT</neitzellib.version>
|
<neitzellib.version>1.0.6</neitzellib.version>
|
||||||
<slf4j.version>2.0.20</slf4j.version>
|
<slf4j.version>2.0.20</slf4j.version>
|
||||||
|
|
||||||
<build-helper-maven-plugin.version>3.8.0</build-helper-maven-plugin.version>
|
<build-helper-maven-plugin.version>3.8.0</build-helper-maven-plugin.version>
|
||||||
|
|||||||
@@ -8,13 +8,21 @@
|
|||||||
<modules>
|
<modules>
|
||||||
<module>app</module>
|
<module>app</module>
|
||||||
</modules>
|
</modules>
|
||||||
|
<repositories>
|
||||||
|
<repository>
|
||||||
|
<id>gitea-neitzelfxdesigner</id>
|
||||||
|
<url>https://gitea.neitzel.de/api/packages/konrad/maven</url>
|
||||||
|
<snapshots><enabled>false</enabled></snapshots>
|
||||||
|
</repository>
|
||||||
|
</repositories>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<maven.compiler.release>25</maven.compiler.release>
|
<maven.compiler.release>25</maven.compiler.release>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
|
|
||||||
<!-- Dependency versions -->
|
<!-- Dependency versions -->
|
||||||
<designer.version>0.1.0</designer.version>
|
<designer.version>0.1.0</designer.version>
|
||||||
<neitzellib.version>1.0.6-SNAPSHOT</neitzellib.version>
|
<neitzellib.version>1.0.6</neitzellib.version>
|
||||||
|
|
||||||
<!-- Plugin versions -->
|
<!-- Plugin versions -->
|
||||||
<maven.compiler.plugin>3.16.0</maven.compiler.plugin>
|
<maven.compiler.plugin>3.16.0</maven.compiler.plugin>
|
||||||
|
|||||||
@@ -10,13 +10,21 @@
|
|||||||
<module>preview</module>
|
<module>preview</module>
|
||||||
<module>checks</module>
|
<module>checks</module>
|
||||||
</modules>
|
</modules>
|
||||||
|
<repositories>
|
||||||
|
<repository>
|
||||||
|
<id>gitea-neitzelfxdesigner</id>
|
||||||
|
<url>https://gitea.neitzel.de/api/packages/konrad/maven</url>
|
||||||
|
<snapshots><enabled>false</enabled></snapshots>
|
||||||
|
</repository>
|
||||||
|
</repositories>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<maven.compiler.release>25</maven.compiler.release>
|
<maven.compiler.release>25</maven.compiler.release>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
|
|
||||||
<!-- Dependency versions -->
|
<!-- Dependency versions -->
|
||||||
<designer.version>0.1.0</designer.version>
|
<designer.version>0.1.0</designer.version>
|
||||||
<neitzellib.version>1.0.6-SNAPSHOT</neitzellib.version>
|
<neitzellib.version>1.0.6</neitzellib.version>
|
||||||
|
|
||||||
<!-- Plugin versions -->
|
<!-- Plugin versions -->
|
||||||
<maven.compiler.plugin>3.16.0</maven.compiler.plugin>
|
<maven.compiler.plugin>3.16.0</maven.compiler.plugin>
|
||||||
|
|||||||
@@ -21,6 +21,14 @@
|
|||||||
<name>Neitzel FX Designer</name>
|
<name>Neitzel FX Designer</name>
|
||||||
<description>Repository foundation for the shared Kit designer and its standalone and IntelliJ hosts.</description>
|
<description>Repository foundation for the shared Kit designer and its standalone and IntelliJ hosts.</description>
|
||||||
<url>https://gitea.neitzel.de/konrad/NeitzelFXDesigner</url>
|
<url>https://gitea.neitzel.de/konrad/NeitzelFXDesigner</url>
|
||||||
|
<repositories>
|
||||||
|
<repository>
|
||||||
|
<id>gitea-neitzelfxdesigner</id>
|
||||||
|
<url>https://gitea.neitzel.de/api/packages/konrad/maven</url>
|
||||||
|
<snapshots><enabled>false</enabled></snapshots>
|
||||||
|
</repository>
|
||||||
|
</repositories>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<maven.test.failure.ignore>false</maven.test.failure.ignore>
|
<maven.test.failure.ignore>false</maven.test.failure.ignore>
|
||||||
@@ -28,7 +36,7 @@
|
|||||||
<!-- Dependency versions -->
|
<!-- Dependency versions -->
|
||||||
<junit.version>6.1.3</junit.version>
|
<junit.version>6.1.3</junit.version>
|
||||||
<lombok.version>1.18.48</lombok.version>
|
<lombok.version>1.18.48</lombok.version>
|
||||||
<neitzellib.version>1.0.6-SNAPSHOT</neitzellib.version>
|
<neitzellib.version>1.0.6</neitzellib.version>
|
||||||
|
|
||||||
<!-- Plugin versions -->
|
<!-- Plugin versions -->
|
||||||
<maven.clean.plugin>3.5.0</maven.clean.plugin>
|
<maven.clean.plugin>3.5.0</maven.clean.plugin>
|
||||||
|
|||||||
@@ -21,9 +21,9 @@ if info["buildNumber"] != "263.7307.200":
|
|||||||
def run(command):
|
def run(command):
|
||||||
subprocess.run([str(x) for x in command], cwd=ROOT, check=True)
|
subprocess.run([str(x) for x in command], cwd=ROOT, check=True)
|
||||||
wrapper = ROOT / ("mvnw.cmd" if os.name == "nt" else "mvnw")
|
wrapper = ROOT / ("mvnw.cmd" if os.name == "nt" else "mvnw")
|
||||||
run([sys.executable, ROOT / "scripts/check-neitzellib-artifact.py"])
|
run([sys.executable, ROOT / "scripts/check-neitzellib-artifact.py", "--resolve"])
|
||||||
run([wrapper, "-B", "-ntp", "clean", "install"])
|
run([wrapper, "-B", "-ntp", "clean", "install"])
|
||||||
run([wrapper, "-B", "-ntp", "-pl", "designer-target-tools", "org.apache.maven.plugins:maven-dependency-plugin:3.6.1:build-classpath", "-DincludeScope=test", "-Dmdep.outputFile=target/runtime-classpath.txt"])
|
run([wrapper, "-B", "-ntp", "-pl", "designer-target-tools", "org.apache.maven.plugins:maven-dependency-plugin:3.6.1:build-classpath", "-DincludeScope=runtime", "-Dmdep.outputFile=target/runtime-classpath.txt"])
|
||||||
for module in ("contracts", "model-processor", "preview-api", "core", "kit-ui", "standalone", "target-tools", "maven-plugin"):
|
for module in ("contracts", "model-processor", "preview-api", "core", "kit-ui", "standalone", "target-tools", "maven-plugin"):
|
||||||
name = "designer-" + module
|
name = "designer-" + module
|
||||||
expected = 69
|
expected = 69
|
||||||
|
|||||||
@@ -1,17 +1,26 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
"""Verify that the locally installed development runtime matches the tested artifact."""
|
"""Verify that the locally cached NeitzelLib release matches the tested artifact."""
|
||||||
import argparse
|
import argparse
|
||||||
import hashlib
|
import hashlib
|
||||||
import json
|
import json
|
||||||
import os
|
import os
|
||||||
|
import subprocess
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
ROOT = Path(__file__).resolve().parent.parent
|
ROOT = Path(__file__).resolve().parent.parent
|
||||||
parser = argparse.ArgumentParser(description=__doc__)
|
parser = argparse.ArgumentParser(description=__doc__)
|
||||||
parser.add_argument("--repository", type=Path, default=Path(os.environ.get("NEITZELLIB_MAVEN_REPOSITORY", Path.home() / ".m2/repository")))
|
parser.add_argument("--repository", type=Path, default=Path(os.environ.get("NEITZELLIB_MAVEN_REPOSITORY", Path.home() / ".m2/repository")))
|
||||||
|
parser.add_argument("--resolve", action="store_true", help="Fetch the published Maven baseline before checking it")
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
manifest = json.loads((ROOT / "docs/runtime/neitzellib-baseline.json").read_text())
|
manifest = json.loads((ROOT / "docs/runtime/neitzellib-baseline.json").read_text())
|
||||||
|
if args.resolve:
|
||||||
|
wrapper = ROOT / ("mvnw.cmd" if os.name == "nt" else "mvnw")
|
||||||
|
subprocess.run([str(wrapper), "-N", "-B", "-ntp",
|
||||||
|
f"-Dmaven.repo.local={args.repository.resolve()}",
|
||||||
|
"org.apache.maven.plugins:maven-dependency-plugin:3.6.1:get",
|
||||||
|
f"-Dartifact=de.neitzel.lib:fx-test:{manifest['minimumReleasedVersion']}"],
|
||||||
|
cwd=ROOT, check=True)
|
||||||
errors = []
|
errors = []
|
||||||
for artifact in manifest["artifacts"]:
|
for artifact in manifest["artifacts"]:
|
||||||
path = args.repository / artifact["repositoryPath"]
|
path = args.repository / artifact["repositoryPath"]
|
||||||
@@ -22,4 +31,4 @@ for artifact in manifest["artifacts"]:
|
|||||||
if errors:
|
if errors:
|
||||||
print("\n".join(errors), file=sys.stderr)
|
print("\n".join(errors), file=sys.stderr)
|
||||||
sys.exit("Runtime identity mismatch. See docs/runtime/neitzellib-baseline.md.")
|
sys.exit("Runtime identity mismatch. See docs/runtime/neitzellib-baseline.md.")
|
||||||
print(f"PASS {len(manifest['artifacts'])} runtime artifacts match tested source {manifest['sourceRevision']}; no corrected release version is claimed")
|
print(f"PASS {len(manifest['artifacts'])} runtime artifacts match tested source {manifest['sourceRevision']}")
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ for output in (app,destination/'package-manifest.json',destination/'NeitzelFXDes
|
|||||||
env=dict(os.environ, JAVA_HOME=str(java))
|
env=dict(os.environ, JAVA_HOME=str(java))
|
||||||
def run(cmd): subprocess.run(list(map(str,cmd)),cwd=ROOT,env=env,check=True)
|
def run(cmd): subprocess.run(list(map(str,cmd)),cwd=ROOT,env=env,check=True)
|
||||||
run([java/'bin/java','-version'])
|
run([java/'bin/java','-version'])
|
||||||
run([os.sys.executable,ROOT/'scripts/check-neitzellib-artifact.py'])
|
run([os.sys.executable,ROOT/'scripts/check-neitzellib-artifact.py','--resolve'])
|
||||||
run([ROOT/'mvnw','-B','-ntp','-pl','designer-standalone,designer-target-tools','-am','install'])
|
run([ROOT/'mvnw','-B','-ntp','-pl','designer-standalone,designer-target-tools','-am','install'])
|
||||||
run([ROOT/'mvnw','-B','-ntp','-pl','designer-standalone','org.apache.maven.plugins:maven-dependency-plugin:3.6.1:build-classpath','-DincludeScope=runtime','-Dmdep.outputFile=target/package-classpath.txt'])
|
run([ROOT/'mvnw','-B','-ntp','-pl','designer-standalone','org.apache.maven.plugins:maven-dependency-plugin:3.6.1:build-classpath','-DincludeScope=runtime','-Dmdep.outputFile=target/package-classpath.txt'])
|
||||||
with tempfile.TemporaryDirectory(prefix='designer-package-') as tmp:
|
with tempfile.TemporaryDirectory(prefix='designer-package-') as tmp:
|
||||||
|
|||||||
Reference in New Issue
Block a user