%--
* Copyright by Intland Software
*
* All rights reserved.
*
* This software is the confidential and proprietary information
* of Intland Software. ("Confidential Information"). You
* shall not disclose such Confidential Information and shall use
* it only in accordance with the terms of the license agreement
* you entered into with Intland.
*
* $Revision$ $Date$
--%>
<%@ taglib uri="jstl-c" prefix="c" %>
<%@ taglib uri="jstl-fmt" prefix="fmt" %>
<%@ taglib uri="struts-html" prefix="html" %>
<%@ taglib uri="taglib" prefix="tag" %>
<%@ taglib uri="wikitab" prefix="wikitab" %>
<%@ taglib uri="uitaglib" prefix="ui" %>
<%@page import="com.intland.codebeamer.manager.ScmProjectManager"%>
<%@page import="com.intland.codebeamer.controller.ControllerUtils"%>
<%@page import="com.intland.codebeamer.persistence.dto.ProjectDto"%>
<%@page import="com.intland.codebeamer.scm.ScmException"%>
Name:
Description:
Description Format:
Ant Logging Level:
as written here.
Ant Build File:
build.xml
<% ProjectDto project = ControllerUtils.getCurrentProject(request);
boolean distributed = false;
try {
distributed = ScmProjectManager.getInstance().isDistributed(project.getId());
} catch (ScmException ex) {
}
pageContext.setAttribute("project", project);
if (project != null && distributed) {%>
Ant Targets:
clean,compile,deploy
Ant Properties:
project.name=mywebapp
project.version=1.0-beta1
<%--
Status:
--%>
Ant Class path:
<%--
Modified the fields : for Metrics Option and the run Build periodically.
--%>
Synchronization:
Scheduler:
by CodeBeamer scheduler.
On Success:
On Error:
<%--
Update:
--%>
CodeBeamer will additional set the Properties as follows:
CB_HOME,CB_PROJ_ID,CB_PROJECT,
CB_SRCDIR,CB_DOCDIR,CB_KIT_ID,
CB_JDBC_DRIVER,CB_JDBC_URL,
CB_JDBC_USER and CB_JDBC_PASSWORD.
Target Release Kit: After a successful build, this value will be
used by the Ant task CBRelease (this task is already a known
Ant task, when the build is executed by CodeBeamer) to create a new Release.
--%>
CBRelease usage example:
<jar jarfile="jdiff.jar" basedir="builds" /> <CBRelease file="jdiff.jar" />
CBPost usage example:
<CBPost forumid="55" subject="Hello!" description="Hello __world__!" format="W" />For detailed documentation of the CodeBeamer Ant tasks, please refer to your manual.
CBExportReport usage example:
<CBExportReport reportId="1007" type="excel" comments="true" fileName="/var/reports/recent.xls" />