Files
rudi a1b1273022
Build and Test j3270 / Build JAR & Run Tests (push) Failing after 2m24s
Fix gradle and add workflows
2026-08-20 18:24:35 -04:00

17 lines
481 B
Bash
Executable File

#!/bin/bash
# Launch j3270 - Java TN3270 Terminal Emulator
# Usage: ./run.sh [host] [port] [model]
# Example: ./run.sh mainframe.example.com 23 4
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
BUILD_DIR="$SCRIPT_DIR/build"
# Build if jar is missing or rebuild requested
if [ ! -f "$BUILD_DIR/j3270.jar" ]; then
"$SCRIPT_DIR/build_all.sh"
fi
exec java -Dapple.laf.useScreenMenuBar=true \
-Dapple.awt.application.name=j3270 \
-jar "$BUILD_DIR/j3270.jar" "$@"