From: aclement Date: Mon, 23 Mar 2009 02:29:57 +0000 (+0000) Subject: generalize report API to cover resources and outjar X-Git-Tag: V1_6_4~48 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=93948ce0a0b7d7b2033243de4bc6863320d5553a;p=aspectj.git generalize report API to cover resources and outjar --- diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/CompilationResultDestinationManager.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/CompilationResultDestinationManager.java index 39f8aeaf8..8eb0e9434 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/CompilationResultDestinationManager.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/CompilationResultDestinationManager.java @@ -66,13 +66,18 @@ public interface CompilationResultDestinationManager { * * @param outputfile the output file (including .class suffix) */ - void reportClassFileWrite(String outputfile); + void reportFileWrite(String outputfile, int filetype); /** * Report that a class file is being deleted from the specified location. * * @param outputfile the output file (including .class suffix) */ - void reportClassFileRemove(String outputfile); + void reportFileRemove(String outputfile, int filetype); + // match numbers in IOutputLocationManager - ought to factor into super interface + int FILETYPE_UNKNOWN = 0; + int FILETYPE_CLASS = 1; + int FILETYPE_OUTJAR = 2; + int FILETYPE_RESOURCE = 3; }