protected Home resolveHome() {
		if (StringUtils.isNotBlank(System.getProperty("unit-test"))) {
			final String tempDir = System.getProperty("java.io.tmpdir");
			final File tmpHome = new File(tempDir, ".ngrinder");
			if (tmpHome.mkdirs()) {
				LOG.info("{} is created", tmpHome.getPath());
			}
			try {
				FileUtils.forceDeleteOnExit(tmpHome);
			} catch (IOException e) {
				LOG.error("Error while setting forceDeleteOnExit on {}", tmpHome);
			}
			return new Home(tmpHome);
		}

		File homeDirectory = new File(getUserHome());
		return new Home(homeDirectory);
	}
/*.*");
				for (Resource resource : resources) {
					String scriptTemplatePath = home.getScriptTemplateDirectory().getAbsolutePath();
					scriptTemplatePath += getSubPath(PATH_SCRIPT_TEMPLATE_DIRECTORY, resource.getURL().getPath());
					copyResourceToFile(resource, new File(scriptTemplatePath));
				}
			} catch (IOException e) {
				throw new NGrinderRuntimeException("Error while copying script templates.", e);
			}
		}
	}

	public File getHomeScriptTemplateDirectory() {
		File scriptTemplateDirectory = home.getScriptTemplateDirectory();
		if (!scriptTemplateDirectory.exists()) {
			copyScriptTemplates();
		}
		return scriptTemplateDirectory;
	}

	/**
Resolve nGrinder home path.

@return resolved home
ngrinder-controller/src/main/java/org/ngrinder/infra/config/Config.java