@Override
	protected String calcDistSubPath(String basePath, FileEntry each) {
		String calcDistSubPath = super.calcDistSubPath(basePath, each);
		if (calcDistSubPath.startsWith(JAVA)) {
			return calcDistSubPath.substring(JAVA.length() - 1);
		} else if (calcDistSubPath.startsWith(GROOVY)) {
			return calcDistSubPath.substring(GROOVY.length() - 1);
		} else if (calcDistSubPath.startsWith(RESOURCES)) {
			return calcDistSubPath.substring(RESOURCES.length() - 1);
		}
		return calcDistSubPath;
	}
Check if copy dependencies is successful.

@param results Result of executing command created by {@link #getCopyDependenciesCommand} with OSHI.
ngrinder-controller/src/main/java/org/ngrinder/script/handler/GroovyProjectScriptHandler.java