Lines 356-362
Link Here
|
356 |
this.parameters.put(Logger.PATH, f.getCanonicalPath()); |
356 |
this.parameters.put(Logger.PATH, f.getCanonicalPath()); |
357 |
this.printTag(Logger.CLASS_FILE, this.parameters, true, true); |
357 |
this.printTag(Logger.CLASS_FILE, this.parameters, true, true); |
358 |
} catch (IOException e) { |
358 |
} catch (IOException e) { |
359 |
this.logNoClassFileCreated(fileName); |
359 |
this.logNoClassFileCreated(outputPath, relativeFileName); |
360 |
} |
360 |
} |
361 |
} |
361 |
} |
362 |
} |
362 |
} |
Lines 455-467
Link Here
|
455 |
/** |
455 |
/** |
456 |
* |
456 |
* |
457 |
*/ |
457 |
*/ |
458 |
public void logNoClassFileCreated(String fileName) { |
458 |
public void logNoClassFileCreated(String outputDir, String relativeFileName) { |
459 |
if ((this.tagBits & Logger.XML) != 0) { |
459 |
if ((this.tagBits & Logger.XML) != 0) { |
460 |
this.parameters.clear(); |
460 |
this.parameters.clear(); |
461 |
this.parameters.put(Logger.MESSAGE, Main.bind("output.noClassFileCreated", fileName)); //$NON-NLS-1$ |
461 |
this.parameters.put(Logger.MESSAGE, Main.bind("output.noClassFileCreated", outputDir, relativeFileName)); //$NON-NLS-1$ |
462 |
this.printTag(Logger.ERROR_TAG, this.parameters, true, true); |
462 |
this.printTag(Logger.ERROR_TAG, this.parameters, true, true); |
463 |
} |
463 |
} |
464 |
this.printlnErr(Main.bind("output.noClassFileCreated", fileName)); //$NON-NLS-1$ |
464 |
this.printlnErr(Main.bind("output.noClassFileCreated", outputDir, relativeFileName)); //$NON-NLS-1$ |
465 |
} |
465 |
} |
466 |
|
466 |
|
467 |
public void logNoClasspath() { |
467 |
public void logNoClasspath() { |
Lines 2788-2796
Link Here
|
2788 |
this.destinationPath, |
2788 |
this.destinationPath, |
2789 |
relativeStringName); |
2789 |
relativeStringName); |
2790 |
} catch (IOException e) { |
2790 |
} catch (IOException e) { |
2791 |
String fileName = this.destinationPath + relativeStringName; |
2791 |
this.logger.logNoClassFileCreated(this.destinationPath, relativeStringName); |
2792 |
e.printStackTrace(); |
|
|
2793 |
this.logger.logNoClassFileCreated(fileName); |
2794 |
} |
2792 |
} |
2795 |
this.exportedClassFilesCounter++; |
2793 |
this.exportedClassFilesCounter++; |
2796 |
} |
2794 |
} |