/** * Add all the resources in the given jar that match the given filter. * * @param sub the jar * @param filter a pattern that should match the resoures in sub to be added */ public boolean addAll(Jar to, Jar sub, Instruction filter, String destination) { boolean dupl = false; for (String name : sub.getResources() .keySet()) { if ("META-INF/MANIFEST.MF".equals(name)) continue; if (filter == null || filter.matches(name) ^ filter.isNegated()) dupl |= to.putResource(Processor.appendPath(destination, name), sub.getResource(name), true); } return dupl; }
/** * Add all the resources in the given jar that match the given filter. * * @param sub * the jar * @param filter * a pattern that should match the resoures in sub to be added */ public boolean addAll(Jar to, Jar sub, Instruction filter, String destination) { boolean dupl = false; for (String name : sub.getResources().keySet()) { if ("META-INF/MANIFEST.MF".equals(name)) continue; if (filter == null || filter.matches(name) != filter.isNegated()) dupl |= to.putResource(Processor.appendPath(destination, name), sub.getResource(name), true); } return dupl; }
/** * Add all the resources in the given jar that match the given filter. * * @param sub * the jar * @param filter * a pattern that should match the resoures in sub to be added */ public boolean addAll(Jar to, Jar sub, Instruction filter, String destination) { boolean dupl = false; for (String name : sub.getResources().keySet()) { if ("META-INF/MANIFEST.MF".equals(name)) continue; if (filter == null || filter.matches(name) != filter.isNegated()) dupl |= to.putResource(Processor.appendPath(destination, name), sub.getResource(name), true); } return dupl; }
/** * Add all the resources in the given jar that match the given filter. * * @param sub the jar * @param filter a pattern that should match the resoures in sub to be added */ public boolean addAll(Jar to, Jar sub, Instruction filter, String destination) { boolean dupl = false; for (String name : sub.getResources() .keySet()) { if ("META-INF/MANIFEST.MF".equals(name)) continue; if (filter == null || filter.matches(name) ^ filter.isNegated()) dupl |= to.putResource(Processor.appendPath(destination, name), sub.getResource(name), true); } return dupl; }
/** * Add all the resources in the given jar that match the given filter. * * @param sub * the jar * @param filter * a pattern that should match the resoures in sub to be added */ public boolean addAll(Jar to, Jar sub, Instruction filter, String destination) { boolean dupl = false; for (String name : sub.getResources().keySet()) { if ("META-INF/MANIFEST.MF".equals(name)) continue; if (filter == null || filter.matches(name) != filter.isNegated()) dupl |= to.putResource(Processor.appendPath(destination, name), sub.getResource(name), true); } return dupl; }
/** * Add all the resources in the given jar that match the given filter. * * @param sub the jar * @param filter a pattern that should match the resoures in sub to be added */ public boolean addAll(Jar sub, Instruction filter, String destination) { check(); boolean dupl = false; for (String name : sub.getResources() .keySet()) { if (manifestName.equals(name)) continue; if (filter == null || filter.matches(name) ^ filter.isNegated()) dupl |= putResource(Processor.appendPath(destination, name), sub.getResource(name), true); } return dupl; }
/** * Add all the resources in the given jar that match the given filter. * * @param sub * the jar * @param filter * a pattern that should match the resoures in sub to be added */ public boolean addAll(Jar sub, Instruction filter, String destination) { check(); boolean dupl = false; for (String name : sub.getResources().keySet()) { if ("META-INF/MANIFEST.MF".equals(name)) continue; if (filter == null || filter.matches(name) != filter.isNegated()) dupl |= putResource(Processor.appendPath(destination, name), sub.getResource(name), true); } return dupl; }
/** * Add all the resources in the given jar that match the given filter. * * @param sub * the jar * @param filter * a pattern that should match the resoures in sub to be added */ public boolean addAll(Jar sub, Instruction filter, String destination) { check(); boolean dupl = false; for (String name : sub.getResources().keySet()) { if (manifestName.equals(name)) continue; if (filter == null || filter.matches(name) != filter.isNegated()) dupl |= putResource(Processor.appendPath(destination, name), sub.getResource(name), true); } return dupl; }
/** * Add all the resources in the given jar that match the given filter. * * @param sub * the jar * @param filter * a pattern that should match the resoures in sub to be added */ public boolean addAll(Jar sub, Instruction filter, String destination) { check(); boolean dupl = false; for (String name : sub.getResources().keySet()) { if (manifestName.equals(name)) continue; if (filter == null || filter.matches(name) != filter.isNegated()) dupl |= putResource(Processor.appendPath(destination, name), sub.getResource(name), true); } return dupl; }
/** * Add all the resources in the given jar that match the given filter. * * @param sub the jar * @param filter a pattern that should match the resoures in sub to be added */ public boolean addAll(Jar sub, Instruction filter, String destination) { check(); boolean dupl = false; for (String name : sub.getResources() .keySet()) { if (manifestName.equals(name)) continue; if (filter == null || filter.matches(name) ^ filter.isNegated()) dupl |= putResource(Processor.appendPath(destination, name), sub.getResource(name), true); } return dupl; }
+ " uses a directory '%s' as well as '.'. This means bnd does not know if a directory is a package.", path); analyzeJar(dot, Processor.appendPath(path) + "/", true); } else { if (!"optional".equals(info.get(RESOLUTION_DIRECTIVE)))
warning("Bundle-ClassPath uses a directory '%s' as well as '.'. This means bnd does not know if a directory is a package.", path, path); analyzeJar(dot, Processor.appendPath(path) + "/", true); } else { if (!"optional".equals(info.get(RESOLUTION_DIRECTIVE)))
+ " uses a directory '%s' as well as '.'. This means bnd does not know if a directory is a package.", path, path); analyzeJar(dot, Processor.appendPath(path) + "/", true); } else { if (!"optional".equals(info.get(RESOLUTION_DIRECTIVE)))
+ " uses a directory '%s' as well as '.'. This means bnd does not know if a directory is a package.", path); analyzeJar(dot, Processor.appendPath(path) + "/", true); } else { if (!"optional".equals(info.get(RESOLUTION_DIRECTIVE)))
+ " uses a directory '%s' as well as '.'. This means bnd does not know if a directory is a package.", path, path); analyzeJar(dot, Processor.appendPath(path) + "/", true); } else { if (!"optional".equals(info.get(RESOLUTION_DIRECTIVE)))