Generate versioned Model metadata and consume it in shared binding discovery
This commit is contained in:
@@ -24,7 +24,7 @@ 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"])
|
||||
for module in ("contracts", "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
|
||||
expected = 69 if module in ("kit-ui", "standalone") else 65
|
||||
with zipfile.ZipFile(ROOT / name / "target" / (name + "-0.1.0-SNAPSHOT.jar")) as jar:
|
||||
@@ -46,7 +46,7 @@ run([sys.executable, ROOT / "scripts/check-connected-workflow.py", "--idea-home"
|
||||
with zipfile.ZipFile(next((ROOT / "designer-intellij/build/distributions").glob("*.zip"))) as plugin:
|
||||
names = plugin.namelist()
|
||||
assert any("javafx-graphics-26-mac" in n for n in names), "Missing host JavaFX implementation"
|
||||
assert not any("designer-target-tools" in n or "designer-preview-api" in n or "designer-maven-plugin" in n or "/fx-1.0" in n for n in names), "Target dependency in IDE host"
|
||||
assert not any("designer-target-tools" in n or "designer-preview-api" in n or "designer-model-processor" in n or "designer-maven-plugin" in n or "/fx-1.0" in n for n in names), "Target dependency in IDE host"
|
||||
for document in [ROOT / "README.md", ROOT / "AGENTS.md", ROOT / "THIRD-PARTY-NOTICES.md", *sorted((ROOT / "docs").rglob("*.md"))]:
|
||||
content = document.read_text(encoding="utf-8")
|
||||
for example in re.findall(r"```json\n(.*?)\n```", content, re.S):
|
||||
|
||||
Reference in New Issue
Block a user