Hi Steve,
If we're looking at the same code, then spring-nanotrader-service-support/src/main/resources/META-INF/spring/cache/spring-nanotrader-service-support.xml contains the line
<util:properties id="props" location="classpath:/gemfire.properties" />
So Spring-gemfire is trumping whatever you're passing in on the command line. You could do a couple of things:
- Modify this line directly with a file reference to your properties file
- Ensure the directory is on the classpath
- Using Spring's property resolving, parameterize this value and pass your own value in as a system property.
--Jens
P.S. If you're building from the command line, you can avoid executing maven tests by calling maven with 'mvn -DskipTests=true ...' thus avoiding the need to comment out tests.