aQute.bnd.osgi.Builder.doneBuild()方法的使用及代码示例

x33g5p2x  于2022-01-17 转载在 其他  
字(2.3k)|赞(0)|评价(0)|浏览(116)

本文整理了Java中aQute.bnd.osgi.Builder.doneBuild()方法的一些代码示例,展示了Builder.doneBuild()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Builder.doneBuild()方法的具体详情如下:
包路径:aQute.bnd.osgi.Builder
类名称:Builder
方法名:doneBuild

Builder.doneBuild介绍

[英]Called when we're done with a builder
[中]当我们和一个建筑商谈完后,我们会打电话给他

代码示例

代码示例来源:origin: biz.aQute.bnd/bndlib

doneBuild(builder);

代码示例来源:origin: biz.aQute.bnd/bnd

doneBuild(builder);

代码示例来源:origin: biz.aQute.bnd/biz.aQute.bndlib

/**
 * Called when we're done with a builder. In this case we retrieve package
 * information from builder.
 */
@Override
protected void doneBuild(Builder builder) throws Exception {
  project.exportedPackages.putAll(builder.getExports());
  project.importedPackages.putAll(builder.getImports());
  project.containedPackages.putAll(builder.getContained());
  xrefClasspath(project.unreferencedClasspathEntries, builder.getImports());
  xrefClasspath(project.unreferencedClasspathEntries, builder.getContained());
  //
  // For the workspace repo, we maintain a map
  // of bsn -> version for this project. So here
  // we update this map. In the startBuild method
  // we cleared the map
  //
  Version version = new Version(cleanupVersion(builder.getVersion()));
  project.versionMap.put(builder.getBsn(), version);
  super.doneBuild(builder);
}

代码示例来源:origin: biz.aQute.bnd/biz.aQute.bndlib

doneBuild(builder);
} catch (Exception e) {
  builder.exception(e, "Exception Building %s", builder.getBsn());

代码示例来源:origin: biz.aQute.bnd/biz.aQute.bnd

/**
 * Called when we're done with a builder. In this case we retrieve package
 * information from builder.
 */
@Override
protected void doneBuild(Builder builder) throws Exception {
  project.exportedPackages.putAll(builder.getExports());
  project.importedPackages.putAll(builder.getImports());
  project.containedPackages.putAll(builder.getContained());
  xrefClasspath(project.unreferencedClasspathEntries, builder.getImports());
  xrefClasspath(project.unreferencedClasspathEntries, builder.getContained());
  //
  // For the workspace repo, we maintain a map
  // of bsn -> version for this project. So here
  // we update this map. In the startBuild method
  // we cleared the map
  //
  Version version = new Version(cleanupVersion(builder.getVersion()));
  project.versionMap.put(builder.getBsn(), version);
  super.doneBuild(builder);
}

代码示例来源:origin: biz.aQute.bnd/biz.aQute.bnd

doneBuild(builder);
} catch (Exception e) {
  builder.exception(e, "Exception Building %s", builder.getBsn());

相关文章

Builder类方法