Skip to content
This repository has been archived by the owner on Feb 15, 2022. It is now read-only.

Commit

Permalink
add debug flags
Browse files Browse the repository at this point in the history
  • Loading branch information
shemnon committed Jan 13, 2012
1 parent 4255b3c commit 21dc047
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 deletions.
2 changes: 2 additions & 0 deletions flamingo/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,13 @@ private def configurePOM(def pom) {

task testRibbon(type: JavaExec) {
main = 'test.ribbon.BasicCheckRibbon'
debug = Boolean.valueOf(System.getProperty('debug', 'false'))
classpath = sourceSets.test.runtimeClasspath
}

task testRibbonRTL(type: JavaExec) {
main = 'test.ribbon.BasicCheckRibbon'
debug = Boolean.valueOf(System.getProperty('debug', 'false'))
classpath = sourceSets.test.runtimeClasspath
systemProperty "user.language", "iw"
}
2 changes: 2 additions & 0 deletions substance-flamingo/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -130,11 +130,13 @@ private def configurePOM(def pom) {

task testSubstanceRibbon(type: JavaExec) {
main = 'test.substance.ribbon.NewCheckRibbon'
debug = Boolean.valueOf(System.getProperty('debug', 'false'))
classpath = sourceSets.test.runtimeClasspath
}

task testSubstanceRibbonRTL(type: JavaExec) {
main = 'test.substance.ribbon.NewCheckRibbon'
debug = Boolean.valueOf(System.getProperty('debug', 'false'))
classpath = sourceSets.test.runtimeClasspath
systemProperty "user.language", "iw"
}
1 change: 1 addition & 0 deletions substance-swingx/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -125,5 +125,6 @@ private def configurePOM(def pom) {

task testCheckX(type: JavaExec) {
main = 'test.Check'
debug = Boolean.valueOf(System.getProperty('debug', 'false'))
classpath = sourceSets.test.runtimeClasspath
}
11 changes: 2 additions & 9 deletions substance/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -207,19 +207,12 @@ private def configurePOM(def pom) {

task jitterbug(type: JavaExec) {
main = 'tools.jitterbug.JitterbugEditor'
debug = Boolean.valueOf(System.getProperty('debug', 'false'))
classpath = sourceSets.tools.compileClasspath + sourceSets.tools.runtimeClasspath
}

task testCheck(type: JavaExec) {
main = 'test.Check'
debug=true
debug = Boolean.valueOf(System.getProperty('debug', 'true'))
classpath = sourceSets.test.runtimeClasspath
}

task debugCheckX(type: JavaExec) {
main = 'org.swingexplorer.Launcher'
classpath = sourceSets.test.runtimeClasspath + files('C:\\Users\\danno.ferrin\\Downloads\\swexpl.jar')
jvmArgs = ['-javaagent:C:\\Users\\danno.ferrin\\Downloads\\swag.jar', '-Xbootclasspath/a:C:\\Users\\danno.ferrin\\Downloads\\swag.jar']
debug=true
args = ['test.Check']
}

0 comments on commit 21dc047

Please sign in to comment.