Collection<ProtoNetworkDescriptor> nds = sizedArrayList(netct);
for (final File network : networks) {
final String root = network.getAbsolutePath();
final String netPath = asPath(root, PROTO_NETWORK_FILENAME);
final File networkBin = new File(netPath);
nds.add(new BinaryProtoNetworkDescriptor(networkBin));
}
ProtoNetwork ret = p2.stage1Merger(nds);
new File(artifactPath.getAbsolutePath() + "/merged").mkdirs();