gradle-execfork-plugin | gradle plugin that lets you define Exec | Plugin library
kandi X-RAY | gradle-execfork-plugin Summary
kandi X-RAY | gradle-execfork-plugin Summary
A gradle plugin that lets you define Exec and JavaExec tasks that run in the background
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-execfork-plugin
gradle-execfork-plugin Key Features
gradle-execfork-plugin Examples and Code Snippets
plugins {
id 'com.github.psxpaul.execfork' version '0.1.13'
}
task startDaemon(type: com.github.psxpaul.task.ExecFork) {
executable = './MainScript.sh'
args = [ '-d', '/foo/bar/data', '-v', '-l', '3' ]
workingDir = "$projectDir/src/mai
Community Discussions
Trending Discussions on gradle-execfork-plugin
QUESTION
I'm developing an application server that relies on two emulators configured as spring boot microservices. We've recently extracted the emulators from the root project into a separate repository, as they're being used by some other projects as well, and this works a little nicer for inter-project maintenance. I would like to be able to run these emulators from the main project root, as opposed to having to check out their repository and run from that directory. We do something like this for our gradle integration tests - we're using ExecFork (https://github.com/psxpaul/gradle-execfork-plugin) to fire up the two processes. The problem here is that the processes die when the build completes.
What I'm looking for is something similar to this, so that I can run e.g. ./gradlew startEmulators
and have both emulators check out the specified version and either block the gradle task (taking up the command window, ctrl-c to stop) or outlive the gradle task. The ability to stop them would be handy as well, but that's a would-like rather than a must-have at this point.
I'll take solutions alternative to gradle too, but preferably nothing too complicated - this needs to be something that I can fairly simply blast out instructions for to the dev team
...ANSWER
Answered 2017-Jul-20 at 19:13The answer ended up being a little janky, but it works. Basically, it looks like this:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install gradle-execfork-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