From 4c43122c337687b04c5d1d58cdb42b59da197a50 Mon Sep 17 00:00:00 2001 From: Costin Leau Date: Mon, 28 Mar 2011 17:33:44 +0300 Subject: [PATCH] SGF-34 + lessen the int port to a xsd:string to support property placeholders --- .../data/gemfire/config/spring-gemfire-1.0.xsd | 5 +---- .../org/springframework/data/gemfire/config/pool-ns.xml | 7 +++++-- src/test/resources/port.properties | 2 ++ 3 files changed, 8 insertions(+), 6 deletions(-) create mode 100644 src/test/resources/port.properties diff --git a/src/main/resources/org/springframework/data/gemfire/config/spring-gemfire-1.0.xsd b/src/main/resources/org/springframework/data/gemfire/config/spring-gemfire-1.0.xsd index 212e1578..9a92af95 100644 --- a/src/main/resources/org/springframework/data/gemfire/config/spring-gemfire-1.0.xsd +++ b/src/main/resources/org/springframework/data/gemfire/config/spring-gemfire-1.0.xsd @@ -743,10 +743,7 @@ The port number of the connection (between 1 and 65535 inclusive). ]]> - - - - + diff --git a/src/test/resources/org/springframework/data/gemfire/config/pool-ns.xml b/src/test/resources/org/springframework/data/gemfire/config/pool-ns.xml index f5b6a3d5..b51bf75d 100644 --- a/src/test/resources/org/springframework/data/gemfire/config/pool-ns.xml +++ b/src/test/resources/org/springframework/data/gemfire/config/pool-ns.xml @@ -4,8 +4,10 @@ xmlns:gfe="http://www.springframework.org/schema/gemfire" xmlns:p="http://www.springframework.org/schema/p" xmlns:util="http://www.springframework.org/schema/util" + xmlns:context="http://www.springframework.org/schema/context" xsi:schemaLocation="http://www.springframework.org/schema/gemfire http://www.springframework.org/schema/gemfire/spring-gemfire.xsd http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd + http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd"> @@ -14,12 +16,13 @@ - + - + + \ No newline at end of file diff --git a/src/test/resources/port.properties b/src/test/resources/port.properties new file mode 100644 index 00000000..66e8f405 --- /dev/null +++ b/src/test/resources/port.properties @@ -0,0 +1,2 @@ +gfe.port=40403 +gfe.port.4=40404 \ No newline at end of file