Permalink
Browse files

dragonfly: do not default to CDC execution environment for BUGapps.

If execution environment is not specified, assume compatible with BUG.
 Fixes buglabs/bug-osgi#3.
  • Loading branch information...
1 parent eef4dfc commit d2d0ed42c6e22af173afa8c3249db3a4a03f81df @kgilmer kgilmer committed Aug 31, 2011
@@ -186,9 +186,9 @@ private boolean checkExecutionEnvironment(IProject project, BUGSupportInfoManage
} catch (Exception e1) {
UIUtils.handleNonvisualWarning("Unable to read Execution Environment for project " + project.getName(), e1, true); //$NON-NLS-1$
}
- // No EE in App, assumed to be PhoneME
+ // No EE in App, execution environment is ok
if (ee == null || ee.length() == 0)
- ee = BUGSupportInfoManager.PHONEME_EXECUTION_ENV;
+ return true;
return info.getExecutionEnvironment().contains(ee);
}

0 comments on commit d2d0ed4

Please sign in to comment.