More moving

This commit is contained in:
Mike Hearn 2016-11-10 20:13:43 +01:00
parent ce99f354cb
commit e144df953e
10 changed files with 3 additions and 4 deletions

View File

@ -13,7 +13,7 @@
<Root level="info"> <Root level="info">
<AppenderRef ref="Console-Appender"/> <AppenderRef ref="Console-Appender"/>
</Root> </Root>
<Logger name="net.corda. level="info" additivity="false"> <Logger name="net.corda" level="info" additivity="false">
<AppenderRef ref="Console-Appender"/> <AppenderRef ref="Console-Appender"/>
</Logger> </Logger>
</Loggers> </Loggers>

View File

@ -3,10 +3,9 @@ package net.corda.plugins
import org.apache.tools.ant.filters.FixCrLfFilter import org.apache.tools.ant.filters.FixCrLfFilter
import org.gradle.api.DefaultTask import org.gradle.api.DefaultTask
import org.gradle.api.tasks.TaskAction import org.gradle.api.tasks.TaskAction
import java.nio.file.Path import java.nio.file.Path
import java.nio.file.Paths import java.nio.file.Paths
import org.gradle.api.Project
/** /**
* Creates nodes based on the configuration of this task in the gradle configuration DSL. * Creates nodes based on the configuration of this task in the gradle configuration DSL.
* *
@ -67,7 +66,7 @@ class Cordform extends DefaultTask {
*/ */
protected void installRunScript() { protected void installRunScript() {
project.copy { project.copy {
from Cordformation.getPluginFile(project, "net.corda.plugins/runnodes") from Cordformation.getPluginFile(project, "net/corda/plugins/runnodes")
filter { String line -> line.replace("JAR_NAME", Node.JAR_NAME) } 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. // 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")) filter(FixCrLfFilter.class, eol: FixCrLfFilter.CrLf.newInstance("lf"))