summaryrefslogtreecommitdiffstats
path: root/org.aspectj.ajdt.core
diff options
context:
space:
mode:
authoraclement <aclement>2009-01-31 01:10:34 +0000
committeraclement <aclement>2009-01-31 01:10:34 +0000
commit690015d703ba9bb16993c0d5b827d1bbf9333bcd (patch)
tree53390ca80f600bec8db08fdd8272b108eb594b2b /org.aspectj.ajdt.core
parent54462b3a7fdb26de5021caa8475b5b8b59b304f7 (diff)
downloadaspectj-690015d703ba9bb16993c0d5b827d1bbf9333bcd.tar.gz
aspectj-690015d703ba9bb16993c0d5b827d1bbf9333bcd.zip
124460: build config knows about some list of xml files
Diffstat (limited to 'org.aspectj.ajdt.core')
-rw-r--r--org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildConfig.java12
1 files changed, 11 insertions, 1 deletions
diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildConfig.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildConfig.java
index 233f9fe4f..9b1a00ddb 100644
--- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildConfig.java
+++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildConfig.java
@@ -47,6 +47,7 @@ public class AjBuildConfig implements CompilerConfigurationChangeFlags {
private List/* File */sourceRoots = new ArrayList();
private List/* File */changedFiles;
private List/* File */files = new ArrayList();
+ private List/* File */xmlfiles = new ArrayList();
private List /* File */binaryFiles = new ArrayList(); // .class files in indirs...
private List/* File */inJars = new ArrayList();
private List/* File */inPath = new ArrayList();
@@ -71,7 +72,7 @@ public class AjBuildConfig implements CompilerConfigurationChangeFlags {
public String toString() {
StringBuffer sb = new StringBuffer();
sb.append("BuildConfig[" + (configFile == null ? "null" : configFile.getAbsoluteFile().toString()) + "] #Files="
- + files.size());
+ + files.size() + " AopXmls=#" + xmlfiles.size());
return sb.toString();
}
@@ -120,6 +121,10 @@ public class AjBuildConfig implements CompilerConfigurationChangeFlags {
return files;
}
+ public List/* File */getXmlFiles() {
+ return xmlfiles;
+ }
+
/**
* returned files includes all .class files found in a directory on the inpath, but does not include .class files contained
* within jars.
@@ -144,6 +149,10 @@ public class AjBuildConfig implements CompilerConfigurationChangeFlags {
this.files = files;
}
+ public void setXmlFiles(List xmlfiles) {
+ this.xmlfiles = xmlfiles;
+ }
+
public void setOutputDir(File outputDir) {
this.outputDir = outputDir;
}
@@ -341,6 +350,7 @@ public class AjBuildConfig implements CompilerConfigurationChangeFlags {
setEmacsSymMode(true);
}
join(files, global.files);
+ join(xmlfiles, global.xmlfiles);
if (!isGenerateModelMode() && global.isGenerateModelMode()) {
setGenerateModelMode(true);
}