diff --git a/jrunner/src/main/java/jrunner/jrunner.java b/jrunner/src/main/java/jrunner/jrunner.java index e397676..0e5a791 100644 --- a/jrunner/src/main/java/jrunner/jrunner.java +++ b/jrunner/src/main/java/jrunner/jrunner.java @@ -39,7 +39,7 @@ public class jrunner { Timestamp tsStart = null; Timestamp tsEnd = null; - msg = "jrunner version 0.41"; + msg = "jrunner version 1.0"; msg = msg + nl + "-scu source jdbc url"; msg = msg + nl + "-scn source username"; msg = msg + nl + "-scp source passowrd"; diff --git a/readme.md b/readme.md index a52182b..026cadd 100644 --- a/readme.md +++ b/readme.md @@ -39,15 +39,23 @@ cd jrunner ## deploy ### using the deploy script (recommended) + +First, create the deployment directory: +``` +sudo mkdir -p /opt/jrunner +``` + +Then deploy: ``` # Deploy to /opt/jrunner (default, creates system-wide symlink) ./deploy.sh # Deploy to custom location (for testing, no symlink) +sudo mkdir -p /opt/jrunner-test ./deploy.sh /opt/jrunner-test ``` -The script builds and deploys in one step. When deploying to the default location (`/opt/jrunner`), it creates a symlink at `/usr/local/bin/jrunner` so you can run `jrunner` from anywhere. +The script builds, extracts to a temporary location, and only updates the target directory after the build succeeds. This ensures your existing deployment stays intact if the build fails. When deploying to `/opt/jrunner`, it creates a symlink at `/usr/local/bin/jrunner`. ### manual deployment ```