gradle-ssh-plugin | Gradle SSH Plugin provides SSH facilities such as command | Plugin library
kandi X-RAY | gradle-ssh-plugin Summary
kandi X-RAY | gradle-ssh-plugin Summary
Gradle SSH Plugin
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of gradle-ssh-plugin
gradle-ssh-plugin Key Features
gradle-ssh-plugin Examples and Code Snippets
Community Discussions
Trending Discussions on gradle-ssh-plugin
QUESTION
Using the Gradle SSH plugin I deploy a .jar
file to another machine.
I then would like to run that jar in a detached screen
session.
This wouldn't be a problem if the application did not require input on STDIN, running screen -dmS screen-name java -jar my.jar
.
I tried to provide the input (beside others approaches) in the following way using a here-string, yet I did not get any of them to work:
...ANSWER
Answered 2021-Jun-11 at 12:31I think your problem is that you are piping the input to the screen command and not actually to the java process. I would do it the following way:
- create a file with your input, something along the lines of
echo "foo" > input.txt
scp
that file to the machine- run the
screen
command and make the java process either read the file directly (if that program can do that) or pipe it properly by running abash
command instead of thejava
command directly. Something along the lines ofscreen -dmS screen-name bash \"cat input.txt | java -jar ...\"
Disclaimer: the above escaping is just approximate to get my point accorss ;-)
QUESTION
I have a project in which I'm working that it is made, among everything, with Java 11+Spring Boot+Gradle.
All of a sudden, when I press play on IntelliJ Idea Ultimate 2019.3 I'm getting the following error.
ANSWER
Answered 2020-Jan-10 at 14:40Given the lack of logging output, you may have a problem with some logging related dependencies. For example, a dependency on commons-logging:commons-logging
can cause problems and should be excluded in favour of org.springframework:spring-jcl
. org.slf4j:jcl-over-slf4j
should be treated similarly.
You can learn if you have either of these dependencies on the classpath using Gradle's dependencyInsight
task:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install gradle-ssh-plugin
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page