⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 getrevisionssince.pgl

📁 Anthill是一个确保受控建造过程和促进在组织内部共享知识的工具。Anthill在每一次建造之前从项目最新版本的源文件库中借出文件
💻 PGL
字号:
<%@ import="com.urbancode.anthill.ProjectProperties" %><%@ import="com.urbancode.anthill.adapter.*" %><%ProjectProperties pp = (ProjectProperties)context.get("Properties");CVSRepositoryAdapter ra = (CVSRepositoryAdapter)context.get("Adapter");Date date = (Date)context.get("Date");String cvsroot = pp.getProperty(CVSRepositoryAdapter.ROOT_KEY);String branch = pp.getProperty(CVSRepositoryAdapter.BRANCH_KEY);String module = pp.getProperty(CVSRepositoryAdapter.MODULE_KEY);String pageletDir = System.getProperty(ProfileRepositoryAdapter.ANTHILL_ROOT_DIR_KEY) +                    File.separator + "conf" +                    File.separator + "profiles"+ File.separator + "Unix" +                    File.separator + "unix_cvs" + File.separator;String workDir = System.getProperty(ProfileRepositoryAdapter.ANTHILL_ROOT_DIR_KEY) +                 File.separator + pp.getProperty(CVSRepositoryAdapter.WORK_DIR_KEY);if (workDir.endsWith(File.separator)) {        workDir = workDir.substring(0, workDir.length()-1);}String branchString = "";String dateString = "";if (date != null) {     TimeZone gmtTimeZone = TimeZone.getTimeZone("GMT");     ra.CVS_IN_DATE.setTimeZone(gmtTimeZone);     String dateConstraint = ">" +ra.CVS_IN_DATE.format(date) + " GMT";     dateString+=" -d " + dateConstraint;}if ((branch != null) && (!branch.equals(""))) {     branchString+="-r" + branch;     workDir = workDir + File.separator + branch;}else {     branchString+="-rHEAD -N";}%><% if ((workDir != null) && (!workDir.trim().equals(""))) {        workDir = workDir + File.separator + module;        File tempFile = new File(workDir);        if (!tempFile.exists()) {                tempFile.mkdirs();        }%><%   }%>sh <%=pageletDir%>getRevisionsSince.sh <%=workDir%> <%=cvsroot%> <%=dateString%> <%=branchString%>

⌨️ 快捷键说明

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