Skip to content

Commit

Permalink
0.3 -> 0.4 in scripts / readme
Browse files Browse the repository at this point in the history
Signed-off-by: Terence Parr <[email protected]>
  • Loading branch information
parrt committed Jul 28, 2024
1 parent e5e2624 commit de021d7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

FROM ubuntu:latest

ARG LAB_VERSION=0.3-SNAPSHOT
ARG LAB_VERSION=0.4-SNAPSHOT
ENV LAB_VERSION=${LAB_VERSION}

USER root:root
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ Launch!

```bash
cd ~/antlr4-lab
sudo nohup java -cp ~/.m2/repository/org/antlr/antlr4-lab/0.3-SNAPSHOT/antlr4-lab-0.3-SNAPSHOT-complete.jar org.antlr.v4.server.ANTLRHttpServer
sudo nohup java -cp ~/.m2/repository/org/antlr/antlr4-lab/0.4-SNAPSHOT/antlr4-lab-0.4-SNAPSHOT-complete.jar org.antlr.v4.server.ANTLRHttpServer
```

Or to restart if it fails, do:

```bash
while true
do
sudo java -cp ~/.m2/repository/org/antlr/antlr4-lab/0.3-SNAPSHOT/antlr4-lab-0.3-SNAPSHOT-complete.jar org.antlr.v4.server.ANTLRHttpServer
sudo java -cp ~/.m2/repository/org/antlr/antlr4-lab/0.4-SNAPSHOT/antlr4-lab-0.4-SNAPSHOT-complete.jar org.antlr.v4.server.ANTLRHttpServer
sudo cp /var/log/antlrlab/antlrlab.log /var/log/antlrlab/antlrlab-died.log
sleep 1
done
Expand Down
2 changes: 1 addition & 1 deletion launch.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
while true
do
sudo java -cp ~/.m2/repository/org/antlr/antlr4-lab/0.3-SNAPSHOT/antlr4-lab-0.3-SNAPSHOT-complete.jar org.antlr.v4.server.ANTLRHttpServer
sudo java -cp ~/.m2/repository/org/antlr/antlr4-lab/0.4-SNAPSHOT/antlr4-lab-0.4-SNAPSHOT-complete.jar org.antlr.v4.server.ANTLRHttpServer
sudo cp /var/log/antlrlab/antlrlab.log /var/log/antlrlab/antlrlab-died.log
sleep 1
done

0 comments on commit de021d7

Please sign in to comment.