public static boolean isRdsMode( IProject project ) {
String projectSpecificOption = "";
String rdsOption = OPTION_DISABLE;
+
+ // TODO: ad-hoc code. If the project referencing other projects, RDS is disabled.
+ try {
+ IProject[] refPrjs = project.getReferencedProjects();
+ if (refPrjs.length != 0 ) {
+ return false;
+ }
+ } catch (CoreException e) {
+ Logger.error("Failed to read the referenced project list.", e);
+ }
+
+
try {
projectSpecificOption = project.getPersistentProperty(RDS_PROPERTIES_SPECIFIC_OPTION_NAME);
} catch (CoreException e) {
GROUP2=SDK update
LABEL_UPDATE=Automatically find new updates at start-up and notify me
PROPERTIES_PAGE_BODY=Expand the tree to edit preferences for a specific feature.
-RDS_NOTE=Currently, this option is not supported for web application.
+RDS_NOTE=Currently, this option is not supported for web project and multi-app project.
RDS_OPTION_SAVE_FAIL=Failed to save options.
\ No newline at end of file