From 50ee268bb6278b75d539df4f2e6410da9a25ed8b Mon Sep 17 00:00:00 2001 From: Jim Schaff Date: Wed, 24 Jun 2026 00:42:55 -0400 Subject: [PATCH] Fix MainRecorder invocation in local_build_native.sh MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The native-image-agent recording step passed only 4 arguments to MainRecorder, but MainRecorder requires 5 (sbml_file, vcml_file, sim_name, app_name, output_dir) and otherwise prints usage and exits early — so the local build's recording step silently captured nothing. Add the missing app_name ("unnamed_spatialGeom"), matching build.py's invocation, so recording actually runs (including the moving-boundary path). Co-Authored-By: Claude Opus 4.8 (1M context) --- scripts/local_build_native.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/local_build_native.sh b/scripts/local_build_native.sh index 9d6175d..0d90cc7 100755 --- a/scripts/local_build_native.sh +++ b/scripts/local_build_native.sh @@ -34,6 +34,7 @@ java -agentlib:native-image-agent=config-output-dir=target/recording \ "$ROOT_DIR/vcell-native/src/test/resources/TinySpatialProject_Application0.xml" \ "$ROOT_DIR/vcell-native/src/test/resources/TinySpatialProject_Application0.vcml" \ "Simulation0" \ + "unnamed_spatialGeom" \ "$ROOT_DIR/vcell-native/target/sbml-input" # build vcell-native as native shared object library