Skip to content

Instantly share code, notes, and snippets.

View stewartbryson's full-sized avatar

Stewart Bryson stewartbryson

View GitHub Profile
@rmoff
rmoff / README.md
Created August 19, 2015 10:00
OBIEE executeXMLQuery web service example
@willis7
willis7 / runWLST.gradle
Created November 1, 2013 12:00
Running a wlst script from gradle.
configurations {
weblogic
}
dependencies {
weblogic "com.oracle.weblogic:wlfullclient:10.3"
}
task runWLST << {
@dkandalov
dkandalov / gist:5510491
Created May 3, 2013 16:11
Executing command in Groovy (using Ant)
def execute(String command, List<String> parameters) {
def ant = new AntBuilder()
ant.exec(outputproperty:"cmdOut",
errorproperty: "cmdErr",
resultproperty:"cmdExit",
failonerror: "true",
executable: command) {
arg(line: parameters.join(" "))
}
[exitCode: ant.project.properties.cmdExit, stderr: ant.project.properties.cmdErr, stdout: ant.project.properties.cmdOut]