在 Rational Team Concert™ Source Control 頁面上,您可以在建置定義中指定元件載入規則,您必須在建立建置定義時,選取 Rational Team Concert Source Control 作為「預先建置」選項,才會顯示這個頁面。
當建立 Jazz™ 建置定義時,您可以建立元件載入規則檔來定義供建置載入的元件檔案和資料夾子集。 如果未指定載入規則檔,建置會載入整個元件。 您必須在建置工作區中,建立載入規則檔。 如果建置定義啟用接受送入變更集,則會先接受送入變更集,再讀取載入規則檔案。
# Two directives are supported: # folderName= # RootFolderName= # In this example the component contains the following tree of folders # /MyMain/ # /MyMain/products/ # /MyMain/products/command line client/ # /MyMain/products/command line client/project1/ # /MyMain/products/command line client/project1/src/ # /MyMain/products/command line client/project1/src/A.java # /MyMain/products/command line client/project1/src/... a number of other sub directories and files # /MyMain/products/command line client/project2/ # /MyMain/products/command line client/project3/ # /MyMain/products/MetroNome/project4/ # /MyMain/products/MetroNome/project5/ # /MyMain/products/RTC/project6/ # plus other directories under MyMain # use folderName to specify a particular folder to load # the name of the folder is full, case-correct path starting at the component root # this line loads the folder /MyMain/products/RTC/project4/ and the files # (but not the subfolders) it contains folderName=/MyMain/products/RTC/project4/ # use RootFolderName when you want to load a folder and all of its subfolders, # including new ones that may be created after the load rules file has been written # this line loads the folder /MyMain/products and all of the files and subfolders it contains RootFolderName=/MyMain/products/