diff options
author | aclement <aclement> | 2004-02-26 11:22:31 +0000 |
---|---|---|
committer | aclement <aclement> | 2004-02-26 11:22:31 +0000 |
commit | ff32dfb1ea7056dcafe28c7d2b78141568cc4fc6 (patch) | |
tree | f1915f881e7f2fe5ffc194649d412165be702431 /weaver | |
parent | 75ce009e27c754b669d8949342a3c2e15c197db4 (diff) | |
download | aspectj-ff32dfb1ea7056dcafe28c7d2b78141568cc4fc6.tar.gz aspectj-ff32dfb1ea7056dcafe28c7d2b78141568cc4fc6.zip |
Final part of bug #46347 (-inpath): We do not copy resources from inpath directories to the output.
Diffstat (limited to 'weaver')
-rw-r--r-- | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java b/weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java index 2e599fa93..5d92584af 100644 --- a/weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java +++ b/weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java @@ -137,6 +137,9 @@ public class BcelWeaver implements IWeaver { } + // The ANT copy task should be used to copy resources across. + private final static boolean CopyResourcesFromInpathDirectoriesToOutput=false; + /** * Add any .class files in the directory to the outdir. Anything other than .class files in * the directory (or its subdirectories) are considered resources and are also copied. @@ -168,8 +171,10 @@ public class BcelWeaver implements IWeaver { // System.err.println("BCELWeaver: processing class from input directory "+classFile); this.addClassFile(classFile); } else { + if (CopyResourcesFromInpathDirectoriesToOutput) { // System.err.println("BCELWeaver: processing resource from input directory "+filename); addResource(filename,classFile); + } } fis.close(); } |