when building SDK/Config tree and EPOCROOT is missing, update status with: (Building cache with bad EPOCROOT)
--- a/core/com.nokia.carbide.cpp.sdk.ui/src/com/nokia/carbide/cpp/sdk/ui/shared/BuildTargetTreeNode.java Thu Sep 09 09:31:25 2010 -0500
+++ b/core/com.nokia.carbide.cpp.sdk.ui/src/com/nokia/carbide/cpp/sdk/ui/shared/BuildTargetTreeNode.java Thu Sep 09 09:47:25 2010 -0500
@@ -160,7 +160,11 @@
monitor.worked(1);
for (ISymbianSDK sdk : sdkListCopy) {
monitor.worked(1);
- monitor.setTaskName(msgPrefix + sdk.getUniqueId());
+ String sdkErr = ""; // If we are scanning due to errors in the SDK
+ if (!(new File(sdk.getEPOCROOT()).exists())){
+ sdkErr = " (Building cache with bad EPOCROOT)";
+ }
+ monitor.setTaskName(msgPrefix + sdk.getUniqueId() + sdkErr);
BuildTargetTreeNode treeNode = new BuildTargetTreeNode(
sdk, sbsv2Project);
if (treeNode.getChildren() != null || sbsv2Project) {