Skip to content

Commit ef75bd8

Browse files
committed
Clean up classpath for iajc Ant task
1 parent 66735d0 commit ef75bd8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-aspects/aspects.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ compileTestJava {
5656

5757
ext.sourceCompatibility = project(":spring-core").compileTestJava.sourceCompatibility
5858
ext.targetCompatibility = project(":spring-core").compileTestJava.targetCompatibility
59+
ext.pathSeparator = System.getProperty('path.separator')
5960

6061
doLast{
6162
ant.taskdef(resource: "org/aspectj/tools/ant/taskdefs/aspectjTaskdefs.properties",
@@ -66,8 +67,7 @@ compileTestJava {
6667
destDir: outputDir.absolutePath,
6768
aspectPath: jar.archivePath,
6869
inpath: configurations.ajInpath.asPath,
69-
classpath: sourceSets.test.runtimeClasspath.asPath + jar.archivePath +
70-
System.getProperty("path.separator") + configurations.rt.asPath) {
70+
classpath: sourceSets.test.runtimeClasspath.asPath + pathSeparator + jar.archivePath + pathSeparator + configurations.rt.asPath) {
7171
sourceroots {
7272
sourceSets.test.java.srcDirs.each {
7373
pathelement(location:it.absolutePath)

0 commit comments

Comments
 (0)