From 77de5f6d937edb5ea6165e28c04cf6019c7205a4 Mon Sep 17 00:00:00 2001 From: Oleg Zhurakousky Date: Fri, 8 Jul 2011 10:07:42 -0400 Subject: [PATCH] INT-1965 fixed XSDs in FTP and SFTP modules to make sure they are PropertyPlaceholder compatible (e.g., xsd:string instead of xsd:boolean) --- .../integration/ftp/config/spring-integration-ftp-2.0.xsd | 6 +++--- .../sftp/config/spring-integration-sftp-2.0.xsd | 8 ++++---- .../config/InboundChannelAdapterParserTests-context.xml | 4 +++- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/spring-integration-ftp/src/main/resources/org/springframework/integration/ftp/config/spring-integration-ftp-2.0.xsd b/spring-integration-ftp/src/main/resources/org/springframework/integration/ftp/config/spring-integration-ftp-2.0.xsd index d484bab46e..4715bb9010 100644 --- a/spring-integration-ftp/src/main/resources/org/springframework/integration/ftp/config/spring-integration-ftp-2.0.xsd +++ b/spring-integration-ftp/src/main/resources/org/springframework/integration/ftp/config/spring-integration-ftp-2.0.xsd @@ -165,14 +165,14 @@ endpoint itself is a Polling Consumer for a channel with a queue. - + Tells this adapter if local directory must be auto-created if it doesn''t exist. Default is TRUE. - + Specify whether to delete the remote source file after copying. @@ -201,7 +201,7 @@ endpoint itself is a Polling Consumer for a channel with a queue. ]]> - + - + - + - + Tells this adapter if local directory must be auto-created if it doesn''t exist. Default is TRUE. - + Specify whether to delete the remote source file after copying. diff --git a/spring-integration-sftp/src/test/java/org/springframework/integration/sftp/config/InboundChannelAdapterParserTests-context.xml b/spring-integration-sftp/src/test/java/org/springframework/integration/sftp/config/InboundChannelAdapterParserTests-context.xml index 1f1f4471f6..90fb7372d3 100644 --- a/spring-integration-sftp/src/test/java/org/springframework/integration/sftp/config/InboundChannelAdapterParserTests-context.xml +++ b/spring-integration-sftp/src/test/java/org/springframework/integration/sftp/config/InboundChannelAdapterParserTests-context.xml @@ -17,6 +17,8 @@ http://www.springframework.org/schema/lang http://www.springframework.org/schema/lang/spring-lang-3.0.xsd http://www.springframework.org/schema/integration/sftp http://www.springframework.org/schema/integration/sftp/spring-integration-sftp-2.0.xsd"> + + @@ -45,7 +47,7 @@ remote-file-separator="." temporary-file-suffix=".bar" comparator="comparator" - delete-remote-files="false"> + delete-remote-files="${delete.remote.files}">