public static String getCurrentLibPath() {
		return ApplicationContext.class.getProtectionDomain().getCodeSource().getLocation().getPath();
	}
/*.*");
				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