@Override
		public void configure(YarnEnvironmentConfigurer environment) throws Exception {
			environment
				.includeLocalSystemEnv(false)
				.withClasspath()
					.entry("./*")
					.useYarnAppClasspath(true);
		}
Use java config.

@author Janne Valkealahti
yarn/yarn/multi-context/src/test/java/org/springframework/yarn/examples/MultiContextJavaConfigTests.java