From 93948ce0a0b7d7b2033243de4bc6863320d5553a Mon Sep 17 00:00:00 2001 From: aclement Date: Mon, 23 Mar 2009 02:29:57 +0000 Subject: [PATCH] generalize report API to cover resources and outjar --- .../compiler/CompilationResultDestinationManager.java | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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; } -- 2.39.5