am 36ee5daf: Merge change 26329 into eclair

Merge commit '36ee5dafd0e106e40f6f1d3e3dffd60315ea659f' into eclair-plus-aosp

* commit '36ee5dafd0e106e40f6f1d3e3dffd60315ea659f':
  Distinguish jar folders and jar files in ApkBuilder script
This commit is contained in:
Piotr Gurgul
2009-09-22 11:52:04 -07:00
committed by Android Git Automerger

View File

@@ -133,7 +133,12 @@ public final class ApkBuilderImpl {
throw new WrongOptionException("Missing value for -rj");
}
File f = new File(args[index]);
if (f.isDirectory()) {
processJarFolder(args[index++], resourcesJars);
} else if (f.isFile()) {
processJarFile(args[index++], resourcesJars);
}
} else if ("-nf".equals(argument)) {
// quick check on the next argument.
if (index == args.length) {