📄 getworkingproject.pgl
字号:
<%@ import="com.urbancode.anthill.ProjectProperties" %><%@ import="com.urbancode.anthill.adapter.*" %><%@ import="com.urbancode.anthill.util.FileUtils" %><% ProjectProperties pp = (ProjectProperties)context.get("Properties");ProfileRepositoryAdapter ra = (ProfileRepositoryAdapter)context.get("Adapter");String connectString = pp.getProperty(StarTeamRepositoryAdapter.CONNECT_KEY);String passwdFile = pp.getProperty(StarTeamRepositoryAdapter.PASSWD_FILE_KEY);String workDir = pp.getProperty(StarTeamRepositoryAdapter.WORK_DIR_KEY);String workDirectory = System.getProperty(ProfileRepositoryAdapter.ANTHILL_ROOT_DIR_KEY) + File.separator + workDir;workDirectory = FileUtils.getOSDependentPath(workDirectory);if ((passwdFile != null) && (!passwdFile.trim().equals(""))) {%>cmd /x/c stcmd co -p "<%=connectString%>" -x -stop -pwdfile "<%=passwdFile%>" -is -o -rp "<%=workDirectory%>" "*" <%}else {%>cmd /x/c stcmd co -p "<%=connectString%>" -x -stop -is -o -rp "<%=workDirectory%>" "*" <%}%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -