mirror of
https://github.com/corda/corda.git
synced 2025-04-09 04:15:35 +00:00
Can now run nodes via a batch file.
This commit is contained in:
parent
01adc816a1
commit
b469cd5382
@ -67,6 +67,7 @@ class Cordform extends DefaultTask {
|
||||
protected void installRunScript() {
|
||||
project.copy {
|
||||
from Cordformation.getPluginFile(project, "net/corda/plugins/runnodes")
|
||||
from Cordformation.getPluginFile(project, "net/corda/plugins/runnodes.bat")
|
||||
filter { String line -> line.replace("JAR_NAME", Node.JAR_NAME) }
|
||||
// Replaces end of line with lf to avoid issues with the bash interpreter and Windows style line endings.
|
||||
filter(FixCrLfFilter.class, eol: FixCrLfFilter.CrLf.newInstance("lf"))
|
||||
|
@ -0,0 +1,7 @@
|
||||
@echo off
|
||||
|
||||
FOR /R ".\" %%G in (.) DO (
|
||||
Pushd %%G
|
||||
start java -jar corda.jar
|
||||
Popd
|
||||
)
|
Loading…
x
Reference in New Issue
Block a user