Skip to content
Snippets Groups Projects
Commit 05ccba3b authored by anttil's avatar anttil
Browse files

SWE-22 / SP-1216: revert debug prints

SVN: 31140
parent df90ea47
No related branches found
No related tags found
No related merge requests found
......@@ -7,9 +7,7 @@ task wrapper(type: Wrapper) {
gradleVersion = '1.8'
distributionUrl = "http://svncisd.ethz.ch/repos/cisd/ivy-repository/trunk/gradle/distribution/1.8/gradle-1.8-all.zip"
}
addSource = (sourceCompatibility == org.gradle.api.JavaVersion.VERSION_1_6)
print "Current JVM is "+sourceCompatibility+", explicit ecj source compability: "+addSource
print "Current JVM is "+sourceCompatibility
sourceCompatibility='1.6'
targetCompatibility='1.6'
......@@ -134,13 +132,8 @@ compileJava {
doFirst {
options.forkOptions.with {
executable = 'java'
if (addSource) {
jvmArgs = ['-cp', configurations.ecj.asPath, 'org.eclipse.jdt.internal.compiler.batch.Main',
'-nowarn', '-source', '1.6']
} else {
jvmArgs = ['-cp', configurations.ecj.asPath, 'org.eclipse.jdt.internal.compiler.batch.Main',
'-nowarn']
}
jvmArgs = ['-cp', configurations.ecj.asPath, 'org.eclipse.jdt.internal.compiler.batch.Main',
'-nowarn', '-source', '1.6' ]
}
}
}
......@@ -151,13 +144,8 @@ compileTestJava {
doFirst {
options.forkOptions.with {
executable = 'java'
if (addSource) {
jvmArgs = ['-cp', configurations.ecj.asPath, 'org.eclipse.jdt.internal.compiler.batch.Main',
'-nowarn', '-source', '1.6']
} else {
jvmArgs = ['-cp', configurations.ecj.asPath, 'org.eclipse.jdt.internal.compiler.batch.Main',
'-nowarn']
}
jvmArgs = ['-cp', configurations.ecj.asPath, 'org.eclipse.jdt.internal.compiler.batch.Main',
'-nowarn', '-source', '1.6' ]
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment