Skip to content

Commit 2d6ce30

Browse files
committed
Merge branch '1.2.x' of github.com:grails/grails-core into 1.2.x
2 parents 9941fae + 6467065 commit 2d6ce30

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

scripts/_GrailsCompile.groovy

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ includeTargets << grailsScript("_GrailsArgParsing")
3232
ant.taskdef (name: 'groovyc', classname : 'org.codehaus.groovy.grails.compiler.GrailsCompiler')
3333
ant.path(id: "grails.compile.classpath", compileClasspath)
3434

35-
compilerPaths = { String classpathId, boolean compilingTests ->
35+
compilerPaths = { String classpathId ->
3636

3737
def excludedPaths = ["views", "i18n", "conf"] // conf gets special handling
3838

@@ -55,10 +55,6 @@ compilerPaths = { String classpathId, boolean compilingTests ->
5555
}
5656

5757
javac(classpathref:classpathId, encoding:"UTF-8", debug:"yes")
58-
if(compilingTests) {
59-
src(path:"${grailsSettings.testSourceDir}/unit")
60-
src(path:"${grailsSettings.testSourceDir}/integration")
61-
}
6258
}
6359

6460
target(setCompilerSettings: "Updates the compile build settings based on args") {
@@ -82,7 +78,7 @@ target(compile : "Implementation of compilation phase") {
8278
encoding:"UTF-8",
8379
verbose: grailsSettings.verboseCompile,
8480
listfiles: grailsSettings.verboseCompile,
85-
compilerPaths.curry(classpathId, false))
81+
compilerPaths.curry(classpathId))
8682
}
8783
catch(Exception e) {
8884
event("StatusFinal", ["Compilation error: ${e.message}"])

0 commit comments

Comments
 (0)