String filePath = glassFishZipFile.getCanonicalPath();
filePath = filePath.replaceAll("\\\\", "/");
archiveName = filePath.substring(filePath.lastIndexOf("/") + 1, filePath.length());
}
FileListerRelative lister = new FileListerRelative(installRoot);
lister.keepEmptyDirectories();
String[] files = lister.getFiles();
List<String> resultFiles1 = Arrays.asList(files);
ArrayList<String> resultFiles = new ArrayList<String>(resultFiles1);
logger.finer("Number of files to be zipped = " + resultFiles.size());