diff options
author | aclement <aclement> | 2009-03-23 15:40:05 +0000 |
---|---|---|
committer | aclement <aclement> | 2009-03-23 15:40:05 +0000 |
commit | f23fb4f9cbd0090c8092520415b237eb458d02d8 (patch) | |
tree | 3d32cc0b6d6e97e6fd26af601b5c6dc923a4a5c3 | |
parent | 93948ce0a0b7d7b2033243de4bc6863320d5553a (diff) | |
download | aspectj-f23fb4f9cbd0090c8092520415b237eb458d02d8.tar.gz aspectj-f23fb4f9cbd0090c8092520415b237eb458d02d8.zip |
consider aop-ajc.xml as resource creation
-rw-r--r-- | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java index cec06359e..15df3fc6e 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java @@ -647,9 +647,14 @@ public class AjBuildManager implements IOutputClassFileNameProvider, IBinarySour zos.write(baos.toByteArray()); zos.closeEntry(); } else { - OutputStream fos = FileUtil.makeOutputStream(new File(outputDir, filename)); + File outputFile = new File(outputDir, filename); + OutputStream fos = FileUtil.makeOutputStream(outputFile); fos.write(baos.toByteArray()); fos.close(); + if (buildConfig.getCompilationResultDestinationManager() != null) { + buildConfig.getCompilationResultDestinationManager().reportFileWrite(outputFile.getPath(), + CompilationResultDestinationManager.FILETYPE_RESOURCE); + } } } } |