System.err.println("Bundle Indexer | v2.2");
System.err.println("(c) 2007 OSGi, All Rights Reserved");
Set<ResourceImpl> resources = new HashSet<ResourceImpl>();
root = rootFile.toURI().toURL().toString();
repository = new RepositoryImpl(rootFile.toURI().toURL());
for (int i = 0; i < args.length; i++) {
try {
if (args[i].startsWith("-n")) {
name = args[++i];
}
else if (args[i].startsWith("-r")) {
repositoryFileName = args[++i];
repository = new RepositoryImpl(new File(
repositoryFileName).getAbsoluteFile().toURI().toURL());
}
else if (args[i].startsWith("-q")) {
quiet = true;
}