애플리케이션 명령을 실행하려면 어댑터에 환경 변수가 필요합니다. 어댑터 템플리트에서 환경 변수는 XML 파일의 <template> 섹션에 있는 <env> 요소에 나열됩니다.
예를 들어, ClearCaseBaseline 어댑터의 경우 ClearCaseBaseline.xml 파일에 다음 환경 변수가 나열됩니다.
<template>
<!-- Template section, these are parsed out of the final xml.
Use the list below to help identify the variables needed to run this interface
if you are integrating it during a regular BuildForge step.
-->
<env name="VIEW" value="my_adaptor_view" />
<env name="VOB_PATH" value="\AdaptorVob" />
<env name="CCSERVER" value="BFServerName" /></template>
Build Forge에서 환경 변수는 환경에 저장됩니다. 어댑터를 작성하기 전에 애플리케이션 환경 변수의 환경을 작성하십시오.