diff --git a/build.gradle b/build.gradle index 6a7cf3e27a..a5b0888a8d 100644 --- a/build.gradle +++ b/build.gradle @@ -176,7 +176,7 @@ subprojects { subproject -> } // enable all compiler warnings; individual projects may customize further - ext.xLintArg = '-Xlint:all,-options' + ext.xLintArg = '-Xlint:all,-options,-processing' [compileJava, compileTestJava]*.options*.compilerArgs = [xLintArg] task checkTestConfigs { @@ -476,9 +476,6 @@ project('spring-integration-jpa') { testRuntime "org.springframework:spring-instrument:$springVersion" } - //Suppress openjpa annotation processor warnings - compileTestJava.options.compilerArgs = ["${xLintArg},-processing"] - tasks.withType(Test).matching {it.name ==~ /(springIo.+)|(test)|(testAll)/}.all { jvmArgs classpath.files.findAll { it.name ==~ /(spring-instrument.+)|(openjpa-\d+\.\d+\.\d+\.jar)/}.collect{"-javaagent:$it" diff --git a/spring-integration-file/src/main/resources/org/springframework/integration/file/config/spring-integration-file-4.3.xsd b/spring-integration-file/src/main/resources/org/springframework/integration/file/config/spring-integration-file-4.3.xsd index a6a3adc3a8..e6bc90b707 100644 --- a/spring-integration-file/src/main/resources/org/springframework/integration/file/config/spring-integration-file-4.3.xsd +++ b/spring-integration-file/src/main/resources/org/springframework/integration/file/config/spring-integration-file-4.3.xsd @@ -460,7 +460,7 @@ Only files matching this regular expression will be picked up by this adapter. Extension used when uploading files. We change it after we know it's uploaded. - This attribute is mutualy exclusive with 'append' since the append is done to the + This attribute is mutually exclusive with 'append' since the append is done to the actual file and not its temporary counterpart. The default value of this attribute (i.e., .writing) is ignored when 'append' is set to true. @@ -487,19 +487,19 @@ Only files matching this regular expression will be picked up by this adapter. - + Specify whether to automatically create the destination directory if it does not yet exist when this adapter is being initialized. The default value is 'true'. If set to 'false' and the directory does - not exist upon initialization, an Exception will be thrown.]]> + not exist upon initialization, an Exception will be thrown. - @@ -600,7 +600,9 @@ Only files matching this regular expression will be picked up by this adapter. - + + Identifies the underlying Spring bean definition (EventDrivenConsumer) + @@ -777,7 +779,7 @@ Only files matching this regular expression will be picked up by this adapter. to the existing file if such file exists, otherwise the new file will be created as usual but, once created, subsequent data will be appended to it. This attribute - is mutualy exclusive with the use of a temporary file, + is mutually exclusive with the use of a temporary file, since append is done to the actual file and not its temporary counterpart. @@ -885,7 +887,7 @@ Only files matching this regular expression will be picked up by this adapter. will compute file name of the remote file (e.g., assuming payload is java.io.File - "payload.getName() + '.transfered'"); + "payload.getName() + '.transferred'"); @@ -913,7 +915,7 @@ Only files matching this regular expression will be picked up by this adapter. to the existing file if such file exists, otherwise the new file will be created as usual but, once created, the subsequent data will be appended to it. This attribute - is mutualy exclusive with the use of a temporary file, + is mutually exclusive with the use of a temporary file, since append is done to the actual file and not its temporary counterpart. The file is closed after each write.