Start Neitzel FX Designer 0.1.1-SNAPSHOT development
This commit is contained in:
@@ -12,7 +12,7 @@ Configure the application module's Maven compiler plugin (3.14.1 in the qualifie
|
||||
<path>
|
||||
<groupId>de.neitzel.fxdesigner</groupId>
|
||||
<artifactId>designer-model-processor</artifactId>
|
||||
<version>0.1.0</version>
|
||||
<version>0.1.1-SNAPSHOT</version>
|
||||
</path>
|
||||
</annotationProcessorPaths>
|
||||
<compilerArgs>
|
||||
|
||||
@@ -34,7 +34,7 @@ The launcher manifest orders the patched shared Kit classes before upstream Kit.
|
||||
|
||||
`jpackage` adds nested input JARs to its generated host classpath. Worker tools are therefore copied to `Contents/app/tools` after launcher creation; an assembly assertion rejects leaked tool paths. The host package includes no IntelliJ SDK, target application library or test JARs. Target tools, contracts and preview API are supplied separately to the target JVM, which resolves application dependencies from the immutable build snapshot.
|
||||
|
||||
The application reports version `0.1.0`. The macOS bundle uses numeric version `1.0` because this JDK's `jpackage` rejects a zero leading version component. The archive has no Developer ID signature or notarization. Application building still requires its configured JDK, Maven and dependency access; bundling the designer does not make builds offline.
|
||||
The application reports version `0.1.1-SNAPSHOT`. The macOS bundle uses numeric version `1.0` because this JDK's `jpackage` rejects a zero leading version component. The archive has no Developer ID signature or notarization. Application building still requires its configured JDK, Maven and dependency access; bundling the designer does not make builds offline.
|
||||
|
||||
## Automated 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 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).
|
||||
Install the Designer tooling `0.1.1-SNAPSHOT` from this checkout. Published Designer versions are available from the [Gitea Maven registry](https://gitea.neitzel.de/api/packages/konrad/maven), which Maven can use 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
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ These are three separate operations: describe existing Java Models at compile ti
|
||||
|
||||
## Compile-time Model descriptions
|
||||
|
||||
Add `de.neitzel.fxdesigner:designer-model-processor:0.1.0` to Maven compiler `annotationProcessorPaths`, preserving existing processors such as Lombok. Enable annotation processing and select Models with:
|
||||
Add `de.neitzel.fxdesigner:designer-model-processor:0.1.1-SNAPSHOT` to Maven compiler `annotationProcessorPaths`, preserving existing processors such as Lombok. Enable annotation processing and select Models with:
|
||||
|
||||
```xml
|
||||
<compilerArgs>
|
||||
|
||||
@@ -22,7 +22,7 @@ mvn -B -ntp javafx:run
|
||||
|
||||
## 2. Dieselbe FXML im Neitzel Designer öffnen
|
||||
|
||||
Für die Vorschau kommen die Designer-Werkzeuge `0.1.0`, das lokale Plugin und ein **IntelliJ SDK 263.7307.200 auf macOS** hinzu. Der Host nutzt JavaFX/Kit 26; das Ziel verwendet weiterhin JavaFX 27.0.1. Folge der [Plugin-Installation und lokalen Konfiguration](kontakt-tutorial.md#4-das-projekt-mit-dem-designer-verbinden), inklusive `embed.scene.builder=false`. Nutzt du ein separates Maven-Repository, brauchen App-Build, Designer-Build und der in IntelliJ gestartete Prozess dessen Pfad.
|
||||
Für die Vorschau kommen die Designer-Werkzeuge `0.1.1-SNAPSHOT`, das lokale Plugin und ein **IntelliJ SDK 263.7307.200 auf macOS** hinzu. Der Host nutzt JavaFX/Kit 26; das Ziel verwendet weiterhin JavaFX 27.0.1. Folge der [Plugin-Installation und lokalen Konfiguration](kontakt-tutorial.md#4-das-projekt-mit-dem-designer-verbinden), inklusive `embed.scene.builder=false`. Nutzt du ein separates Maven-Repository, brauchen App-Build, Designer-Build und der in IntelliJ gestartete Prozess dessen Pfad.
|
||||
|
||||
1. Öffne `src/main/resources/de/neitzel/contactbook/view/ContactBook.fxml`. Wähle den Editor **Neitzel Designer** und darin **Build and Refresh**. Warte auf den erfolgreichen Build; der gewöhnliche IntelliJ-Build genügt nicht.
|
||||
2. Wähle **Kontaktverwaltung · Beispieldaten** und **Interactive preview**. Anders als die unbefüllte App zeigt das Vorschaufenster `Ada Lovelace` und `Grace Hopper`. Ziehe das Fenster bei Bedarf breiter und höher, damit Schaltflächen und Detailfelder vollständig sichtbar sind. Wähle Ada und probiere die beiden Listen. Tippe einen neuen Namen, klicke **Speichern**, ändere ihn erneut und klicke **Laden**: Nur der Vorschau-Snapshot wird geladen.
|
||||
|
||||
@@ -14,7 +14,7 @@ Die überprüfte Ausgangskombination für dieses Beispiel ist:
|
||||
| Maven | 3.9.11 oder neuer |
|
||||
| JavaFX der Anwendung | 27.0.1 |
|
||||
| NeitzelLib FX | `1.0.6`, aus der Gitea Maven-Registry |
|
||||
| IntelliJ-Plugin | NeitzelFXDesigner `0.1.0`, lokal gebaut |
|
||||
| IntelliJ-Plugin | NeitzelFXDesigner `0.1.1-SNAPSHOT`, 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. 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).
|
||||
|
||||
@@ -67,7 +67,7 @@ The [local settings schema](../../designer-contracts/src/main/resources/schema/l
|
||||
|
||||
## Typed sample providers
|
||||
|
||||
Add `de.neitzel.fxdesigner:designer-preview-api:0.1.0` with test scope, preferably in an opt-in profile. A provider implements `PreviewProvider<Model, ApplicationContext>`; its public no-argument constructor and `open(exampleId)` execute only in the target JVM, after selection. `modelType()` declares the Model contract.
|
||||
Add `de.neitzel.fxdesigner:designer-preview-api:0.1.1-SNAPSHOT` with test scope, preferably in an opt-in profile. A provider implements `PreviewProvider<Model, ApplicationContext>`; its public no-argument constructor and `open(exampleId)` execute only in the target JVM, after selection. `modelType()` declares the Model contract.
|
||||
|
||||
The following is an illustrative fragment: `Person`, `MyApplication` and `createSamplePerson()` belong to your application. Import `PreviewProvider` and `PreviewSession` from `de.neitzel.fxdesigner.preview` and `ApplicationContext` from `de.neitzel.injection`. The complete compiling providers are in NeitzelLib’s `fx-example/src/designer/java/de/neitzel/fx/example/preview`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user