<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/tt/onlinemanual/scm00101" xml:lang="en">
	<Header>
		<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">To use the Software Configuration Management system</Title>
		<Keyword ContextSensitive="No"><Level1>SCM</Level1>
		</Keyword>
		<Keyword ContextSensitive="No"><Level1>Check-in</Level1>
		</Keyword>
		<Keyword ContextSensitive="No"><Level1>Check-out</Level1>
		</Keyword>
	</Header>
	<GeneralSection><Paragraph class="Default">You can use the Software Configuration Management System (SCM) to copy a software component from an <Link href="/baanerp/tt/glossary/glossary#ovrc.tt" role="glossary">original VRC</Link> to a dedicated <Link href="/baanerp/tt/glossary/glossary#dvrc.tt" role="glossary">development VRC</Link>. You can then modify the component, for example, to fix a bug. If the component is finished and tested, you can put it back into the run-time environment.</Paragraph>
		<Paragraph class="Default">This process is called the check-out and check-in process. The component can still have the same VRC code, but it has a different revision number. Older revisions of the component are still retrievable.</Paragraph>
		<Paragraph class="Default"></Paragraph>
		<List><ListIntro>During the check-out period:</ListIntro>
			<ListItem>the original version is still available for the regular users in the run-time environment.</ListItem>
			<ListItem>other users cannot modify or check-out the original version.</ListItem>
			<ListItem>other users can test the checked out component. Refer to <Link href="#scm_groups" role="internal">SCM Group</Link> for details.</ListItem>
		</List>
		<Figure space-and-orientation="indented-estimated"><FigIntro>The following figure shows the Software Configuration Management (SCM) concept.</FigIntro>
			<HTML:IMG height="207" width="519" SRC="../images/tr_graph_scm_concept_1.gif" path="/enterpriseserver/tools/tt/onlinemanual" btb-count="1" btb-count2="1" btb-image-name="tr_graph_scm_concept_1.gif" btb-source-path="C:\SVN\docnl\Technology\EnterpriseServer~8.5\EnterpriseServer" btb-image-path="/enterpriseserver/tools/tt/images/tr_graph_scm_concept_1.gif" ID="IDAWEYBC" alt="[...]" xmlns:HTML="http://www.w3.org/TR/REC-html40"/></Figure>
		<Paragraph class="Default">SCM controls only the revisions of components in one VRC. If a component is copied to another VRC, the revision information is no longer available.</Paragraph>
		<Note><SectionTitle>
                                 Note
                              </SectionTitle>
			<Paragraph class="Default">There is a fundamental difference between copying software components in a new run-time environment and copying components into a development VRC with SCM. The components, which are copied into a development VRC with the SCM tool, are positioned at the same level as the original and have the development extension code, for example, tfB61O_a_dev1. This process is known as the check-in and check-out process.</Paragraph>
		</Note>
		<Figure space-and-orientation="indented-estimated"><FigIntro>The following figure shows the relation between the SCM procedure and the copy procedure.</FigIntro>
			<HTML:IMG height="316" width="506" SRC="../images/tr_graph_scm_concept_2.gif" path="/enterpriseserver/tools/tt/onlinemanual" btb-count="1" btb-count2="1" btb-image-name="tr_graph_scm_concept_2.gif" btb-source-path="C:\SVN\docnl\Technology\EnterpriseServer~8.5\EnterpriseServer" btb-image-path="/enterpriseserver/tools/tt/images/tr_graph_scm_concept_2.gif" ID="IDAHFYBC" alt="[...]" xmlns:HTML="http://www.w3.org/TR/REC-html40"/></Figure>
		<Note><SectionTitle>
                                 Note
                              </SectionTitle>
			<Paragraph class="Default">SCM only supports configuration management for the main component types such as Forms, Sessions, Table Definitions, Reports and Functions. The 4GL component types such as Labels, Questions, Messages are not supported.</Paragraph>
			<Paragraph class="Default">SCM makes use of the RCS software on the <GUIRef href="" role="manual"> ERP LN Server</GUIRef>. <Link href="http://www.gnu.org/software/rcs/rcs.html" role="wwwlink">RCS (Revision Control System)</Link> is freeware software. For more information on SCM, refer to the <DocRef>Infor ERP LN Development Tools 8.5 Developer's Guide (U8883 US)</DocRef>.</Paragraph>
			<Paragraph class="Default">In earlier versions of Infor Enterprise Server, SCM is only available on UNIX platforms. From version 8.4.2 you can also activate SCM on Windows platforms. For details, refer to solution 230630.</Paragraph>
		</Note>
	</GeneralSection>
	<GeneralSection ID="scm_groups"><SectionTitle>SCM Groups</SectionTitle>
		<Paragraph class="Default">In SCM groups, developers can share their checked-out runtime components, so they can test each other's components, but they cannot change them.</Paragraph>
		<Paragraph class="Default">When you start using SCM, the system automatically generates an SCM group for you. The name of your SCM group is identical to your user name.</Paragraph>
		<Paragraph class="Default">Normally, you can only access components that belong to your own SCM group.</Paragraph>
		<ProcedureList><ListIntro>To test a component that belongs to another SCM group (a component that was checked-out by another developer), you must modify your login configuration:</ListIntro>
			<ListItem>Open you Windows Client configuration (.bwc file).</ListItem>
			<ListItem>In the <GUIRef href="" role="manual">Command</GUIRef> field of the <GUIRef href="" role="manual">BW Configuration Properties</GUIRef> dialog box, fill the <GUIRef href="" role="manual">BAAN_SCM_GRP</GUIRef> variable with the name of the desired SCM group. For example, specify <Emphasis>-- -set BAAN_SCM_GRP = peter</Emphasis> to test software components that belong to SCM group "peter".</ListItem>
			<ListItem>Log in using the new configuration.</ListItem>
		</ProcedureList>
		<Paragraph class="Default">To return to your own SCM group: log off, remove the <Emphasis>-- -set BAAN_SCM_GRP = ....</Emphasis> setting from your Windows client configuration, and log in again.</Paragraph>
	</GeneralSection>
	<GeneralSection><SectionTitle>To set up the SCM environment</SectionTitle>
		<ProcedureList><ListIntro>Take the following steps to activate SCM for a VRC:</ListIntro>
			<ListItem>Start the <GUIRef href="/baanerp/tt/adv/ttadv1511m000" role="session">Package VRCs (ttadv1511m000)</GUIRef> session, and create a <Link href="/baanerp/tt/glossary/glossary#dvrc.tt" role="glossary">development VRC</Link>. The new VRC must be derived from the <Link href="/baanerp/tt/glossary/glossary#ovrc.tt" role="glossary">original VRC</Link>. See the previous figure for an example: the tfB61O_a_dev1 development VRC is derived from the tfB61O_a_cus1 original VRC.</ListItem>
			<ListItem>Start the <GUIRef href="/baanerp/tt/scm/ttscm0501m000" role="session">(De)activate SCM and Component Management by Package VRC (ttscm0501m000)</GUIRef> session. Select the original VRC (e.g. tfB61O_a_cus1) and click <GUIRef href="/baanerp/tt/scm/ttscm0501m000#exec.user.1" role="command">Activate SCM (and CM)</GUIRef> on the context menu.</ListItem>
			<ListItem>The <GUIRef href="/baanerp/tt/scm/ttscm0110s000" role="session">Activate SCM and Component Management by Package VRC (ttscm0110s000)</GUIRef> session is started automatically. Select the desired development VRC and click <GUIRef href="" role="manual">OK</GUIRef>.</ListItem>
			<ListItem>Log off and log in again to make the changes effective.</ListItem>
		</ProcedureList>
		<Paragraph class="Default">Repeat these steps for each VRC for which you want to activate SCM.</Paragraph>
	</GeneralSection>
	<GeneralSection><SectionTitle>Sessions</SectionTitle>
		<List><ListIntro>The following sessions can be started from the Software Configuration Management (SCM) menu:</ListIntro>
			<ListItem><GUIRef href="/baanerp/tt/scm/ttscm0501m000" role="session">(De)activate SCM and Component Management by Package VRC (ttscm0501m000)</GUIRef>
			</ListItem>
			<ListItem><GUIRef href="/baanerp/tt/scm/ttscm1200m000" role="session">Global Check-In of Components (ttscm1200m000)</GUIRef>
			</ListItem>
			<ListItem><GUIRef href="/baanerp/tt/scm/ttscm1201m000" role="session">Delete Component Revisions (ttscm1201m000)</GUIRef>
			</ListItem>
			<ListItem><GUIRef href="/baanerp/tt/scm/ttscm1202m000" role="session">Global Undo Check-Out of Components (ttscm1202m000)</GUIRef>
			</ListItem>
			<ListItem><GUIRef href="/baanerp/tt/scm/ttscm1203m000" role="session">Copy/Move Checked Out Components (ttscm1203m000)</GUIRef>
			</ListItem>
		</List>
	</GeneralSection>
	<RelatedTopics><SectionTitle>
                              Related topics
                           </SectionTitle>
		<RelTopic><Link href="/baanerp/tt/onlinemanual/checkinout" role="manual">To use the check-in and check-out procedure</Link>
		</RelTopic>
	</RelatedTopics>
</ManualTopic>
