only wait 5 seconds for rvct version info. If not found, default to rvct2_2. (This is for abld only) C3_BUILDER_WORK
authortimkelly
Wed, 28 Jul 2010 17:10:59 -0500
branchC3_BUILDER_WORK
changeset 1717 c652b45338b6
parent 1716 4abaef518a1f
child 1719 c55d4b8f7373
only wait 5 seconds for rvct version info. If not found, default to rvct2_2. (This is for abld only)
core/com.nokia.carbide.cpp.sdk.core/src/com/nokia/carbide/cpp/internal/sdk/core/model/AbstractSDKManager.java
--- a/core/com.nokia.carbide.cpp.sdk.core/src/com/nokia/carbide/cpp/internal/sdk/core/model/AbstractSDKManager.java	Wed Jul 28 17:07:31 2010 -0500
+++ b/core/com.nokia.carbide.cpp.sdk.core/src/com/nokia/carbide/cpp/internal/sdk/core/model/AbstractSDKManager.java	Wed Jul 28 17:10:59 2010 -0500
@@ -395,9 +395,9 @@
 				// RVCT waits for like 4 minutes trying to find a license when the computer is
 				// not connected to the network.  in such cases, the call to br.readline doesn't
 				// return for 4 minutes which is unacceptable here.  Instead we'll poll at 1/2 second
-				// intervals for 40 seconds and see if we get a response. On the first response we break out
+				// intervals for 5 seconds and see if we get a response. On the first response we break out
 				// of the loop and read the output. So in most normal circumstances it will take 1/2 to 1 seconds.
-				int maxTries = 80;
+				int maxTries = 10;
 				int numTries = 0;
 				while (numTries < maxTries) {
 					try {