Lines Matching defs:args
64 public static void main(String[] args) {
75 for (int i = 0; i < args.length; i++) {
76 if ("-bundle".equals(args[i])) {
77 if (i + 1 < args.length)
78 bundle = args[++i];
80 printUsage(args[0] + " option needs to be followed by a bundle name");
82 else if ("-srcdir".equals(args[i])) {
83 if (i + 1 < args.length)
84 srcdir = new File(args[++i]);
86 printUsage(args[0] + " option needs to be followed by a bundle name");
89 printUsage(args[0] + " is not a valid option");