Check NeoJoin view definitions before the build

オープン
#54 コメント 0 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@ZuraKajaia565 がすでに取り組んでいます。

2026年11月4日 から。

評価

この issue はまだ評価されていません。

説明

Context

VsumBuildRequest.java:63 reads viewFiles with read(viewFiles, "view definition", null), so any
file extension is accepted. The only check is for duplicate names. Source.VIEWS exists in
BuildProblem/ProblemReport, but nothing produces it. Reactions are already checked before Maven
runs (ReactionsChecker); views should get the same.

Tasks
  • Add the constant .nj and accept only that extension (analogous to .reactions / .ocl)
  • NeoJoinChecker:
    • parse every file with NeoJoin (NeoJoinStandaloneSetup), using the uploaded and processed
      metamodels as the meta-model path
    • report syntax errors, unresolved import nsURIs and Xbase type errors as
      BuildProblem{source: VIEWS, file, line, column, message}
  • Report duplicate export names / view-type nsURIs across files
  • Run the checker through the same code path in /build, /jar and /validate (#52)
  • Tests:
    • a valid query
    • a syntax error
    • an unknown import
    • a wrong file extension
Acceptance criteria
  • A broken .nj file fails the build before Maven runs, with a problem that points to the file and
    line.
主要言語
Java
スター
0
フォーク
0
平均マージ
8時間 5分
マージ済み PR(30日)
15

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

vitruv-tools/Methodologist-SetupService のほかの issue

vitruv-tools/Methodologist-SetupService の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。