Esempio n. 1
0
 @Before
 public void setUp() throws Exception {
   manager = VFSFactory.createDefaultFileSystemManager();
   testFile = new File(System.getProperty("java.io.tmpdir"), "ProActive-VFSFactoryTest");
   final OutputStreamWriter osw = new OutputStreamWriter(new FileOutputStream(testFile));
   osw.write("test");
   osw.close();
 }
 {
   try {
     fsManager = VFSFactory.createDefaultFileSystemManager();
   } catch (FileSystemException e) {
     // TODO Auto-generated catch block
     e.printStackTrace();
     logger.error("Could nnot create Default FileSystem Manager", e);
   }
 }