540403: added log entry if this occurs
diff --git a/org.eclipse.ajdt.core/src/org/eclipse/ajdt/internal/core/ajde/CoreOutputLocationManager.java b/org.eclipse.ajdt.core/src/org/eclipse/ajdt/internal/core/ajde/CoreOutputLocationManager.java
index 1893d49..11e5201 100644
--- a/org.eclipse.ajdt.core/src/org/eclipse/ajdt/internal/core/ajde/CoreOutputLocationManager.java
+++ b/org.eclipse.ajdt.core/src/org/eclipse/ajdt/internal/core/ajde/CoreOutputLocationManager.java
@@ -298,7 +298,8 @@
// presumably it is being recompiled
if (Util.isJavaLikeFileName(compilationUnit.getName()) && !isComputingXmlFile()) {
if (compiledSourceFiles == null) {
- System.err.println("Unexpectedly buildStarted() has not been called yet, unable to record: "+compilationUnit.getName());
+ // pr540403
+ AJLog.log(AJLog.BUILDER,"Unexpectedly buildStarted() has not been called yet, unable to record: "+compilationUnit.getName());
} else {
compiledSourceFiles.add(compilationUnit);
}