label.pgl

来自「Anthill是一个确保受控建造过程和促进在组织内部共享知识的工具。Anthil」· PGL 代码 · 共 21 行

PGL
21
字号
<%@ import="com.urbancode.anthill.adapter.*" %><%@ import="com.urbancode.anthill.ProjectProperties" %><%ProfileRepositoryAdapter ra = (ProfileRepositoryAdapter)context.get("Adapter");ProjectProperties pp = (ProjectProperties)context.get("Properties");String tag = (String)context.get("Tag");String connectString = pp.getProperty(StarTeamRepositoryAdapter.CONNECT_KEY);String passwdFile = pp.getProperty(StarTeamRepositoryAdapter.PASSWD_FILE_KEY);String workDir = pp.getProperty(StarTeamRepositoryAdapter.WORK_DIR_KEY);if ((passwdFile != null) && (!passwdFile.trim().equals(""))) {%>cmd /x/c stcmd label -p "<%=connectString%>" -x -stop -pwdfile "<%=passwdFile%>" -nl "<%=tag%>" -b<%}else {%>cmd /x/c stcmd label -p "<%=connectString%>" -x -stop -nl "<%=tag%>" -b<%}%>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?