org.kie.commons.java.nio.file.Path repositoryRootPath = null;
final Iterator<FileSystem> fsIterator = ioService.getFileSystems().iterator();
if ( fsIterator.hasNext() ) {
final FileSystem fileSystem = fsIterator.next();
System.out.println( "-----FileSystem id--- :" + ( (org.kie.commons.java.nio.base.FileSystemId) fileSystem ).id() );
if ( repositoryName.equalsIgnoreCase( ( (org.kie.commons.java.nio.base.FileSystemId) fileSystem ).id() ) ) {
final Iterator<org.kie.commons.java.nio.file.Path> rootIterator = fileSystem.getRootDirectories().iterator();
if ( rootIterator.hasNext() ) {
repositoryRootPath = rootIterator.next();
System.out.println( "-----rootPath--- :" + repositoryRootPath );
org.kie.commons.java.nio.file.DirectoryStream<org.kie.commons.java.nio.file.Path> paths = ioService