Package net.sourceforge.javautil.common.io

Examples of net.sourceforge.javautil.common.io.IVirtualDirectory.createFile()


      pom.setArtifactId(reference.getArtifactId());
      pom.setVersionString(reference.getVersion().toVersionString());
      pom.setPackaging(packaging);
     
      try {
        pom.write(packageDir.createFile(prefix + ".pom").getOutputStream());
        file.copy( packageDir.createFile(jarPrefix + "." + packaging) );
       
        this.clearCachedInformation(reference);
      } catch (JAXBException e) {
        throw ThrowableManagerRegistry.caught(e);
View Full Code Here


      pom.setVersionString(reference.getVersion().toVersionString());
      pom.setPackaging(packaging);
     
      try {
        pom.write(packageDir.createFile(prefix + ".pom").getOutputStream());
        file.copy( packageDir.createFile(jarPrefix + "." + packaging) );
       
        this.clearCachedInformation(reference);
      } catch (JAXBException e) {
        throw ThrowableManagerRegistry.caught(e);
      } catch (IOException e) {
View Full Code Here

        entry = input.getNextEntry();
        if (entry != null) {
          if (entry.getName().endsWith("/")) {
            directory.createDirectory(new SimplePath(entry.getName()));
          } else
            directory.createFile(new SimplePath(entry.getName()), IOUtil.read(input, null, false));
        }
      } while (entry != null);
    } catch (IOException e) {
      throw ThrowableManagerRegistry.caught(e);
    } finally {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.