equal
deleted
inserted
replaced
441 // Skip this and its argument, but |
441 // Skip this and its argument, but |
442 // append argument to found sourcepath. |
442 // append argument to found sourcepath. |
443 out[source_path+1] = out[source_path+1]+File.pathSeparatorChar+args[i+1]; |
443 out[source_path+1] = out[source_path+1]+File.pathSeparatorChar+args[i+1]; |
444 i++; |
444 i++; |
445 } |
445 } |
446 } else if (args[i].equals("-classpath")) { |
446 } else if (args[i].equals("-classpath") || args[i].equals("-cp")) { |
447 if (class_path == -1) { |
447 if (class_path == -1) { |
448 class_path = j; |
448 class_path = j; |
449 out[j] = args[i]; |
449 out[j] = args[i]; |
450 out[j+1] = args[i+1]; |
450 out[j+1] = args[i+1]; |
451 j+=2; |
451 j+=2; |
661 return o.equals("-s") || |
661 return o.equals("-s") || |
662 o.equals("-h") || |
662 o.equals("-h") || |
663 o.equals("-d") || |
663 o.equals("-d") || |
664 o.equals("-sourcepath") || |
664 o.equals("-sourcepath") || |
665 o.equals("-classpath") || |
665 o.equals("-classpath") || |
|
666 o.equals("-cp") || |
666 o.equals("-bootclasspath") || |
667 o.equals("-bootclasspath") || |
667 o.equals("-src"); |
668 o.equals("-src"); |
668 } |
669 } |
669 |
670 |
670 /** |
671 /** |
951 } |
952 } |
952 } |
953 } |
953 if (args[i].equals("-src") || |
954 if (args[i].equals("-src") || |
954 args[i].equals("-sourcepath") || |
955 args[i].equals("-sourcepath") || |
955 args[i].equals("-modulepath") || |
956 args[i].equals("-modulepath") || |
956 args[i].equals("-classpath")) |
957 args[i].equals("-classpath") || |
|
958 args[i].equals("-cp")) |
957 { |
959 { |
958 // Reset the includes,excludes and excludefiles after they have been used. |
960 // Reset the includes,excludes and excludefiles after they have been used. |
959 includes = new LinkedList<String>(); |
961 includes = new LinkedList<String>(); |
960 excludes = new LinkedList<String>(); |
962 excludes = new LinkedList<String>(); |
961 excludefiles = new LinkedList<String>(); |
963 excludefiles = new LinkedList<String>(); |