Permalink
Browse files

removed vfs, moved it to kie-commons and renamed it to nio2 backport …

…(true origin)

 - we will miss you vfs ;)
  • Loading branch information...
1 parent 3437b7a commit 31596ae293ec1da8ec200085596c37381c20a6ea @porcelli porcelli committed Nov 29, 2012
Showing with 116 additions and 20,527 deletions.
  1. +35 −70 pom.xml
  2. +2 −2 uberfire-backend/uberfire-backend-api/pom.xml
  3. +17 −17 uberfire-backend/uberfire-backend-api/src/main/java/org/uberfire/backend/vfs/VFSService.java
  4. +1 −1 uberfire-backend/uberfire-backend-api/src/main/java/org/uberfire/backend/vfs/VFSTempUtil.java
  5. +2 −2 ...e-backend/uberfire-backend-api/src/main/java/org/uberfire/backend/vfs/impl/BasicAttributesVO.java
  6. +2 −2 ...backend/uberfire-backend-api/src/main/java/org/uberfire/backend/vfs/impl/DirectoryStreamImpl.java
  7. +1 −1 uberfire-backend/uberfire-backend-api/src/main/resources/org/uberfire/UberfireBackend.gwt.xml
  8. +2 −2 uberfire-backend/uberfire-backend-server/pom.xml
  9. +25 −25 ...kend/uberfire-backend-server/src/main/java/org/uberfire/backend/server/VFSServicesServerImpl.java
  10. +1 −1 ...kend/uberfire-backend-server/src/main/java/org/uberfire/backend/server/WorkbenchServicesImpl.java
  11. +8 −8 uberfire-distro/pom.xml
  12. +2 −2 uberfire-security/uberfire-security-api/pom.xml
  13. +1 −1 ...curity/uberfire-security-api/src/main/resources/org/uberfire/security/UberfireSecurityAPI.gwt.xml
  14. +2 −2 uberfire-security/uberfire-security-server/pom.xml
  15. +6 −6 uberfire-showcase/uberfire-webapp/pom.xml
  16. +2 −2 uberfire-showcase/uberfire-webapp/src/main/java/org/uberfire/backend/server/impl/AppSetup.java
  17. +3 −0 ...-webapp/src/main/resources/META-INF/services/org.kie.commons.java.nio.file.spi.FileSystemProvider
  18. +0 −3 ...ire-webapp/src/main/resources/META-INF/services/org.uberfire.java.nio.file.spi.FileSystemProvider
  19. +0 −14 uberfire-vfs/.gitignore
  20. +0 −20 uberfire-vfs/pom.xml
  21. +0 −14 uberfire-vfs/uberfire-vfs-api/.gitignore
  22. +0 −37 uberfire-vfs/uberfire-vfs-api/pom.xml
  23. +0 −119 uberfire-vfs/uberfire-vfs-api/src/main/java/org/uberfire/java/nio/file/FileSystems.java
  24. +0 −108 uberfire-vfs/uberfire-vfs-api/src/main/java/org/uberfire/java/nio/file/FileTreeWalker.java
  25. +0 −1,101 uberfire-vfs/uberfire-vfs-api/src/main/java/org/uberfire/java/nio/file/Files.java
  26. +0 −78 uberfire-vfs/uberfire-vfs-api/src/main/java/org/uberfire/java/nio/file/Paths.java
  27. +0 −66 uberfire-vfs/uberfire-vfs-api/src/main/java/org/uberfire/java/nio/file/SimpleFileVisitor.java
  28. +0 −21 uberfire-vfs/uberfire-vfs-api/src/main/java/org/uberfire/java/nio/file/StandardCopyOption.java
  29. +0 −116 uberfire-vfs/uberfire-vfs-api/src/main/java/org/uberfire/java/nio/file/api/FileSystemProviders.java
  30. +0 −59 uberfire-vfs/uberfire-vfs-api/src/test/java/org/uberfire/java/nio/file/AbstractBaseTest.java
  31. +0 −51 uberfire-vfs/uberfire-vfs-api/src/test/java/org/uberfire/java/nio/file/FileSystemProvidersTest.java
  32. +0 −127 uberfire-vfs/uberfire-vfs-api/src/test/java/org/uberfire/java/nio/file/FileSystemsTest.java
  33. +0 −369 uberfire-vfs/uberfire-vfs-api/src/test/java/org/uberfire/java/nio/file/FileTreeWalkerTest.java
  34. +0 −400 uberfire-vfs/uberfire-vfs-api/src/test/java/org/uberfire/java/nio/file/FileUtilityMethodsTest.java
  35. +0 −1,093 uberfire-vfs/uberfire-vfs-api/src/test/java/org/uberfire/java/nio/file/FilesTest.java
  36. +0 −311 uberfire-vfs/uberfire-vfs-api/src/test/java/org/uberfire/java/nio/file/FilesUnsupportedOpsTest.java
  37. +0 −122 uberfire-vfs/uberfire-vfs-api/src/test/java/org/uberfire/java/nio/file/PathsTest.java
  38. +0 −227 uberfire-vfs/uberfire-vfs-api/src/test/java/org/uberfire/java/nio/file/SimpleFileVisitorTest.java
  39. +0 −2 ...re-vfs-api/src/test/resources/META-INF/services/org.uberfire.java.nio.file.spi.FileSystemProvider
  40. +0 −14 uberfire-vfs/uberfire-vfs-impls/.gitignore
  41. +0 −35 uberfire-vfs/uberfire-vfs-impls/pom.xml
  42. +0 −14 uberfire-vfs/uberfire-vfs-impls/uberfire-vfs-eclipse/.gitignore
  43. +0 −33 uberfire-vfs/uberfire-vfs-impls/uberfire-vfs-eclipse/pom.xml
  44. +0 −73 ...e-vfs-impls/uberfire-vfs-eclipse/src/main/java/org/uberfire/java/nio/fs/base/EclipsePathImpl.java
  45. +0 −75 ...s-impls/uberfire-vfs-eclipse/src/main/java/org/uberfire/java/nio/fs/eclipse/EclipseFileStore.java
  46. +0 −113 ...-impls/uberfire-vfs-eclipse/src/main/java/org/uberfire/java/nio/fs/eclipse/EclipseFileSystem.java
  47. +0 −384 ...berfire-vfs-eclipse/src/main/java/org/uberfire/java/nio/fs/eclipse/EclipseFileSystemProvider.java
  48. +0 −1 ...fs-eclipse/src/test/resources/META-INF/services/org.uberfire.java.nio.file.spi.FileSystemProvider
  49. +0 −14 uberfire-vfs/uberfire-vfs-impls/uberfire-vfs-fs/.gitignore
  50. +0 −35 uberfire-vfs/uberfire-vfs-impls/uberfire-vfs-fs/pom.xml
  51. +0 −113 ...re-vfs-impls/uberfire-vfs-fs/src/main/java/org/uberfire/java/nio/fs/file/BaseSimpleFileStore.java
  52. +0 −136 ...e-vfs-impls/uberfire-vfs-fs/src/main/java/org/uberfire/java/nio/fs/file/BaseSimpleFileSystem.java
  53. +0 −640 ...s-impls/uberfire-vfs-fs/src/main/java/org/uberfire/java/nio/fs/file/SimpleFileSystemProvider.java
  54. +0 −51 ...re-vfs-impls/uberfire-vfs-fs/src/main/java/org/uberfire/java/nio/fs/file/SimpleUnixFileStore.java
  55. +0 −95 ...e-vfs-impls/uberfire-vfs-fs/src/main/java/org/uberfire/java/nio/fs/file/SimpleUnixFileSystem.java
  56. +0 −94 ...vfs-impls/uberfire-vfs-fs/src/main/java/org/uberfire/java/nio/fs/file/SimpleWindowsFileStore.java
  57. +0 −105 ...fs-impls/uberfire-vfs-fs/src/main/java/org/uberfire/java/nio/fs/file/SimpleWindowsFileSystem.java
  58. +0 −473 ...-vfs-fs/src/test/java/org/uberfire/java/nio/fs/file/SimpleFileSystemProviderAttrsRelatedTest.java
  59. +0 −956 ...pls/uberfire-vfs-fs/src/test/java/org/uberfire/java/nio/fs/file/SimpleFileSystemProviderTest.java
  60. +0 −52 ...rfire-vfs-fs/src/test/java/org/uberfire/java/nio/fs/file/SimpleFileSystemProviderWindowsTest.java
  61. +0 −124 ...fs-impls/uberfire-vfs-fs/src/test/java/org/uberfire/java/nio/fs/file/SimpleUnixFileStoreTest.java
  62. +0 −116 ...s-impls/uberfire-vfs-fs/src/test/java/org/uberfire/java/nio/fs/file/SimpleUnixFileSystemTest.java
  63. +0 −145 ...impls/uberfire-vfs-fs/src/test/java/org/uberfire/java/nio/fs/file/SimpleWindowsFileStoreTest.java
  64. +0 −119 ...mpls/uberfire-vfs-fs/src/test/java/org/uberfire/java/nio/fs/file/SimpleWindowsFileSystemTest.java
  65. +0 −14 uberfire-vfs/uberfire-vfs-impls/uberfire-vfs-jgit/.gitignore
  66. +0 −76 uberfire-vfs/uberfire-vfs-impls/uberfire-vfs-jgit/pom.xml
  67. +0 −131 ...fs-impls/uberfire-vfs-jgit/src/main/java/org/uberfire/java/nio/fs/jgit/JGitFileAttributeView.java
  68. +0 −86 ...e-vfs-impls/uberfire-vfs-jgit/src/main/java/org/uberfire/java/nio/fs/jgit/JGitFileAttributes.java
  69. +0 −130 ...erfire-vfs-impls/uberfire-vfs-jgit/src/main/java/org/uberfire/java/nio/fs/jgit/JGitFileStore.java
  70. +0 −290 ...rfire-vfs-impls/uberfire-vfs-jgit/src/main/java/org/uberfire/java/nio/fs/jgit/JGitFileSystem.java
  71. +0 −909 ...s-impls/uberfire-vfs-jgit/src/main/java/org/uberfire/java/nio/fs/jgit/JGitFileSystemProvider.java
  72. +0 −56 ...-vfs/uberfire-vfs-impls/uberfire-vfs-jgit/src/main/java/org/uberfire/java/nio/fs/jgit/JGitOp.java
  73. +0 −125 ...berfire-vfs-impls/uberfire-vfs-jgit/src/main/java/org/uberfire/java/nio/fs/jgit/JGitPathImpl.java
  74. +0 −863 ...erfire-vfs-impls/uberfire-vfs-jgit/src/main/java/org/uberfire/java/nio/fs/jgit/util/JGitUtil.java
  75. +0 −19 uberfire-vfs/uberfire-vfs-impls/uberfire-vfs-jgit/src/test/java/logback-test.xml
  76. +0 −111 ...re-vfs-impls/uberfire-vfs-jgit/src/test/java/org/uberfire/java/nio/fs/jgit/AbstractTestInfra.java
  77. +0 −74 ...ire-vfs-jgit/src/test/java/org/uberfire/java/nio/fs/jgit/JGitFileSystemProviderAsDefaultTest.java
  78. +0 −376 ...uberfire-vfs-jgit/src/test/java/org/uberfire/java/nio/fs/jgit/JGitFileSystemProviderCpMvTest.java
  79. +0 −965 ...pls/uberfire-vfs-jgit/src/test/java/org/uberfire/java/nio/fs/jgit/JGitFileSystemProviderTest.java
  80. +0 −146 ...vfs-jgit/src/test/java/org/uberfire/java/nio/fs/jgit/JGitFileSystemProviderUnsupportedOpTest.java
  81. +0 −331 ...e-vfs-impls/uberfire-vfs-jgit/src/test/java/org/uberfire/java/nio/fs/jgit/JGitFileSystemTest.java
  82. +0 −241 ...berfire-vfs-impls/uberfire-vfs-jgit/src/test/java/org/uberfire/java/nio/fs/jgit/JGitPathTest.java
  83. +0 −95 ...berfire-vfs-impls/uberfire-vfs-jgit/src/test/java/org/uberfire/java/nio/fs/jgit/JGitUtilTest.java
  84. +0 −92 ...impls/uberfire-vfs-jgit/src/test/java/org/uberfire/java/nio/fs/jgit/NewProviderDefineDirTest.java
  85. +0 −67 ...-impls/uberfire-vfs-jgit/src/test/java/org/uberfire/java/nio/fs/jgit/NewProviderInstanceTest.java
  86. +0 −73 ...vfs/uberfire-vfs-impls/uberfire-vfs-jgit/src/test/java/org/uberfire/java/nio/fs/jgit/URITest.java
  87. +0 −15 uberfire-vfs/uberfire-vfs-model/.gitignore
  88. +0 −53 uberfire-vfs/uberfire-vfs-model/pom.xml
  89. +0 −1,400 uberfire-vfs/uberfire-vfs-model/src/main/java/org/apache/commons/io/FilenameUtils.java
  90. +0 −256 uberfire-vfs/uberfire-vfs-model/src/main/java/org/apache/commons/io/IOCase.java
  91. +0 −23 uberfire-vfs/uberfire-vfs-model/src/main/java/org/uberfire/java/nio/Closeable.java
  92. +0 −32 uberfire-vfs/uberfire-vfs-model/src/main/java/org/uberfire/java/nio/IOException.java
  93. +0 −21 ...fire-vfs/uberfire-vfs-model/src/main/java/org/uberfire/java/nio/channels/AsynchronousChannel.java
  94. +0 −21 ...-vfs/uberfire-vfs-model/src/main/java/org/uberfire/java/nio/channels/AsynchronousFileChannel.java
  95. +0 −24 uberfire-vfs/uberfire-vfs-model/src/main/java/org/uberfire/java/nio/channels/CompletionHandler.java
  96. +0 −32 ...fire-vfs/uberfire-vfs-model/src/main/java/org/uberfire/java/nio/channels/SeekableByteChannel.java
  97. +0 −28 uberfire-vfs/uberfire-vfs-model/src/main/java/org/uberfire/java/nio/file/AccessDeniedException.java
  98. +0 −21 uberfire-vfs/uberfire-vfs-model/src/main/java/org/uberfire/java/nio/file/AccessMode.java
  99. +0 −24 .../uberfire-vfs-model/src/main/java/org/uberfire/java/nio/file/AtomicMoveNotSupportedException.java
  100. +0 −23 ...-vfs/uberfire-vfs-model/src/main/java/org/uberfire/java/nio/file/ClosedWatchServiceException.java
  101. +0 −20 uberfire-vfs/uberfire-vfs-model/src/main/java/org/uberfire/java/nio/file/CopyOption.java
  102. +0 −24 ...e-vfs/uberfire-vfs-model/src/main/java/org/uberfire/java/nio/file/DirectoryNotEmptyException.java
  103. +0 −28 uberfire-vfs/uberfire-vfs-model/src/main/java/org/uberfire/java/nio/file/DirectoryStream.java
  104. +0 −28 ...e-vfs/uberfire-vfs-model/src/main/java/org/uberfire/java/nio/file/FileAlreadyExistsException.java
  105. +0 −44 uberfire-vfs/uberfire-vfs-model/src/main/java/org/uberfire/java/nio/file/FileStore.java
  106. +0 −49 uberfire-vfs/uberfire-vfs-model/src/main/java/org/uberfire/java/nio/file/FileSystem.java
  107. +0 −27 ...uberfire-vfs-model/src/main/java/org/uberfire/java/nio/file/FileSystemAlreadyExistsException.java
  108. +0 −40 uberfire-vfs/uberfire-vfs-model/src/main/java/org/uberfire/java/nio/file/FileSystemException.java
  109. +0 −27 ...-vfs/uberfire-vfs-model/src/main/java/org/uberfire/java/nio/file/FileSystemNotFoundException.java
  110. +0 −21 uberfire-vfs/uberfire-vfs-model/src/main/java/org/uberfire/java/nio/file/FileVisitOption.java
  111. +0 −21 uberfire-vfs/uberfire-vfs-model/src/main/java/org/uberfire/java/nio/file/FileVisitResult.java
  112. +0 −31 uberfire-vfs/uberfire-vfs-model/src/main/java/org/uberfire/java/nio/file/FileVisitor.java
  113. +0 −21 uberfire-vfs/uberfire-vfs-model/src/main/java/org/uberfire/java/nio/file/InterruptedException.java
  114. +0 −38 uberfire-vfs/uberfire-vfs-model/src/main/java/org/uberfire/java/nio/file/InvalidPathException.java
  115. +0 −21 uberfire-vfs/uberfire-vfs-model/src/main/java/org/uberfire/java/nio/file/LinkOption.java
  116. +0 −28 uberfire-vfs/uberfire-vfs-model/src/main/java/org/uberfire/java/nio/file/NoSuchFileException.java
  117. +0 −24 uberfire-vfs/uberfire-vfs-model/src/main/java/org/uberfire/java/nio/file/NotDirectoryException.java
  118. +0 −28 uberfire-vfs/uberfire-vfs-model/src/main/java/org/uberfire/java/nio/file/NotLinkException.java
  119. +0 −21 uberfire-vfs/uberfire-vfs-model/src/main/java/org/uberfire/java/nio/file/OpenOption.java
  120. +0 −71 uberfire-vfs/uberfire-vfs-model/src/main/java/org/uberfire/java/nio/file/Path.java
  121. +0 −22 uberfire-vfs/uberfire-vfs-model/src/main/java/org/uberfire/java/nio/file/PathMatcher.java
  122. +0 −21 uberfire-vfs/uberfire-vfs-model/src/main/java/org/uberfire/java/nio/file/PatternSyntaxException.java
  123. +0 −27 ...re-vfs/uberfire-vfs-model/src/main/java/org/uberfire/java/nio/file/ProviderNotFoundException.java
  124. +0 −21 uberfire-vfs/uberfire-vfs-model/src/main/java/org/uberfire/java/nio/file/StandardOpenOption.java
  125. +0 −38 uberfire-vfs/uberfire-vfs-model/src/main/java/org/uberfire/java/nio/file/WatchEvent.java
  126. +0 −32 uberfire-vfs/uberfire-vfs-model/src/main/java/org/uberfire/java/nio/file/WatchKey.java
  127. +0 −30 uberfire-vfs/uberfire-vfs-model/src/main/java/org/uberfire/java/nio/file/WatchService.java
  128. +0 −32 uberfire-vfs/uberfire-vfs-model/src/main/java/org/uberfire/java/nio/file/Watchable.java
  129. +0 −22 ...fire-vfs/uberfire-vfs-model/src/main/java/org/uberfire/java/nio/file/attribute/AttributeView.java
  130. +0 −26 ...uberfire-vfs-model/src/main/java/org/uberfire/java/nio/file/attribute/BasicFileAttributeView.java
  131. +0 −38 ...fs/uberfire-vfs-model/src/main/java/org/uberfire/java/nio/file/attribute/BasicFileAttributes.java
  132. +0 −24 ...fire-vfs/uberfire-vfs-model/src/main/java/org/uberfire/java/nio/file/attribute/FileAttribute.java
  133. +0 −21 ...-vfs/uberfire-vfs-model/src/main/java/org/uberfire/java/nio/file/attribute/FileAttributeView.java
  134. +0 −21 ...uberfire-vfs-model/src/main/java/org/uberfire/java/nio/file/attribute/FileStoreAttributeView.java
  135. +0 −26 uberfire-vfs/uberfire-vfs-model/src/main/java/org/uberfire/java/nio/file/attribute/FileTime.java
  136. +0 −21 ...fs/uberfire-vfs-model/src/main/java/org/uberfire/java/nio/file/attribute/PosixFilePermission.java
  137. +0 −23 ...fire-vfs/uberfire-vfs-model/src/main/java/org/uberfire/java/nio/file/attribute/UserPrincipal.java
  138. +0 −21 ...fire-vfs-model/src/main/java/org/uberfire/java/nio/file/attribute/UserPrincipalLookupService.java
  139. +0 −144 uberfire-vfs/uberfire-vfs-model/src/main/java/org/uberfire/java/nio/file/spi/FileSystemProvider.java
  140. +0 −599 uberfire-vfs/uberfire-vfs-model/src/main/java/org/uberfire/java/nio/fs/base/AbstractPath.java
  141. +0 −22 uberfire-vfs/uberfire-vfs-model/src/main/java/org/uberfire/java/nio/fs/base/AttrHolder.java
  142. +0 −52 uberfire-vfs/uberfire-vfs-model/src/main/java/org/uberfire/java/nio/fs/base/FileTimeImpl.java
  143. +0 −28 ...vfs/uberfire-vfs-model/src/main/java/org/uberfire/java/nio/fs/base/FlexibleFileAttributeView.java
  144. +0 −143 ...-vfs/uberfire-vfs-model/src/main/java/org/uberfire/java/nio/fs/base/GeneralFileAttributeView.java
  145. +0 −105 ...ire-vfs/uberfire-vfs-model/src/main/java/org/uberfire/java/nio/fs/base/GeneralFileAttributes.java
  146. +0 −124 uberfire-vfs/uberfire-vfs-model/src/main/java/org/uberfire/java/nio/fs/base/GeneralPathImpl.java
  147. +0 −23 ...e-vfs/uberfire-vfs-model/src/main/java/org/uberfire/java/nio/fs/base/NotImplementedException.java
  148. +0 −29 uberfire-vfs/uberfire-vfs-model/src/main/resources/org/uberfire/java/nio/UberfireVFSModel.gwt.xml
  149. +0 −23 uberfire-vfs/uberfire-vfs-model/src/main/resources/org/uberfire/java/nio/jre/java/io/Closeable.java
  150. +0 −21 uberfire-vfs/uberfire-vfs-model/src/main/resources/org/uberfire/java/nio/jre/java/io/File.java
  151. +0 −21 ...fire-vfs/uberfire-vfs-model/src/main/resources/org/uberfire/java/nio/jre/java/io/InputStream.java
  152. +0 −21 ...ire-vfs/uberfire-vfs-model/src/main/resources/org/uberfire/java/nio/jre/java/io/OutputStream.java
  153. +0 −21 ...uberfire-vfs-model/src/main/resources/org/uberfire/java/nio/jre/java/lang/IllegalAccessError.java
  154. +0 −21 ...s/uberfire-vfs-model/src/main/resources/org/uberfire/java/nio/jre/java/lang/OutOfMemoryError.java
  155. +0 −21 .../uberfire-vfs-model/src/main/resources/org/uberfire/java/nio/jre/java/lang/SecurityException.java
  156. +0 −57 uberfire-vfs/uberfire-vfs-model/src/main/resources/org/uberfire/java/nio/jre/java/net/URI.java
  157. +0 −40 .../uberfire-vfs-model/src/main/resources/org/uberfire/java/nio/jre/java/net/URISyntaxException.java
  158. +0 −21 ...berfire-vfs-model/src/main/resources/org/uberfire/java/nio/jre/java/nio/channels/ByteChannel.java
  159. +0 −21 ...berfire-vfs-model/src/main/resources/org/uberfire/java/nio/jre/java/nio/channels/FileChannel.java
  160. +0 −21 ...vfs/uberfire-vfs-model/src/main/resources/org/uberfire/java/nio/jre/java/nio/charset/Charset.java
  161. +0 −21 ...-vfs/uberfire-vfs-model/src/main/resources/org/uberfire/java/nio/jre/java/security/Principal.java
  162. +0 −21 ...-vfs-model/src/main/resources/org/uberfire/java/nio/jre/java/util/concurrent/ExecutorService.java
  163. +0 −469 ...berfire-vfs-model/src/main/resources/org/uberfire/java/nio/jre/java/util/concurrent/TimeUnit.java
  164. +0 −239 .../uberfire-vfs-model/src/test/java/org/uberfire/java/nio/fs/base/GeneralFileAttributeViewTest.java
  165. +0 −90 ...fire-vfs/uberfire-vfs-model/src/test/java/org/uberfire/java/nio/fs/base/GeneralPathAttrsTest.java
  166. +0 −82 ...ire-vfs/uberfire-vfs-model/src/test/java/org/uberfire/java/nio/fs/base/GeneralPathEqualsTest.java
  167. +0 −852 uberfire-vfs/uberfire-vfs-model/src/test/java/org/uberfire/java/nio/fs/base/GeneralPathTest.java
  168. +0 −85 ...uberfire-vfs-model/src/test/java/org/uberfire/java/nio/fs/base/GeneralPathUnsupportedOpsTest.java
  169. +0 −153 ...vfs/uberfire-vfs-model/src/test/java/org/uberfire/java/nio/fs/base/GeneralPathValidationTest.java
  170. +2 −2 ...ets-core-client/src/main/java/org/uberfire/client/editors/fileexplorer/FileExplorerPresenter.java
  171. +2 −2 uberfire-widgets/uberfire-widgets-sandbox/uberfire-widget-markdown/pom.xml
View
105 pom.xml
@@ -288,7 +288,6 @@
</build>
<modules>
- <module>uberfire-vfs</module>
<module>uberfire-security</module>
<module>uberfire-server</module>
<module>uberfire-api</module>
@@ -412,97 +411,69 @@
<version>${project.version}</version>
</dependency>
- <!-- VFS -->
- <dependency>
- <groupId>org.uberfire</groupId>
- <artifactId>uberfire-vfs-model</artifactId>
- <version>${project.version}</version>
- </dependency>
+ <!-- VFS: Service -->
<dependency>
- <groupId>org.uberfire</groupId>
- <artifactId>uberfire-vfs-api</artifactId>
- <version>${project.version}</version>
+ <groupId>commons-httpclient</groupId>
+ <artifactId>commons-httpclient</artifactId>
+ <version>3.1</version>
</dependency>
+
+ <!-- Runtime / Container dependencies -->
<dependency>
- <groupId>org.uberfire</groupId>
- <artifactId>uberfire-vfs-fs</artifactId>
- <version>${project.version}</version>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ <version>${slf4j.version}</version>
</dependency>
+
<dependency>
- <groupId>org.uberfire</groupId>
- <artifactId>uberfire-vfs-jgit</artifactId>
- <version>${project.version}</version>
+ <groupId>ch.qos.logback</groupId>
+ <artifactId>logback-core</artifactId>
+ <version>${logback.version}</version>
</dependency>
-
- <!-- VFS: Service -->
<dependency>
- <groupId>commons-httpclient</groupId>
- <artifactId>commons-httpclient</artifactId>
- <version>3.1</version>
+ <groupId>ch.qos.logback</groupId>
+ <artifactId>logback-classic</artifactId>
+ <version>${logback.version}</version>
</dependency>
- <!-- VFS: Simple FileSystem -->
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>1.4</version>
</dependency>
- <!-- VFS: Eclipse -->
- <dependency>
- <groupId>org.eclipse.core</groupId>
- <artifactId>org.eclipse.core.runtime</artifactId>
- <version>3.6.0.v20100505</version>
- </dependency>
+ <!-- KIE Commons -->
<dependency>
- <groupId>org.eclipse.core</groupId>
- <artifactId>org.eclipse.core.resources</artifactId>
- <version>3.6.0.v20100526-0737</version>
+ <groupId>org.kie.commons</groupId>
+ <artifactId>kie-commons-data</artifactId>
+ <version>${kie-commons.version}</version>
</dependency>
- <!-- VFS: jGIT -->
<dependency>
- <groupId>org.eclipse.jgit</groupId>
- <artifactId>org.eclipse.jgit</artifactId>
- <version>2.1.0.201209190230-r</version>
+ <groupId>org.kie.commons</groupId>
+ <artifactId>kie-commons-validation</artifactId>
+ <version>${kie-commons.version}</version>
</dependency>
- <!--&lt;!&ndash; jGIT: Smart HTTP Servlet &ndash;&gt;-->
- <!--<dependency>-->
- <!--<groupId>org.eclipse.jgit</groupId>-->
- <!--<artifactId>org.eclipse.jgit.http.server</artifactId>-->
- <!--<version>1.3.0.201202151440-r</version>-->
- <!--</dependency>-->
-
- <!--&lt;!&ndash; jGIT: AWT UI Helpers &ndash;&gt;-->
- <!--<dependency>-->
- <!--<groupId>org.eclipse.jgit</groupId>-->
- <!--<artifactId>org.eclipse.jgit.ui</artifactId>-->
- <!--<version>1.3.0.201202151440-r</version>-->
- <!--</dependency>-->
-
- <!-- Runtime / Container dependencies -->
+ <!-- KIE Commons VFS -->
<dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- <version>${slf4j.version}</version>
+ <groupId>org.kie.commons</groupId>
+ <artifactId>kie-nio2-model</artifactId>
+ <version>${kie-commons.version}</version>
</dependency>
-
<dependency>
- <groupId>ch.qos.logback</groupId>
- <artifactId>logback-core</artifactId>
- <version>${logback.version}</version>
+ <groupId>org.kie.commons</groupId>
+ <artifactId>kie-nio2-api</artifactId>
+ <version>${kie-commons.version}</version>
</dependency>
<dependency>
- <groupId>ch.qos.logback</groupId>
- <artifactId>logback-classic</artifactId>
- <version>${logback.version}</version>
+ <groupId>org.kie.commons</groupId>
+ <artifactId>kie-nio2-fs</artifactId>
+ <version>${kie-commons.version}</version>
</dependency>
-
- <!-- KIE Commons -->
<dependency>
- <groupId>org.kie</groupId>
- <artifactId>kie-commons</artifactId>
+ <groupId>org.kie.commons</groupId>
+ <artifactId>kie-nio2-jgit</artifactId>
<version>${kie-commons.version}</version>
</dependency>
@@ -574,12 +545,6 @@
<dependency>
<groupId>org.jboss.errai</groupId>
- <artifactId>errai-uibinder</artifactId>
- <version>${errai.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.jboss.errai</groupId>
<artifactId>errai-javax-enterprise</artifactId>
<version>${errai.version}</version>
</dependency>
@@ -39,8 +39,8 @@
</dependency>
<dependency>
- <groupId>org.uberfire</groupId>
- <artifactId>uberfire-vfs-model</artifactId>
+ <groupId>org.kie.commons</groupId>
+ <artifactId>kie-nio2-model</artifactId>
</dependency>
<!-- Errai Core -->
@@ -22,23 +22,23 @@
import org.jboss.errai.bus.client.api.interceptor.InterceptedCall;
import org.jboss.errai.bus.server.annotations.Remote;
import org.uberfire.backend.vfs.impl.VFSCacheInterceptor;
-import org.uberfire.java.nio.IOException;
-import org.uberfire.java.nio.file.AtomicMoveNotSupportedException;
-import org.uberfire.java.nio.file.CopyOption;
-import org.uberfire.java.nio.file.DirectoryNotEmptyException;
-import org.uberfire.java.nio.file.DirectoryStream;
-import org.uberfire.java.nio.file.FileAlreadyExistsException;
-import org.uberfire.java.nio.file.FileSystemAlreadyExistsException;
-import org.uberfire.java.nio.file.FileSystemNotFoundException;
-import org.uberfire.java.nio.file.LinkOption;
-import org.uberfire.java.nio.file.NoSuchFileException;
-import org.uberfire.java.nio.file.NotDirectoryException;
-import org.uberfire.java.nio.file.NotLinkException;
-import org.uberfire.java.nio.file.PatternSyntaxException;
-import org.uberfire.java.nio.file.ProviderNotFoundException;
-import org.uberfire.java.nio.file.attribute.FileAttribute;
-import org.uberfire.java.nio.file.attribute.FileTime;
-import org.uberfire.java.nio.file.attribute.UserPrincipal;
+import org.kie.commons.java.nio.IOException;
+import org.kie.commons.java.nio.file.AtomicMoveNotSupportedException;
+import org.kie.commons.java.nio.file.CopyOption;
+import org.kie.commons.java.nio.file.DirectoryNotEmptyException;
+import org.kie.commons.java.nio.file.DirectoryStream;
+import org.kie.commons.java.nio.file.FileAlreadyExistsException;
+import org.kie.commons.java.nio.file.FileSystemAlreadyExistsException;
+import org.kie.commons.java.nio.file.FileSystemNotFoundException;
+import org.kie.commons.java.nio.file.LinkOption;
+import org.kie.commons.java.nio.file.NoSuchFileException;
+import org.kie.commons.java.nio.file.NotDirectoryException;
+import org.kie.commons.java.nio.file.NotLinkException;
+import org.kie.commons.java.nio.file.PatternSyntaxException;
+import org.kie.commons.java.nio.file.ProviderNotFoundException;
+import org.kie.commons.java.nio.file.attribute.FileAttribute;
+import org.kie.commons.java.nio.file.attribute.FileTime;
+import org.kie.commons.java.nio.file.attribute.UserPrincipal;
@Remote
public interface VFSService {
@@ -18,7 +18,7 @@
import java.util.Map;
-import org.uberfire.java.nio.file.attribute.BasicFileAttributes;
+import org.kie.commons.java.nio.file.attribute.BasicFileAttributes;
import org.uberfire.backend.vfs.impl.BasicAttributesVO;
public final class VFSTempUtil {
@@ -18,8 +18,8 @@
import java.util.Map;
-import org.uberfire.java.nio.file.attribute.BasicFileAttributes;
-import org.uberfire.java.nio.file.attribute.FileTime;
+import org.kie.commons.java.nio.file.attribute.BasicFileAttributes;
+import org.kie.commons.java.nio.file.attribute.FileTime;
import org.jboss.errai.common.client.api.annotations.Portable;
@Portable
@@ -21,8 +21,8 @@
import java.util.List;
import java.util.NoSuchElementException;
-import org.uberfire.java.nio.IOException;
-import org.uberfire.java.nio.file.DirectoryStream;
+import org.kie.commons.java.nio.IOException;
+import org.kie.commons.java.nio.file.DirectoryStream;
import org.jboss.errai.common.client.api.annotations.Portable;
import org.uberfire.backend.vfs.Path;
@@ -4,7 +4,7 @@
<module>
<inherits name='org.jboss.errai.bus.ErraiBus'/>
- <inherits name='org.uberfire.java.nio.UberfireVFSModel'/>
+ <inherits name='org.kie.commons.java.nio.KieCommonsVFSModel'/>
<source path='backend'>
<exclude name="server/**" />
@@ -35,8 +35,8 @@
<!-- Internal dependencies -->
<dependency>
- <groupId>org.uberfire</groupId>
- <artifactId>uberfire-vfs-api</artifactId>
+ <groupId>org.kie.commons</groupId>
+ <artifactId>kie-nio2-api</artifactId>
</dependency>
<dependency>
@@ -27,32 +27,32 @@
import org.apache.commons.httpclient.URIException;
import org.apache.commons.httpclient.util.URIUtil;
import org.jboss.errai.bus.server.annotations.Service;
+import org.kie.commons.java.nio.IOException;
+import org.kie.commons.java.nio.file.AtomicMoveNotSupportedException;
+import org.kie.commons.java.nio.file.CopyOption;
+import org.kie.commons.java.nio.file.DirectoryNotEmptyException;
+import org.kie.commons.java.nio.file.DirectoryStream;
+import org.kie.commons.java.nio.file.FileAlreadyExistsException;
+import org.kie.commons.java.nio.file.FileSystemAlreadyExistsException;
+import org.kie.commons.java.nio.file.FileSystemNotFoundException;
+import org.kie.commons.java.nio.file.FileSystems;
+import org.kie.commons.java.nio.file.Files;
+import org.kie.commons.java.nio.file.LinkOption;
+import org.kie.commons.java.nio.file.NoSuchFileException;
+import org.kie.commons.java.nio.file.NotDirectoryException;
+import org.kie.commons.java.nio.file.NotLinkException;
+import org.kie.commons.java.nio.file.Paths;
+import org.kie.commons.java.nio.file.PatternSyntaxException;
+import org.kie.commons.java.nio.file.ProviderNotFoundException;
+import org.kie.commons.java.nio.file.attribute.FileAttribute;
+import org.kie.commons.java.nio.file.attribute.FileTime;
+import org.kie.commons.java.nio.file.attribute.UserPrincipal;
import org.uberfire.backend.vfs.FileSystem;
import org.uberfire.backend.vfs.Path;
import org.uberfire.backend.vfs.VFSService;
import org.uberfire.backend.vfs.impl.DirectoryStreamImpl;
import org.uberfire.backend.vfs.impl.FileSystemImpl;
import org.uberfire.backend.vfs.impl.PathImpl;
-import org.uberfire.java.nio.IOException;
-import org.uberfire.java.nio.file.AtomicMoveNotSupportedException;
-import org.uberfire.java.nio.file.CopyOption;
-import org.uberfire.java.nio.file.DirectoryNotEmptyException;
-import org.uberfire.java.nio.file.DirectoryStream;
-import org.uberfire.java.nio.file.FileAlreadyExistsException;
-import org.uberfire.java.nio.file.FileSystemAlreadyExistsException;
-import org.uberfire.java.nio.file.FileSystemNotFoundException;
-import org.uberfire.java.nio.file.FileSystems;
-import org.uberfire.java.nio.file.Files;
-import org.uberfire.java.nio.file.LinkOption;
-import org.uberfire.java.nio.file.NoSuchFileException;
-import org.uberfire.java.nio.file.NotDirectoryException;
-import org.uberfire.java.nio.file.NotLinkException;
-import org.uberfire.java.nio.file.Paths;
-import org.uberfire.java.nio.file.PatternSyntaxException;
-import org.uberfire.java.nio.file.ProviderNotFoundException;
-import org.uberfire.java.nio.file.attribute.FileAttribute;
-import org.uberfire.java.nio.file.attribute.FileTime;
-import org.uberfire.java.nio.file.attribute.UserPrincipal;
import static java.util.Arrays.*;
@@ -85,7 +85,7 @@ public FileSystem newFileSystem( final String uri,
final Map<String, Object> env )
throws IllegalArgumentException, FileSystemAlreadyExistsException, ProviderNotFoundException {
final URI furi = URI.create( uri );
- final org.uberfire.java.nio.file.FileSystem newFileSystem = FileSystems.newFileSystem( furi, env );
+ final org.kie.commons.java.nio.file.FileSystem newFileSystem = FileSystems.newFileSystem( furi, env );
return new FileSystemImpl( asList( new Path[]{ new PathImpl( furi.getPath(), uri ) } ) );
}
@@ -101,7 +101,7 @@ public FileSystem getFileSystem( final String uri ) throws IllegalArgumentExcept
@Override
public DirectoryStream<Path> newDirectoryStream( final Path dir )
throws IllegalArgumentException, NotDirectoryException, IOException {
- final Iterator<org.uberfire.java.nio.file.Path> content = Files.newDirectoryStream( fromPath( dir ) ).iterator();
+ final Iterator<org.kie.commons.java.nio.file.Path> content = Files.newDirectoryStream( fromPath( dir ) ).iterator();
return newDirectoryStream( content );
}
@@ -347,21 +347,21 @@ public Path write( Path path,
return convert( Files.write( fromPath( path ), content.getBytes() ) );
}
- private Path convert( final org.uberfire.java.nio.file.Path path ) {
+ private Path convert( final org.kie.commons.java.nio.file.Path path ) {
final Map<String, Object> attributes = Files.readAttributes( path, "*" );
return new PathImpl( path.getFileName().toString(), path.toUri().toString(), attributes );
}
- private DirectoryStream<Path> newDirectoryStream( final Iterator<org.uberfire.java.nio.file.Path> iterator ) {
+ private DirectoryStream<Path> newDirectoryStream( final Iterator<org.kie.commons.java.nio.file.Path> iterator ) {
final List<Path> content = new LinkedList<Path>();
while ( iterator.hasNext() ) {
content.add( convert( iterator.next() ) );
}
return new DirectoryStreamImpl( content );
}
- private org.uberfire.java.nio.file.Path fromPath( final Path path ) {
+ private org.kie.commons.java.nio.file.Path fromPath( final Path path ) {
try {
return Paths.get( URI.create( path.toURI() ) );
} catch ( IllegalArgumentException e ) {
@@ -23,7 +23,7 @@
import org.uberfire.backend.vfs.impl.PathImpl;
import org.uberfire.backend.workbench.WorkbenchServices;
import org.uberfire.client.workbench.model.PerspectiveDefinition;
-import org.uberfire.java.nio.file.NoSuchFileException;
+import org.kie.commons.java.nio.file.NoSuchFileException;
import org.uberfire.security.Identity;
import javax.annotation.PostConstruct;
View
@@ -37,23 +37,23 @@
</dependency>
<dependency>
- <groupId>org.uberfire</groupId>
- <artifactId>uberfire-vfs-model</artifactId>
+ <groupId>org.kie.commons</groupId>
+ <artifactId>kie-nio2-model</artifactId>
</dependency>
<dependency>
- <groupId>org.uberfire</groupId>
- <artifactId>uberfire-vfs-fs</artifactId>
+ <groupId>org.kie.commons</groupId>
+ <artifactId>kie-nio2-fs</artifactId>
</dependency>
<dependency>
- <groupId>org.uberfire</groupId>
- <artifactId>uberfire-vfs-jgit</artifactId>
+ <groupId>org.kie.commons</groupId>
+ <artifactId>kie-nio2-jgit</artifactId>
</dependency>
<dependency>
- <groupId>org.uberfire</groupId>
- <artifactId>uberfire-vfs-api</artifactId>
+ <groupId>org.kie.commons</groupId>
+ <artifactId>kie-nio2-api</artifactId>
</dependency>
<dependency>
Oops, something went wrong.

0 comments on commit 31596ae

Please sign in to comment.