Changeset 2233 for trunk/autoquest-plugin-jfc/src/main/java/de/ugoe/cs/autoquest/plugin/jfc/commands/CMDparseJFCDirwithJacaretoIndices.java
- Timestamp:
- 12/08/17 09:36:26 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-plugin-jfc/src/main/java/de/ugoe/cs/autoquest/plugin/jfc/commands/CMDparseJFCDirwithJacaretoIndices.java
r1946 r2233 83 83 84 84 String absolutPath = folder.getAbsolutePath(); 85 for (String filename : folder.list()) { 86 String source = absolutPath + File.separator + filename; 87 Console.traceln(Level.INFO, "Processing file: " + source); 88 89 try { 90 parser.parseFile(source); 91 } 92 catch (Exception e) { 93 Console.printerrln("Could not parse " + source + ": " + e.getMessage()); 85 String[] children = folder.list(); 86 87 if (children != null) { 88 for (String filename : children) { 89 String source = absolutPath + File.separator + filename; 90 Console.traceln(Level.INFO, "Processing file: " + source); 91 92 try { 93 parser.parseFile(source); 94 } 95 catch (Exception e) { 96 Console.printerrln("Could not parse " + source + ": " + e.getMessage()); 97 } 94 98 } 95 99 }
Note: See TracChangeset
for help on using the changeset viewer.