diff options
author | aclement <aclement> | 2009-09-30 18:56:44 +0000 |
---|---|---|
committer | aclement <aclement> | 2009-09-30 18:56:44 +0000 |
commit | 11edfc23a87c8bf5505f295dfe08cb54b674cd21 (patch) | |
tree | 328bd53eb8512e9cab40ed3bdfb0d97686f1a90f /ajde.core | |
parent | da285d792f152bceabfe52fc1cafc1b948c50da4 (diff) | |
download | aspectj-11edfc23a87c8bf5505f295dfe08cb54b674cd21.tar.gz aspectj-11edfc23a87c8bf5505f295dfe08cb54b674cd21.zip |
1.6.6V1_6_6
Diffstat (limited to 'ajde.core')
-rw-r--r-- | ajde.core/src/org/aspectj/ajde/core/internal/AjdeCoreBuildManager.java | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/ajde.core/src/org/aspectj/ajde/core/internal/AjdeCoreBuildManager.java b/ajde.core/src/org/aspectj/ajde/core/internal/AjdeCoreBuildManager.java index 774dd7b33..39b7d7704 100644 --- a/ajde.core/src/org/aspectj/ajde/core/internal/AjdeCoreBuildManager.java +++ b/ajde.core/src/org/aspectj/ajde/core/internal/AjdeCoreBuildManager.java @@ -168,27 +168,32 @@ public class AjdeCoreBuildManager { } private String formatCollection(Collection options) { - if (options == null) + if (options == null) { return "<default>"; - if (options.isEmpty()) + } + if (options.isEmpty()) { return "none"; + } StringBuffer formattedOptions = new StringBuffer(); Iterator it = options.iterator(); while (it.hasNext()) { String o = it.next().toString(); - if (formattedOptions.length() > 0) + if (formattedOptions.length() > 0) { formattedOptions.append(", "); + } formattedOptions.append(o); } return formattedOptions.toString(); } private String formatMap(Map options) { - if (options == null) + if (options == null) { return "<default>"; - if (options.isEmpty()) + } + if (options.isEmpty()) { return "none"; + } return options.toString(); } @@ -223,7 +228,7 @@ public class AjdeCoreBuildManager { } List xmlfiles = compilerConfig.getProjectXmlConfigFiles(); if (xmlfiles != null && !xmlfiles.isEmpty()) { - args = new String[l.size() + xmlfiles.size()]; + args = new String[l.size() + xmlfiles.size() + 1]; // TODO speedup int p = 0; for (int i = 0; i < l.size(); i++) { @@ -232,6 +237,7 @@ public class AjdeCoreBuildManager { for (int i = 0; i < xmlfiles.size(); i++) { args[p++] = (String) xmlfiles.get(i); } + args[p++] = "-xmlConfigured"; } else { args = (String[]) l.toArray(new String[l.size()]); } |