Skip to content

Commit

Permalink
Fix ssh support in demo
Browse files Browse the repository at this point in the history
  • Loading branch information
gnodet committed Mar 18, 2019
1 parent 05b89e4 commit 1d664b1
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions demo/jline-gogo.bat
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ set "logconf=%DIRNAME%etc\logging.properties"
goto :RUN_LOOP

:EXECUTE_SSH
for %%G in (sshd-common-*.jar) do call:APPEND_TO_CLASSPATH %%G
for %%G in (sshd-core-*.jar) do call:APPEND_TO_CLASSPATH %%G
for %%G in (slf4j-api-*.jar) do call:APPEND_TO_CLASSPATH %%G
for %%G in (slf4j-jdk14-*.jar) do call:APPEND_TO_CLASSPATH %%G
Expand Down
1 change: 1 addition & 0 deletions demo/jline-gogo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ while [ "${1}" != "" ]; do
shift
;;
'ssh' | 'telnet' | 'remote')
cp=${cp}$(find ${TARGETDIR}/lib -name "sshd-common-*.jar" -exec printf :{} ';')
cp=${cp}$(find ${TARGETDIR}/lib -name "sshd-core-*.jar" -exec printf :{} ';')
cp=${cp}$(find ${TARGETDIR}/lib -name "slf4j-api-*.jar" -exec printf :{} ';')
cp=${cp}$(find ${TARGETDIR}/lib -name "slf4j-jdk14-*.jar" -exec printf :{} ';')
Expand Down
5 changes: 5 additions & 0 deletions demo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@
<artifactId>jansi</artifactId>
</dependency>

<dependency>
<groupId>org.apache.sshd</groupId>
<artifactId>sshd-common</artifactId>
</dependency>

<dependency>
<groupId>org.apache.sshd</groupId>
<artifactId>sshd-core</artifactId>
Expand Down
6 changes: 6 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,12 @@
<version>${juniversalchardet.version}</version>
</dependency>

<dependency>
<groupId>org.apache.sshd</groupId>
<artifactId>sshd-common</artifactId>
<version>${sshd.version}</version>
</dependency>

<dependency>
<groupId>org.apache.sshd</groupId>
<artifactId>sshd-core</artifactId>
Expand Down

0 comments on commit 1d664b1

Please sign in to comment.