diff --git a/designer-contracts/pom.xml b/designer-contracts/pom.xml index 5139949..36b00fa 100644 --- a/designer-contracts/pom.xml +++ b/designer-contracts/pom.xml @@ -4,7 +4,7 @@ de.neitzel.fxdesigner neitzel-fx-designer - 0.1.0-SNAPSHOT + 0.1.0 designer-contracts diff --git a/designer-core/pom.xml b/designer-core/pom.xml index 662bff0..b56e1cb 100644 --- a/designer-core/pom.xml +++ b/designer-core/pom.xml @@ -4,7 +4,7 @@ de.neitzel.fxdesigner neitzel-fx-designer - 0.1.0-SNAPSHOT + 0.1.0 designer-core diff --git a/designer-core/src/main/java/de/neitzel/fxdesigner/build/BuildRefresh.java b/designer-core/src/main/java/de/neitzel/fxdesigner/build/BuildRefresh.java index 1a25651..e4779bd 100644 --- a/designer-core/src/main/java/de/neitzel/fxdesigner/build/BuildRefresh.java +++ b/designer-core/src/main/java/de/neitzel/fxdesigner/build/BuildRefresh.java @@ -345,11 +345,11 @@ public final class BuildRefresh implements AutoCloseable { List.of( "-DskipTests=true", "-Dmaven.test.skip=false", - "de.neitzel.fxdesigner:designer-maven-plugin:0.1.0-SNAPSHOT:plan", + "de.neitzel.fxdesigner:designer-maven-plugin:0.1.0:plan", "clean", - "de.neitzel.fxdesigner:designer-maven-plugin:0.1.0-SNAPSHOT:dependencies", + "de.neitzel.fxdesigner:designer-maven-plugin:0.1.0:dependencies", "package", - "de.neitzel.fxdesigner:designer-maven-plugin:0.1.0-SNAPSHOT:capture", + "de.neitzel.fxdesigner:designer-maven-plugin:0.1.0:capture", "-Ddesigner.captureDir=" + metadata)); return List.copyOf(command); } diff --git a/designer-core/src/test/java/de/neitzel/fxdesigner/workflow/ConnectedWorkflowContract.java b/designer-core/src/test/java/de/neitzel/fxdesigner/workflow/ConnectedWorkflowContract.java index 7787441..b7be141 100644 --- a/designer-core/src/test/java/de/neitzel/fxdesigner/workflow/ConnectedWorkflowContract.java +++ b/designer-core/src/test/java/de/neitzel/fxdesigner/workflow/ConnectedWorkflowContract.java @@ -22,9 +22,9 @@ public final class ConnectedWorkflowContract { public int run(HostServices host, Path root, Path fixture) throws Exception { var tools = List.of( - root.resolve("designer-target-tools/target/designer-target-tools-0.1.0-SNAPSHOT.jar"), - root.resolve("designer-contracts/target/designer-contracts-0.1.0-SNAPSHOT.jar"), - root.resolve("designer-preview-api/target/designer-preview-api-0.1.0-SNAPSHOT.jar")); + root.resolve("designer-target-tools/target/designer-target-tools-0.1.0.jar"), + root.resolve("designer-contracts/target/designer-contracts-0.1.0.jar"), + root.resolve("designer-preview-api/target/designer-preview-api-0.1.0.jar")); var workflow = new DesignerWorkflow( host, diff --git a/designer-intellij/build.gradle.kts b/designer-intellij/build.gradle.kts index 5297508..3292e0b 100644 --- a/designer-intellij/build.gradle.kts +++ b/designer-intellij/build.gradle.kts @@ -4,7 +4,7 @@ plugins { id("org.jetbrains.intellij.platform") version "2.20.1" } group = "de.neitzel.fxdesigner" -version = "0.1.0-SNAPSHOT" +version = "0.1.0" repositories { mavenLocal { content { includeGroup("de.neitzel.fxdesigner") } } mavenCentral() @@ -20,7 +20,7 @@ dependencies { annotationProcessor(lombok) testCompileOnly(lombok) testAnnotationProcessor(lombok) - implementation("de.neitzel.fxdesigner:designer-kit-ui:0.1.0-SNAPSHOT") + implementation("de.neitzel.fxdesigner:designer-kit-ui:0.1.0") intellijPlatform { local(providers.gradleProperty("ideaHome").orElse(providers.environmentVariable("IDEA_HOME"))) testFramework(TestFrameworkType.Platform) @@ -31,7 +31,7 @@ dependencies { implementation("org.openjfx:javafx-$it:26:$fxPlatform") } testImplementation("junit:junit:4.13.2") - testImplementation("de.neitzel.fxdesigner:designer-core:0.1.0-SNAPSHOT:tests") + testImplementation("de.neitzel.fxdesigner:designer-core:0.1.0:tests") } intellijPlatform { pluginConfiguration { diff --git a/designer-kit-ui/pom.xml b/designer-kit-ui/pom.xml index 4e4c310..af57c43 100644 --- a/designer-kit-ui/pom.xml +++ b/designer-kit-ui/pom.xml @@ -4,7 +4,7 @@ de.neitzel.fxdesigner neitzel-fx-designer - 0.1.0-SNAPSHOT + 0.1.0 designer-kit-ui diff --git a/designer-maven-plugin/pom.xml b/designer-maven-plugin/pom.xml index 660ca7d..ac1bfe5 100644 --- a/designer-maven-plugin/pom.xml +++ b/designer-maven-plugin/pom.xml @@ -4,7 +4,7 @@ de.neitzel.fxdesigner neitzel-fx-designer - 0.1.0-SNAPSHOT + 0.1.0 designer-maven-plugin maven-plugin diff --git a/designer-model-processor/pom.xml b/designer-model-processor/pom.xml index 2a1029d..041e3c6 100644 --- a/designer-model-processor/pom.xml +++ b/designer-model-processor/pom.xml @@ -1,6 +1,6 @@ 4.0.0 - de.neitzel.fxdesignerneitzel-fx-designer0.1.0-SNAPSHOT + de.neitzel.fxdesignerneitzel-fx-designer0.1.0 designer-model-processor 25 diff --git a/designer-preview-api/pom.xml b/designer-preview-api/pom.xml index e37b8b8..7673a54 100644 --- a/designer-preview-api/pom.xml +++ b/designer-preview-api/pom.xml @@ -4,7 +4,7 @@ de.neitzel.fxdesigner neitzel-fx-designer - 0.1.0-SNAPSHOT + 0.1.0 designer-preview-api diff --git a/designer-standalone/pom.xml b/designer-standalone/pom.xml index daa00f0..b8410d0 100644 --- a/designer-standalone/pom.xml +++ b/designer-standalone/pom.xml @@ -4,7 +4,7 @@ de.neitzel.fxdesigner neitzel-fx-designer - 0.1.0-SNAPSHOT + 0.1.0 designer-standalone diff --git a/designer-standalone/src/main/java/de/neitzel/fxdesigner/standalone/Launcher.java b/designer-standalone/src/main/java/de/neitzel/fxdesigner/standalone/Launcher.java index b943e31..d06a28c 100644 --- a/designer-standalone/src/main/java/de/neitzel/fxdesigner/standalone/Launcher.java +++ b/designer-standalone/src/main/java/de/neitzel/fxdesigner/standalone/Launcher.java @@ -9,7 +9,7 @@ public final class Launcher { } if (args.length == 1 && args[0].equals("--version")) { System.out.println( - "Neitzel FX Designer 0.1.0-SNAPSHOT; Java " + "Neitzel FX Designer 0.1.0; Java " + System.getProperty("java.version") + "; runtime " + System.getProperty("java.home")); diff --git a/designer-standalone/src/test/java/de/neitzel/fxdesigner/standalone/WorkerLifecycleSmoke.java b/designer-standalone/src/test/java/de/neitzel/fxdesigner/standalone/WorkerLifecycleSmoke.java index b818f18..facae26 100644 --- a/designer-standalone/src/test/java/de/neitzel/fxdesigner/standalone/WorkerLifecycleSmoke.java +++ b/designer-standalone/src/test/java/de/neitzel/fxdesigner/standalone/WorkerLifecycleSmoke.java @@ -18,7 +18,7 @@ public final class WorkerLifecycleSmoke { List.of("target-tools", "contracts", "preview-api").stream() .map( n -> - root.resolve("designer-" + n + "/target/designer-" + n + "-0.1.0-SNAPSHOT.jar")) + root.resolve("designer-" + n + "/target/designer-" + n + "-0.1.0.jar")) .toList(); for (int i = 0; i < count; i++) { var output = new StringBuffer(); diff --git a/designer-standalone/src/test/java/de/neitzel/fxdesigner/standalone/WorkerOwnerProbe.java b/designer-standalone/src/test/java/de/neitzel/fxdesigner/standalone/WorkerOwnerProbe.java index 55f3672..85e3e6a 100644 --- a/designer-standalone/src/test/java/de/neitzel/fxdesigner/standalone/WorkerOwnerProbe.java +++ b/designer-standalone/src/test/java/de/neitzel/fxdesigner/standalone/WorkerOwnerProbe.java @@ -15,9 +15,9 @@ public final class WorkerOwnerProbe { new DraftOverlay(store.lease(store.state("fixture").lastSuccessful()), List.of()))) { worker.start( List.of( - root.resolve("designer-target-tools/target/designer-target-tools-0.1.0-SNAPSHOT.jar"), - root.resolve("designer-contracts/target/designer-contracts-0.1.0-SNAPSHOT.jar"), - root.resolve("designer-preview-api/target/designer-preview-api-0.1.0-SNAPSHOT.jar")), + root.resolve("designer-target-tools/target/designer-target-tools-0.1.0.jar"), + root.resolve("designer-contracts/target/designer-contracts-0.1.0.jar"), + root.resolve("designer-preview-api/target/designer-preview-api-0.1.0.jar")), s -> {}); Files.writeString(pid, Long.toString(worker.pid())); Thread.sleep(60000); diff --git a/designer-standalone/src/test/java/de/neitzel/fxdesigner/standalone/WorkflowSmoke.java b/designer-standalone/src/test/java/de/neitzel/fxdesigner/standalone/WorkflowSmoke.java index f0f5c3d..6a0a6e5 100644 --- a/designer-standalone/src/test/java/de/neitzel/fxdesigner/standalone/WorkflowSmoke.java +++ b/designer-standalone/src/test/java/de/neitzel/fxdesigner/standalone/WorkflowSmoke.java @@ -32,9 +32,9 @@ public final class WorkflowSmoke { new HostServices.RuntimeInstallation(java, 25))); var tools = List.of( - root.resolve("designer-target-tools/target/designer-target-tools-0.1.0-SNAPSHOT.jar"), - root.resolve("designer-contracts/target/designer-contracts-0.1.0-SNAPSHOT.jar"), - root.resolve("designer-preview-api/target/designer-preview-api-0.1.0-SNAPSHOT.jar")); + root.resolve("designer-target-tools/target/designer-target-tools-0.1.0.jar"), + root.resolve("designer-contracts/target/designer-contracts-0.1.0.jar"), + root.resolve("designer-preview-api/target/designer-preview-api-0.1.0.jar")); try (var host = new StandaloneHost( runtimes, diff --git a/designer-target-tools/pom.xml b/designer-target-tools/pom.xml index 32f87e2..3681281 100644 --- a/designer-target-tools/pom.xml +++ b/designer-target-tools/pom.xml @@ -4,7 +4,7 @@ de.neitzel.fxdesigner neitzel-fx-designer - 0.1.0-SNAPSHOT + 0.1.0 designer-target-tools @@ -25,6 +25,8 @@ de.neitzel.lib fx ${neitzellib.version} + + provided org.junit.jupiter diff --git a/docs/generated-model-metadata.md b/docs/generated-model-metadata.md index 60c630d..f545726 100644 --- a/docs/generated-model-metadata.md +++ b/docs/generated-model-metadata.md @@ -12,7 +12,7 @@ Configure the application module's Maven compiler plugin (3.14.1 in the qualifie de.neitzel.fxdesigner designer-model-processor - 0.1.0-SNAPSHOT + 0.1.0 diff --git a/docs/standalone-distribution.md b/docs/standalone-distribution.md index 7c84dd4..701de61 100644 --- a/docs/standalone-distribution.md +++ b/docs/standalone-distribution.md @@ -30,11 +30,11 @@ This slice is command-line launched. Finder project selection, file associations ## Package boundaries and provenance -The launcher manifest orders the patched shared Kit classes before upstream Kit. Production JARs retain their embedded license/notice resources, the app includes `THIRD-PARTY-NOTICES.md`, and the linked JDK retains its legal files. The package inventory records the source commit and dirty-tree flag, JDK release metadata, architecture and every bundled file hash. It identifies a development artifact, not a published release or a reproducible-build claim. +The launcher manifest orders the patched shared Kit classes before upstream Kit. Production JARs retain their embedded license/notice resources, the app includes `THIRD-PARTY-NOTICES.md`, and the linked JDK retains its legal files. The package inventory records the source commit and dirty-tree flag, JDK release metadata, architecture and every bundled file hash. It identifies the source and contents of the packaged build. `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 version remains `0.1.0-SNAPSHOT`. The macOS bundle uses numeric version `1.0` because this JDK's `jpackage` rejects a zero leading version component; that bundle value is not a product 1.0 release. The archive is a local development distribution, without Developer ID signing or notarization. Public distribution still needs the product license decision, release/provenance review and separately published project-facing tools/runtime artifacts. 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.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. ## Automated qualification diff --git a/docs/user-guide/README.md b/docs/user-guide/README.md index 0222d07..a77dd09 100644 --- a/docs/user-guide/README.md +++ b/docs/user-guide/README.md @@ -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 current artifacts are development snapshots: NeitzelLib `1.0-SNAPSHOT` and Designer tooling `0.1.0-SNAPSHOT`. They must be built/installed locally or obtained from an explicitly provided development build. There is no published stable runtime minimum, public Maven repository or signed/notarized release implied by these instructions. +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). ## Scope and conventions diff --git a/docs/user-guide/generation.md b/docs/user-guide/generation.md index 54d9cdb..068231f 100644 --- a/docs/user-guide/generation.md +++ b/docs/user-guide/generation.md @@ -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-SNAPSHOT` 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.0` to Maven compiler `annotationProcessorPaths`, preserving existing processors such as Lombok. Enable annotation processing and select Models with: ```xml diff --git a/docs/user-guide/kontakt-kurzstart.md b/docs/user-guide/kontakt-kurzstart.md index 2e0d77e..29ff96f 100644 --- a/docs/user-guide/kontakt-kurzstart.md +++ b/docs/user-guide/kontakt-kurzstart.md @@ -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-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. +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. 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. diff --git a/docs/user-guide/kontakt-tutorial.md b/docs/user-guide/kontakt-tutorial.md index 9e3f0a1..8ba01c8 100644 --- a/docs/user-guide/kontakt-tutorial.md +++ b/docs/user-guide/kontakt-tutorial.md @@ -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-SNAPSHOT`, lokal gebautes Entwicklungsartefakt | -| IntelliJ-Plugin | NeitzelFXDesigner `0.1.0-SNAPSHOT`, 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 | 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). diff --git a/docs/user-guide/projects.md b/docs/user-guide/projects.md index 948a302..3facdd8 100644 --- a/docs/user-guide/projects.md +++ b/docs/user-guide/projects.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-SNAPSHOT` with test scope, preferably in an opt-in profile. A provider implements `PreviewProvider`; 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.0` with test scope, preferably in an opt-in profile. A provider implements `PreviewProvider`; 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`. diff --git a/examples/contact-book/pom.xml b/examples/contact-book/pom.xml index 64eb3cd..d0d9338 100644 --- a/examples/contact-book/pom.xml +++ b/examples/contact-book/pom.xml @@ -12,7 +12,7 @@ 25 UTF-8 - 0.1.0-SNAPSHOT + 0.1.0 27.0.1 6.1.3 2.20.1 diff --git a/integration-fixtures/preview/classpath/pom.xml b/integration-fixtures/preview/classpath/pom.xml index 116eafe..bd120a4 100644 --- a/integration-fixtures/preview/classpath/pom.xml +++ b/integration-fixtures/preview/classpath/pom.xml @@ -13,7 +13,7 @@ UTF-8 - 0.1.0-SNAPSHOT + 0.1.0 1.0.6-SNAPSHOT diff --git a/integration-fixtures/preview/modulepath/pom.xml b/integration-fixtures/preview/modulepath/pom.xml index 2f6f172..eaebd6e 100644 --- a/integration-fixtures/preview/modulepath/pom.xml +++ b/integration-fixtures/preview/modulepath/pom.xml @@ -15,7 +15,7 @@ UTF-8 - 0.1.0-SNAPSHOT + 0.1.0 1.0.6-SNAPSHOT diff --git a/pom.xml b/pom.xml index d0d2164..3ebab40 100644 --- a/pom.xml +++ b/pom.xml @@ -5,13 +5,19 @@ 4.0.0 de.neitzel.fxdesigner neitzel-fx-designer - 0.1.0-SNAPSHOT + 0.1.0 pom designer-contractsdesigner-model-processordesigner-preview-api designer-coredesigner-kit-ui designer-standalonedesigner-target-toolsdesigner-maven-plugin + + + gitea-neitzelfxdesigner + https://gitea.neitzel.de/api/packages/konrad/maven + + Neitzel FX Designer Repository foundation for the shared Kit designer and its standalone and IntelliJ hosts. https://gitea.neitzel.de/konrad/NeitzelFXDesigner @@ -27,6 +33,7 @@ 3.5.0 3.16.0 + 3.2.0 3.7.0 3.2.0 3.5.1 @@ -37,7 +44,7 @@ scm:git:ssh://git@gitea.neitzel.de:2222/konrad/NeitzelFXDesigner.git scm:git:ssh://git@gitea.neitzel.de:2222/konrad/NeitzelFXDesigner.git https://gitea.neitzel.de/konrad/NeitzelFXDesigner - HEAD + v0.1.0 org.junit.jupiterjunit-jupiter${junit.version}test @@ -51,6 +58,7 @@ org.apache.maven.pluginsmaven-surefire-plugin${maven.surefire.plugin}false org.apache.maven.pluginsmaven-resources-plugin${maven.resources.plugin} org.apache.maven.pluginsmaven-jar-plugin${maven.jar.plugin} + org.apache.maven.pluginsmaven-deploy-plugin${maven.deploy.plugin} org.apache.maven.pluginsmaven-install-plugin${maven.install.plugin} diff --git a/scripts/check-bootstrap.py b/scripts/check-bootstrap.py index 72668bb..8983aa6 100644 --- a/scripts/check-bootstrap.py +++ b/scripts/check-bootstrap.py @@ -23,11 +23,11 @@ def run(command): wrapper = ROOT / ("mvnw.cmd" if os.name == "nt" else "mvnw") run([sys.executable, ROOT / "scripts/check-neitzellib-artifact.py"]) 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=runtime", "-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=test", "-Dmdep.outputFile=target/runtime-classpath.txt"]) for module in ("contracts", "model-processor", "preview-api", "core", "kit-ui", "standalone", "target-tools", "maven-plugin"): name = "designer-" + module expected = 69 - with zipfile.ZipFile(ROOT / name / "target" / (name + "-0.1.0-SNAPSHOT.jar")) as jar: + with zipfile.ZipFile(ROOT / name / "target" / (name + "-0.1.0.jar")) as jar: classes = [n for n in jar.namelist() if n.endswith(".class")] assert classes, name assert all(int.from_bytes(jar.read(n)[6:8], "big") == expected for n in classes), name diff --git a/scripts/check-connected-workflow.py b/scripts/check-connected-workflow.py index 4df5789..4e1c6a9 100644 --- a/scripts/check-connected-workflow.py +++ b/scripts/check-connected-workflow.py @@ -48,7 +48,7 @@ with tempfile.TemporaryDirectory(prefix="designer-connected-") as temporary: crashes.check() local = fixture / ".neitzel-fx-designer" (local / "runtimes.json").write_text(json.dumps({"schemaVersion":"1.0","runtimes":{"java25":{"build":args.target_java_home,"target":args.target_java_home}}})) - tools = [ROOT / ("designer-" + name) / "target" / ("designer-" + name + "-0.1.0-SNAPSHOT.jar") for name in ("target-tools","contracts","preview-api")] + tools = [ROOT / ("designer-" + name) / "target" / ("designer-" + name + "-0.1.0.jar") for name in ("target-tools","contracts","preview-api")] (local / "host.properties").write_text("configuration=../neitzel-fx-designer.json\ncontext=fixture\nsettings=runtimes.json\nmaven="+str(ROOT/"mvnw")+"\ntools="+os.pathsep.join(map(str,tools))+"\n") run("native-kit-" + mode, [Path(os.environ["JAVA_HOME"]) / "bin/java", "--enable-native-access=ALL-UNNAMED", "-cp", classpath, "de.neitzel.fxdesigner.standalone.KitWorkflowSmoke", local / "host.properties", diff --git a/scripts/check-standalone-package.py b/scripts/check-standalone-package.py index 5e92caa..eb7198a 100644 --- a/scripts/check-standalone-package.py +++ b/scripts/check-standalone-package.py @@ -30,7 +30,7 @@ assert 'Neitzel FX Designer' in subprocess.check_output([launcher,'--help'],env= invalid=subprocess.run([launcher,'--unknown'],env=env,text=True,capture_output=True) assert invalid.returncode==2 and 'Unknown' in invalid.stderr,invalid jars=list((app/'Contents/app').glob('*.jar')) -checks=ROOT/'designer-kit-ui/target/designer-kit-ui-0.1.0-SNAPSHOT-tests.jar' +checks=ROOT/'designer-kit-ui/target/designer-kit-ui-0.1.0-tests.jar' classes=evidence/'agent-classes';classes.mkdir() subprocess.run([a.java_home/'bin/javac','-cp',os.pathsep.join(map(str,[*jars,checks])), '-d',classes, ROOT/'integration-tests/standalone/PackageProbe.java'],check=True) diff --git a/scripts/configure-library-example.py b/scripts/configure-library-example.py index 1b31722..bbc0dce 100644 --- a/scripts/configure-library-example.py +++ b/scripts/configure-library-example.py @@ -24,7 +24,7 @@ if not all((java / "bin" / name).is_file() for name in ("java", "javac")): parser.error("Supply a full application JDK installation") if not maven.is_file() or not os.access(maven, os.X_OK): parser.error("Supply an executable Maven wrapper or Maven installation") -tools = [ROOT / f"designer-{name}/target/designer-{name}-0.1.0-SNAPSHOT.jar" +tools = [ROOT / f"designer-{name}/target/designer-{name}-0.1.0.jar" for name in ("target-tools", "contracts", "preview-api")] if not all(file.is_file() for file in tools): parser.error("Build/install the Designer Maven modules first") diff --git a/scripts/package-standalone.py b/scripts/package-standalone.py index 05cdafe..890d638 100644 --- a/scripts/package-standalone.py +++ b/scripts/package-standalone.py @@ -21,7 +21,7 @@ run([ROOT/'mvnw','-B','-ntp','-pl','designer-standalone','org.apache.maven.plugi with tempfile.TemporaryDirectory(prefix='designer-package-') as tmp: stage=Path(tmp)/'input'; stage.mkdir() # Explicit manifest order: the verified Kit patch must precede upstream Kit. - paths=[ROOT/'designer-standalone/target/designer-standalone-0.1.0-SNAPSHOT.jar'] + paths=[ROOT/'designer-standalone/target/designer-standalone-0.1.0.jar'] deps=[Path(s) for s in (ROOT/'designer-standalone/target/package-classpath.txt').read_text().strip().split(os.pathsep)] paths += sorted(deps,key=lambda f:(0 if f.name.startswith('designer-kit-ui-') else 1,f.name)) for file in paths: @@ -41,7 +41,7 @@ with tempfile.TemporaryDirectory(prefix='designer-package-') as tmp: run([java/'bin/jar','cfm',stage/'launcher.jar',manifest,'-C',empty,'.']) tools=Path(tmp)/'tools'; tools.mkdir() for name in ('target-tools','contracts','preview-api'): - file=ROOT/f'designer-{name}/target/designer-{name}-0.1.0-SNAPSHOT.jar' + file=ROOT/f'designer-{name}/target/designer-{name}-0.1.0.jar' shutil.copy2(file,tools/file.name) shutil.copy2(ROOT/'THIRD-PARTY-NOTICES.md',stage) runtime=Path(tmp)/'runtime' @@ -58,7 +58,7 @@ with tempfile.TemporaryDirectory(prefix='designer-package-') as tmp: assert '/tools/' not in cfg, 'Target tools leaked into the host launcher' inventory={str(f.relative_to(app)):hashlib.sha256(f.read_bytes()).hexdigest() for f in sorted(app.rglob('*')) if f.is_file()} (destination/'package-manifest.json').write_text(json.dumps({'platform':platform.platform(),'architecture':platform.machine(), - 'applicationVersion':'0.1.0-SNAPSHOT','bundleVersion':'1.0', + 'applicationVersion':'0.1.0','bundleVersion':'1.0', 'source':subprocess.check_output(['git','rev-parse','HEAD'],cwd=ROOT,text=True).strip(), 'workingTreeDirty':bool(subprocess.check_output(['git','status','--porcelain'],cwd=ROOT,text=True).strip()), 'javaRelease':(java/'release').read_text(),'files':inventory},indent=2)+'\n') diff --git a/scripts/prepare-fixture-host.py b/scripts/prepare-fixture-host.py index 67bbb3c..d982914 100644 --- a/scripts/prepare-fixture-host.py +++ b/scripts/prepare-fixture-host.py @@ -16,7 +16,7 @@ shutil.copytree(ROOT / "integration-fixtures/preview" / args.mode, destination, local = destination / ".neitzel-fx-designer" local.mkdir() (local / "runtimes.json").write_text(json.dumps({"schemaVersion":"1.0","runtimes":{"java25":{"build":str(args.target_java_home.resolve()),"target":str(args.target_java_home.resolve())}}})) -tools = [ROOT / ("designer-" + name) / "target" / ("designer-" + name + "-0.1.0-SNAPSHOT.jar") +tools = [ROOT / ("designer-" + name) / "target" / ("designer-" + name + "-0.1.0.jar") for name in ("target-tools","contracts","preview-api")] # Properties separators in values do not need escaping; double backslashes do. def prop(value): return str(value).replace("\\", "\\\\") diff --git a/scripts/run-fixture-host.py b/scripts/run-fixture-host.py index 83db178..2c640ab 100644 --- a/scripts/run-fixture-host.py +++ b/scripts/run-fixture-host.py @@ -110,7 +110,7 @@ else: classes.mkdir() checks = base / "plugins/qualification/lib/projection-checks.jar" checks.parent.mkdir(parents=True) - shutil.copyfile(ROOT / "designer-kit-ui/target/designer-kit-ui-0.1.0-SNAPSHOT-tests.jar", checks) + shutil.copyfile(ROOT / "designer-kit-ui/target/designer-kit-ui-0.1.0-tests.jar", checks) jars = [*(args.idea_home / "lib").glob("*.jar"), *(base / "plugins").rglob("*.jar"), *(args.idea_home / "plugins/platform-problemView-plugin").rglob("*.jar")] sources = ROOT / "integration-tests/idea" suite = "Archive"