本文整理了Java中aQute.bnd.osgi.Builder.close()
方法的一些代码示例,展示了Builder.close()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Builder.close()
方法的具体详情如下:
包路径:aQute.bnd.osgi.Builder
类名称:Builder
方法名:close
暂无
代码示例来源:origin: biz.aQute.bnd/biz.aQute.bndlib
@Override
public void close() throws IOException {
getClasspath().remove(bin_test);
super.close();
}
代码示例来源:origin: biz.aQute.bnd/biz.aQute.bnd
@Override
public void close() throws IOException {
getClasspath().remove(bin_test);
super.close();
}
代码示例来源:origin: org.apache.felix/maven-bundle-plugin
builder.close();
代码示例来源:origin: biz.aQute/bndlib
a.close();
} else
System.err.println("Wrong, must look like group+artifact+version, is " + ref);
代码示例来源:origin: biz.aQute.bnd/bnd
a.close();
} else
System.err.println("Wrong, must look like group+artifact+version, is " + ref);
代码示例来源:origin: biz.aQute.bnd/bndlib
a.close();
} else
System.err.println("Wrong, must look like group+artifact+version, is " + ref);
代码示例来源:origin: biz.aQute.bnd/biz.aQute.bndlib
a.close();
代码示例来源:origin: biz.aQute.bnd/biz.aQute.bnd
a.close();
代码示例来源:origin: org.apache.felix/maven-bundle-plugin
builder.close();
代码示例来源:origin: biz.aQute.bnd/bnd
jar.close();
builder.close();
代码示例来源:origin: org.wisdom-framework/wisdom-maven-plugin
} finally {
if (builder != null) {
builder.close();
代码示例来源:origin: biz.aQute.bnd/bnd
b.save(outputFile, options.force());
b.close();
代码示例来源:origin: biz.aQute.bnd/bnd
public void build(String dest, boolean force, String path) throws IOException, Exception {
Builder b = new Builder();
try {
File f = getFile(path);
if (!f.isFile()) {
error("No such file %s", f);
return;
}
b.setTrace(isTrace());
b.setPedantic(isPedantic());
b.setProperties(f);
List<Builder> subs = b.getSubBuilders();
for (Builder bb : subs) {
trace("building %s", bb.getPropertiesFile());
bb.build();
File out = bb.getOutputFile(dest);
getInfo(bb, bb.getBsn() + ": ");
if (isOk()) {
bb.save(out, force);
}
getInfo(bb, bb.getBsn() + ": "); // pickup any save errors
if (!isOk()) {
out.delete();
}
}
}
finally {
b.close();
}
}
内容来源于网络,如有侵权,请联系作者删除!