TDI-21185: disable it first.
git-svn-id: http://talendforge.org/svn/tos/trunk@90778 f6f1c999-d317-4740-80b0-e6d1abc6f99e
This commit is contained in:
@@ -44,4 +44,16 @@ public final class TalendPropertiesUtil {
|
||||
|
||||
return Boolean.parseBoolean(value);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* DOC ggu Comment method "isEnabledMultiBranchesInWorkspacee".
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public static boolean isEnabledMultiBranchesInWorkspacee() {
|
||||
String value = System.getProperty("talend.enable.multiBranchesInWorkspace"); //$NON-NLS-1$
|
||||
|
||||
return Boolean.parseBoolean(value);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,6 +38,7 @@ import org.talend.core.model.repository.ERepositoryObjectType;
|
||||
import org.talend.core.model.repository.IRepositoryViewObject;
|
||||
import org.talend.core.model.repository.RepositoryManager;
|
||||
import org.talend.core.model.repository.SVNConstant;
|
||||
import org.talend.core.model.utils.TalendPropertiesUtil;
|
||||
import org.talend.core.runtime.CoreRuntimePlugin;
|
||||
import org.talend.core.ui.IReferencedProjectService;
|
||||
import org.talend.repository.model.IProxyRepositoryFactory;
|
||||
@@ -419,7 +420,8 @@ public final class ProjectManager {
|
||||
}
|
||||
|
||||
public boolean enableSpecialTechnicalProjectName() {
|
||||
return true; // FIXME TDI-21185, add the function to enable disabling this function.
|
||||
// FIXME TDI-21185, add the function to enable disabling this function.
|
||||
return TalendPropertiesUtil.isEnabledMultiBranchesInWorkspacee();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user