core/com.nokia.carbide.cpp.sdk.core/src/com/nokia/carbide/cpp/internal/api/sdk/SBSv2Utils.java
equal
deleted
inserted
replaced
234 scanSBSv2(); |
234 scanSBSv2(); |
235 scannedSbsState = true; |
235 scannedSbsState = true; |
236 } |
236 } |
237 return sbsPath != null ? sbsPath : new Path(sbsScriptName); // dummy |
237 return sbsPath != null ? sbsPath : new Path(sbsScriptName); // dummy |
238 } |
238 } |
239 |
239 |
240 private static List<ISymbianBuildContext> sortContexts(List<ISymbianBuildContext> contexts){ |
|
241 Collections.sort(contexts, new Comparator<ISymbianBuildContext>() { |
|
242 public int compare(ISymbianBuildContext o1, ISymbianBuildContext o2) { |
|
243 return o2.getDisplayString().compareTo(o1.getDisplayString()); |
|
244 } |
|
245 }); |
|
246 |
|
247 return contexts; |
|
248 } |
|
249 |
240 |
250 private static boolean isSBSv1Supported() { |
241 private static boolean isSBSv1Supported() { |
251 if (HostOS.IS_UNIX){ |
242 if (HostOS.IS_UNIX){ |
252 return false; |
243 return false; |
253 } |
244 } |