File tree 29 files changed +91
-125
lines changed
src/main/java/org/acme/runtime
src/main/java/org/acme/quickstart
src/main/java/org/acme/quickstart
src/main/java/org/acme/shell
src/main/java/org/acme/snake
29 files changed +91
-125
lines changed Original file line number Diff line number Diff line change @@ -25,3 +25,4 @@ target/
25
25
hs_err_pid *
26
26
27
27
.idea
28
+ * .iml
Original file line number Diff line number Diff line change 28
28
<version >0.1</version >
29
29
30
30
<properties >
31
- <aesh .version>2.3</aesh .version>
32
- <readline .version>1.17</readline .version>
31
+ <aesh .version>2.4</aesh .version>
33
32
34
33
<!-- maven plugin versions -->
35
34
<compiler-plugin .version>3.8.0</compiler-plugin .version>
49
48
<artifactId >aesh</artifactId >
50
49
<version >${aesh.version} </version >
51
50
</dependency >
52
- <!--
53
- <dependency>
54
- <groupId>org.aesh</groupId>
55
- <artifactId>aesh-readline</artifactId>
56
- <version>${readline.version}</version>
57
- </dependency>
58
- -->
59
51
</dependencies >
60
52
61
53
<build >
Original file line number Diff line number Diff line change 53
53
</plugins >
54
54
</build >
55
55
<properties >
56
- <project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
57
- <shade-plugin .version>3.2.1</shade-plugin .version>
58
- <readline .version>1.17</readline .version>
59
- <aesh .version>2.3</aesh .version>
60
- <jar-plugin .version>3.1.1</jar-plugin .version>
56
+ <aesh .version>2.4</aesh .version>
61
57
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
62
58
<compiler-plugin .version>3.8.0</compiler-plugin .version>
59
+ <shade-plugin .version>3.2.1</shade-plugin .version>
60
+ <project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
61
+ <jar-plugin .version>3.1.1</jar-plugin .version>
63
62
</properties >
64
63
</project >
Original file line number Diff line number Diff line change 28
28
<version >0.1</version >
29
29
30
30
<properties >
31
- <aesh .version>2.3</aesh .version>
32
- <readline .version>1.17</readline .version>
31
+ <aesh .version>2.4</aesh .version>
33
32
34
33
<!-- maven plugin versions -->
35
34
<compiler-plugin .version>3.8.0</compiler-plugin .version>
47
46
<artifactId >aesh</artifactId >
48
47
<version >${aesh.version} </version >
49
48
</dependency >
50
- <!--
51
- <dependency>
52
- <groupId>org.aesh</groupId>
53
- <artifactId>aesh-readline</artifactId>
54
- <version>${readline.version}</version>
55
- </dependency>
56
- -->
57
49
</dependencies >
58
50
59
51
<build >
Original file line number Diff line number Diff line change 53
53
</plugins >
54
54
</build >
55
55
<properties >
56
- <project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
57
- <shade-plugin .version>3.2.1</shade-plugin .version>
58
- <readline .version>1.17</readline .version>
59
- <aesh .version>2.3</aesh .version>
60
- <jar-plugin .version>3.1.1</jar-plugin .version>
56
+ <aesh .version>2.4</aesh .version>
61
57
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
62
58
<compiler-plugin .version>3.8.0</compiler-plugin .version>
59
+ <shade-plugin .version>3.2.1</shade-plugin .version>
60
+ <project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
61
+ <jar-plugin .version>3.1.1</jar-plugin .version>
63
62
</properties >
64
63
</project >
Original file line number Diff line number Diff line change 28
28
<version >0.1</version >
29
29
30
30
<properties >
31
- <aesh .version>2.3</aesh .version>
32
- <readline .version>1.17</readline .version>
31
+ <aesh .version>2.4</aesh .version>
33
32
34
33
<!-- maven plugin versions -->
35
34
<compiler-plugin .version>3.8.0</compiler-plugin .version>
47
46
<artifactId >aesh</artifactId >
48
47
<version >${aesh.version} </version >
49
48
</dependency >
50
- <!--
51
- <dependency>
52
- <groupId>org.aesh</groupId>
53
- <artifactId>aesh-readline</artifactId>
54
- <version>${readline.version}</version>
55
- </dependency>
56
- -->
57
49
</dependencies >
58
50
59
51
<build >
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ public static class RuntimeCommand implements Command {
42
42
private boolean input ;
43
43
44
44
@ Override
45
- public CommandResult execute (CommandInvocation commandInvocation ) {
45
+ public CommandResult execute (CommandInvocation commandInvocation ) throws InterruptedException {
46
46
if (input ) {
47
47
String answer = commandInvocation .getShell ().readLine ("What is the answer? " );
48
48
commandInvocation .println ("The answer is: " +answer );
Original file line number Diff line number Diff line change 53
53
</plugins >
54
54
</build >
55
55
<properties >
56
- <project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
57
- <shade-plugin .version>3.2.1</shade-plugin .version>
58
- <readline .version>1.17</readline .version>
59
- <aesh .version>2.3</aesh .version>
60
- <jar-plugin .version>3.1.1</jar-plugin .version>
56
+ <readline .version>2.0</readline .version>
57
+ <aesh .version>2.4</aesh .version>
61
58
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
62
59
<compiler-plugin .version>3.8.0</compiler-plugin .version>
60
+ <shade-plugin .version>3.2.1</shade-plugin .version>
61
+ <project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
62
+ <jar-plugin .version>3.1.1</jar-plugin .version>
63
63
</properties >
64
64
</project >
Original file line number Diff line number Diff line change 28
28
<version >0.1</version >
29
29
30
30
<properties >
31
- <aesh .version>2.3 </aesh .version>
32
- <readline .version>1.17 </readline .version>
31
+ <aesh .version>2.4 </aesh .version>
32
+ <readline .version>2.0 </readline .version>
33
33
34
34
<!-- maven plugin versions -->
35
35
<compiler-plugin .version>3.8.0</compiler-plugin .version>
47
47
<artifactId >aesh</artifactId >
48
48
<version >${aesh.version} </version >
49
49
</dependency >
50
- <!--
51
- <dependency>
52
- <groupId>org.aesh</groupId>
53
- <artifactId>aesh-readline</artifactId>
54
- <version>${readline.version}</version>
55
- </dependency>
56
- -->
57
50
</dependencies >
58
51
59
52
<build >
Original file line number Diff line number Diff line change 28
28
<version >0.1</version >
29
29
30
30
<properties >
31
- <aesh .version>2.4-SNAPSHOT</aesh .version>
32
- <readline .version>1.17</readline .version>
31
+ <aesh .version>2.4</aesh .version>
33
32
34
33
<!-- maven plugin versions -->
35
34
<compiler-plugin .version>3.8.0</compiler-plugin .version>
Original file line number Diff line number Diff line change 28
28
<version >0.1</version >
29
29
30
30
<properties >
31
- <readline .version>1.17 </readline .version>
31
+ <readline .version>2.0 </readline .version>
32
32
33
33
<!-- maven plugin versions -->
34
34
<compiler-plugin .version>3.8.0</compiler-plugin .version>
45
45
<dependencies >
46
46
<dependency >
47
47
<groupId >org.aesh</groupId >
48
- <artifactId >aesh- readline</artifactId >
48
+ <artifactId >readline</artifactId >
49
49
<version >${readline.version} </version >
50
50
</dependency >
51
51
<dependency >
52
52
<groupId >org.aesh</groupId >
53
- <artifactId >aesh- terminal-ssh</artifactId >
53
+ <artifactId >terminal-ssh</artifactId >
54
54
<version >${readline.version} </version >
55
55
</dependency >
56
56
<dependency >
Original file line number Diff line number Diff line change 53
53
</plugins >
54
54
</build >
55
55
<properties >
56
- <project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
57
- <shade-plugin .version>3.2.1</shade-plugin .version>
58
- <readline .version>1.17</readline .version>
59
- <jar-plugin .version>3.1.1</jar-plugin .version>
60
- <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
56
+ <readline .version>2.0</readline .version>
57
+ <maven .compiler.target>1.8</maven .compiler.target>
61
58
<maven .compiler.source>1.8</maven .compiler.source>
59
+ <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
62
60
<compiler-plugin .version>3.8.0</compiler-plugin .version>
63
- <maven .compiler.target>1.8</maven .compiler.target>
61
+ <shade-plugin .version>3.2.1</shade-plugin .version>
62
+ <project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
63
+ <jar-plugin .version>3.1.1</jar-plugin .version>
64
64
</properties >
65
65
</project >
Original file line number Diff line number Diff line change 28
28
<version >0.1</version >
29
29
30
30
<properties >
31
- <readline .version>1.17 </readline .version>
31
+ <readline .version>2.0 </readline .version>
32
32
33
33
<!-- maven plugin versions -->
34
34
<compiler-plugin .version>3.8.0</compiler-plugin .version>
45
45
<dependencies >
46
46
<dependency >
47
47
<groupId >org.aesh</groupId >
48
- <artifactId >aesh- readline</artifactId >
48
+ <artifactId >readline</artifactId >
49
49
<version >${readline.version} </version >
50
50
</dependency >
51
51
Original file line number Diff line number Diff line change 30
30
import org .aesh .readline .terminal .formatting .TerminalCharacter ;
31
31
import org .aesh .readline .terminal .formatting .TerminalColor ;
32
32
import org .aesh .readline .tty .terminal .TerminalConnection ;
33
+ import org .aesh .readline .util .LoggerUtil ;
33
34
import org .aesh .terminal .Connection ;
34
35
import org .aesh .terminal .tty .Signal ;
35
- import org .aesh .utils .ANSI ;
36
- import org .aesh .utils .Config ;
37
- import org .aesh .readline .util .LoggerUtil ;
36
+ import org .aesh .terminal .utils .ANSI ;
37
+ import org .aesh .terminal .utils .Config ;
38
38
39
39
import java .io .IOException ;
40
40
import java .util .ArrayList ;
Original file line number Diff line number Diff line change 53
53
</plugins >
54
54
</build >
55
55
<properties >
56
- <project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
57
- <shade-plugin .version>3.2.1</shade-plugin .version>
58
- <readline .version>1.17</readline .version>
59
- <jar-plugin .version>3.1.1</jar-plugin .version>
60
- <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
56
+ <readline .version>2.0</readline .version>
57
+ <maven .compiler.target>1.8</maven .compiler.target>
61
58
<maven .compiler.source>1.8</maven .compiler.source>
59
+ <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
62
60
<compiler-plugin .version>3.8.0</compiler-plugin .version>
63
- <maven .compiler.target>1.8</maven .compiler.target>
61
+ <shade-plugin .version>3.2.1</shade-plugin .version>
62
+ <project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
63
+ <jar-plugin .version>3.1.1</jar-plugin .version>
64
64
</properties >
65
65
</project >
Original file line number Diff line number Diff line change 28
28
<version >0.1</version >
29
29
30
30
<properties >
31
- <readline .version>1.17 </readline .version>
31
+ <readline .version>2.0 </readline .version>
32
32
33
33
<!-- maven plugin versions -->
34
34
<compiler-plugin .version>3.8.0</compiler-plugin .version>
45
45
<dependencies >
46
46
<dependency >
47
47
<groupId >org.aesh</groupId >
48
- <artifactId >aesh- readline</artifactId >
48
+ <artifactId >readline</artifactId >
49
49
<version >${readline.version} </version >
50
50
</dependency >
51
51
Original file line number Diff line number Diff line change 24
24
import org .aesh .readline .tty .terminal .TerminalConnection ;
25
25
import org .aesh .terminal .Connection ;
26
26
import org .aesh .terminal .tty .Signal ;
27
- import org .aesh .utils .Config ;
27
+ import org .aesh .terminal . utils .Config ;
28
28
29
29
import java .io .IOException ;
30
30
import java .util .function .Consumer ;
Original file line number Diff line number Diff line change 53
53
</plugins >
54
54
</build >
55
55
<properties >
56
- <project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
57
- <shade-plugin .version>3.2.1</shade-plugin .version>
58
- <readline .version>1.17</readline .version>
59
- <jar-plugin .version>3.1.1</jar-plugin .version>
60
- <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
56
+ <readline .version>2.0</readline .version>
57
+ <maven .compiler.target>1.8</maven .compiler.target>
61
58
<maven .compiler.source>1.8</maven .compiler.source>
59
+ <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
62
60
<compiler-plugin .version>3.8.0</compiler-plugin .version>
63
- <maven .compiler.target>1.8</maven .compiler.target>
61
+ <shade-plugin .version>3.2.1</shade-plugin .version>
62
+ <project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
63
+ <jar-plugin .version>3.1.1</jar-plugin .version>
64
64
</properties >
65
65
</project >
Original file line number Diff line number Diff line change 28
28
<version >0.1</version >
29
29
30
30
<properties >
31
- <readline .version>1.17 </readline .version>
31
+ <readline .version>2.0 </readline .version>
32
32
33
33
<!-- maven plugin versions -->
34
34
<compiler-plugin .version>3.8.0</compiler-plugin .version>
45
45
<dependencies >
46
46
<dependency >
47
47
<groupId >org.aesh</groupId >
48
- <artifactId >aesh- readline</artifactId >
48
+ <artifactId >readline</artifactId >
49
49
<version >${readline.version} </version >
50
50
</dependency >
51
51
<dependency >
52
52
<groupId >org.aesh</groupId >
53
- <artifactId >aesh- terminal-ssh</artifactId >
53
+ <artifactId >terminal-ssh</artifactId >
54
54
<version >${readline.version} </version >
55
55
</dependency >
56
56
<dependency >
Original file line number Diff line number Diff line change 53
53
</plugins >
54
54
</build >
55
55
<properties >
56
- <shade-plugin .version>3.2.1</ shade-plugin .version>
56
+ <readline .version>2.0</ readline .version>
57
57
<netty .version>4.0.31.Final</netty .version>
58
- <jar-plugin .version>3.1.1</jar-plugin .version>
59
- <compiler-plugin .version>3.8.0</compiler-plugin .version>
60
- <readline .version>1.17</readline .version>
61
58
<maven .compiler.target>1.8</maven .compiler.target>
62
- <project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
63
- <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
64
59
<maven .compiler.source>1.8</maven .compiler.source>
60
+ <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
61
+ <compiler-plugin .version>3.8.0</compiler-plugin .version>
62
+ <shade-plugin .version>3.2.1</shade-plugin .version>
63
+ <project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
64
+ <jar-plugin .version>3.1.1</jar-plugin .version>
65
65
</properties >
66
66
</project >
Original file line number Diff line number Diff line change 28
28
<version >0.1</version >
29
29
30
30
<properties >
31
- <readline .version>1.17 </readline .version>
31
+ <readline .version>2.0 </readline .version>
32
32
33
33
<!-- maven plugin versions -->
34
34
<compiler-plugin .version>3.8.0</compiler-plugin .version>
46
46
<dependencies >
47
47
<dependency >
48
48
<groupId >org.aesh</groupId >
49
- <artifactId >aesh- readline</artifactId >
49
+ <artifactId >readline</artifactId >
50
50
<version >${readline.version} </version >
51
51
</dependency >
52
52
<dependency >
53
53
<groupId >org.aesh</groupId >
54
- <artifactId >aesh- terminal-telnet</artifactId >
54
+ <artifactId >terminal-telnet</artifactId >
55
55
<version >${readline.version} </version >
56
56
</dependency >
57
57
<dependency >
You can’t perform that action at this time.
0 commit comments