Package aQute.bnd.service.RepositoryPlugin

Examples of aQute.bnd.service.RepositoryPlugin.PutOptions


    File dstBundle = null;
    try {
      File srcBundle = IO.getFile("testresources/test.jar");
      byte[] srcSha = calculateHash(sha1, srcBundle);

      PutOptions options = new RepositoryPlugin.PutOptions();
      options.digest = srcSha;

      PutResult r = testRepo.put(new BufferedInputStream(new FileInputStream(srcBundle)), options);

      dstBundle = new File(r.artifact);
View Full Code Here

TOP

Related Classes of aQute.bnd.service.RepositoryPlugin.PutOptions

Copyright © 2018 www.massapicom. 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.