File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 2
2
3
3
FROM ubuntu:latest
4
4
5
- ARG LAB_VERSION=0.3 -SNAPSHOT
5
+ ARG LAB_VERSION=0.4 -SNAPSHOT
6
6
ENV LAB_VERSION=${LAB_VERSION}
7
7
8
8
USER root:root
Original file line number Diff line number Diff line change @@ -28,15 +28,15 @@ Launch!
28
28
29
29
``` bash
30
30
cd ~ /antlr4-lab
31
- 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
31
+ 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
32
32
```
33
33
34
34
Or to restart if it fails, do:
35
35
36
36
``` bash
37
37
while true
38
38
do
39
- sudo java -cp ~ /.m2/repository/org/antlr/antlr4-lab/0.3 -SNAPSHOT/antlr4-lab-0.3 -SNAPSHOT-complete.jar org.antlr.v4.server.ANTLRHttpServer
39
+ sudo java -cp ~ /.m2/repository/org/antlr/antlr4-lab/0.4 -SNAPSHOT/antlr4-lab-0.4 -SNAPSHOT-complete.jar org.antlr.v4.server.ANTLRHttpServer
40
40
sudo cp /var/log/antlrlab/antlrlab.log /var/log/antlrlab/antlrlab-died.log
41
41
sleep 1
42
42
done
Original file line number Diff line number Diff line change 1
1
while true
2
2
do
3
- sudo java -cp ~ /.m2/repository/org/antlr/antlr4-lab/0.3 -SNAPSHOT/antlr4-lab-0.3 -SNAPSHOT-complete.jar org.antlr.v4.server.ANTLRHttpServer
3
+ sudo java -cp ~ /.m2/repository/org/antlr/antlr4-lab/0.4 -SNAPSHOT/antlr4-lab-0.4 -SNAPSHOT-complete.jar org.antlr.v4.server.ANTLRHttpServer
4
4
sudo cp /var/log/antlrlab/antlrlab.log /var/log/antlrlab/antlrlab-died.log
5
5
sleep 1
6
6
done
You can’t perform that action at this time.
0 commit comments