UMLÈí¼þ¹¤³Ì×éÖ¯

UCM ClearCase Óë ClearQuestµÄ¼¯³É
É̻۲¨ , Rational Team Èí¼þ¹¤³Ìʦ£¬IBMÖйúÈí¼þʵÑéÊÒ£¬IBM

¡¡¡¡ClearCase ÊÇÒµ½ç·Ç³£ÓÅÐãµÄÈí¼þ°æ±¾¿ØÖƹ¤¾ßºÍÈí¼þ×ÊÔ´ÅäÖùÜÀí¹¤¾ß£¬Ä¿Ç°ÔÚÈí¼þ¿ª·¢ÏîÄ¿ÖÐÓ¦ÓýÏΪ¹ã·º£»ClearQuestÔòÊÇÈí¼þ±ä¸ü¹ÜÀíºÍȱÏݸú×Ù¹¤¾ß¡£ÔÚʵ¼ÊµÄÈí¼þ²úÆ·¿ª·¢¹ý³ÌÖУ¬Á½ÕߵĽáºÏʹÓ㬻Ἣ´óµØÌá¸ß¿ª·¢Ð§ÂÊ£¬±£Ö¤²úÆ·ÖÊÁ¿¡£±¾ÎÄÏêϸ½éÉÜÁËClearCaseÓëClearQuestµÄÁ½ÖÖ¼¯³É·½Ê½Ö®Ò»£ºUCM ClearCaseÓëClearQuestµÄ¼¯³É¡£
ÒýÑÔ

¡¡¡¡ClearCase ÊÇÒµ½ç·Ç³£ÓÅÐãµÄÈí¼þ°æ±¾¿ØÖƹ¤¾ßºÍÈí¼þ×ÊÔ´ÅäÖùÜÀí¹¤¾ß£¬ÔÚʵ¼ÊµÄÈí¼þ¿ª·¢¹ý³ÌÖУ¬²ÉÓÃClearCase½øÐа汾¿ØÖÆÄܹ»ÊµÏÖÕæÕýÒâÒåµÄ²¢Ðпª·¢£¬Ìá¸ß¿ª·¢Ð§ÂÊ¡£ClearCase¾ßÓÐÁ½ÖÖÓ¦Óõķ½Ê½£ºBase ClearCase ÒÔ¼° UCM ClearCase¡£ÕâÁ½ÖÖ·½Ê½ÓµÓÐן÷×Ô²»Í¬µÄ¸ÅÄî¡¢¹¦ÄܺÍÓ¦Ó÷¶Î§£ºÓÉÓÚBase ClearCase µÄ¸ÅÄîÏà¶Ô¼òµ¥£¬¹¦ÄÜÒ²±È½Ïµ¥Ò»£¬Òò¶øËüÒ×ÓÚÕÆÎÕ£¬ÊÊÓÃÓÚСÐÍÈí¼þÏîÄ¿µÄ¿ª·¢¹ý³ÌÖУ»¶øUCM ClearCaseÉæ¼°µÄ¸ÅÄî±È½Ï¶à£¬Âß¼­Ò²Ïà¶Ô¸´ÔÓ£¬ËüÌṩÁ˸ü¼Ó·á¸»ºÍÍêÉƵŦÄÜ£¬Òò¶ø½Ï¶àµÄÓ¦ÓÃÓÚ´óÐÍÈí¼þϵͳµÄ¿ª·¢¹ý³ÌÖС£

¡¡¡¡ClearQuest×÷ΪÈí¼þ±ä¸ü¹ÜÀíºÍȱÏݸú×Ù¹¤¾ß£¬ÔÚʵ¼Ê¿ª·¢ÖУ¬¶ÔÓÚ±£ÕÏÈí¼þ²úÆ·µÄÖÊÁ¿£¬Ð­µ÷¸÷¿ª·¢ÍŶÓÖ®¼äµÄºÏ×÷Æðµ½ÁËÏ൱ÖØÒªµÄ×÷Óá£ClearQuestÊǸ߶ȿÉÅäÖõģ¬¿ÉÊÊÓ¦¼¸ºõËùÓеÄ×Ô¶¯»¯Á÷³ÌÉè¼Æ£¬Í¬Ê±Ö§³ÖÓû§¶¨Òå¡¢¹¤×÷Á÷Ö§³Ö£¨¿É¶¨ÖƵÄ״̬»ú£©¡¢×ֶΡ¢±íµ¥ºÍµç×ÓÓʼþ֪ͨµÈ¡£

Ò»¡¢ ClearCase ÓëClearQuestµÄ¼¯³É

¡¡¡¡ËùνClearCaseºÍClearQuestµÄ¼¯³É£¬¾ÍÊÇÖ¸½«ClearQuestÖеıä¸üÇëÇó(Change Request)¹ØÁªµ½ClearCaseÖÐijԪËØ£¨element£©µÄijһ°æ±¾(Version)ÉÏ¡£Ò»¸ö±ä¸üÇëÇó¿ÉÒÔ±»¹ØÁªµ½Ò»¸ö»ò¶à¸ö°æ±¾ÉÏ£¬ÕâЩ°æ±¾±»³ÆΪ±ä¸üÇëÇóµÄ±ä¸ü¼¯£¨Change Set£©¡£Ò»¸ö°æ±¾¿ÉÒÔ±»¹ØÁªµ½Ò»¸ö»ò¶à¸ö±ä¸üÇëÇó£¬ÕâЩ±ä¸üÇëÇó±»³Æ×÷°æ±¾µÄÇëÇ󼯣¨Request Set£©¡£ÓÉÓÚClearCaseµÄÓ¦Ó÷ÖΪÁ½ÖÖ·½Ê½£ºBase ºÍ UCM£¬Òò¶ø£¬ClearCase Óë ClearQuestµÄ¼¯³ÉÒ²¾ßÓÐÁ½ÖÖ·½Ê½£ºBase ClearCase Óë ClearQuestµÄ¼¯³ÉÒÔ¼°UCM ClearCase Óë ClearQuestµÄ¼¯³É¡£±¾ÎÄÖ÷Òª½éÉܵÄÊÇUCM ClearCase Óë ClearQuest µÄ¼¯³É·½Ê½¡£

¶þ¡¢ UCM ClearCase Óë ClearQuest ¼¯³ÉµÄÓ¦Óùý³Ì½éÉÜ

¡¡¡¡¹¤³Ì£¨Project£©ÊÇUCM ClearCaseµÄÒ»¸öÖØÒª¸ÅÄҪʵÏÖUCM ClearCaseÓëClearQuestµÄ¼¯³É£¬Ê×ÏȱØÐëÔÚClearCase UCMµÄ»·¾³Àï´´½¨Ò»¸öCQ Enabled Project£¬¼´Ò»¸ö¼¤»îÁËClearQuestÏàÓ¦¹¦ÄܵŤ³Ì£¨Project£©¡£

¡¡¡¡ÏÂÃ潫Ïêϸ²ûÊöUCM ClearCase Óë ClearQuest ¼¯³É»·¾³µÄ´î½¨£¬ÒÔ¼°¾ßÌåµÄ¼¯³ÉµÄÓ¦Óùý³Ì¡£

¡¡¡¡1. »·¾³´î½¨

¡¡¡¡1) ClearCase ·½Ã棬Ê×ÏÈÒª´´½¨Ò»¸öProject VOBºÍ Component VOB£¬²¢ÇÒ½«Ð´´½¨µÄComponent VOB³ÉΪProject VOBµÄÒ»¸öComponent¡£

Windows »·¾³Ï£º
  • ´´½¨Project VOB£ºÑ¡ÔñPrograms > IBM Rational > Rational ClearCase > Administration > Create VOB£¬ÊäÈëVOBÃû³Æ£ºpvob£»Ñ¡Ôñ"Create as a UCM project VOB"Ñ¡Ï±íʾҪ´´½¨µÄÊÇÒ»¸öProject VOB£»ÔÚÑ¡Ôñadministrator vobÒ»ÏîÀѡÔñnone¡£ÆäËû²ÉÓÃĬÈÏÖµ£¬ÔÚÈ·ÈÏÒ³Éϵ¥»÷"¼ÌÐø" £¬Íê³ÉProject VOBµÄ´´½¨¹ý³Ì¡£
  • ´´½¨Component VOB£ºÑ¡ÔñPrograms > IBM Rational > Rational ClearCase > Administration > Create VOB£¬ÊäÈëVOBÃû³Æ£ºcvob£»Ñ¡Ôñ"contain UCM objects"£¬±íʾҪ´´½¨µÄÊÇÒ»¸öComponent VOB£»ÔÚÑ¡Ôñadministrator vobÒ»ÏîÀѡÔñ¸Õ¸Õ´´½¨µÄpvob£¬ ½¨Á¢ÕâÁ½¸öVOBÖ®¼äµÄ¹Øϵ¡£ÆäËû²ÉÓÃĬÈÏÖµ£¬×îºóÔÚÈ·ÈÏÒ³Éϵ¥»÷"¼ÌÐø"£¬Íê³ÉComponent VOBµÄ´´½¨¹¤×÷¡£

  • ʹcvob³ÉΪpvobµÄÒ»¸öComponent£º´Ó¿ªÊ¼²Ëµ¥ÀïÑ¡Ôñ Programs -> IBM Rational -> Rational ClearCase -> Project Explorer£¬Ñ¡ÖÐpvob£¬´Ó²Ëµ¥ÖÐÑ¡ÔñTools ' Import ' VOB as Component£¬ÔÚµ¯³öµÄÑ¡ÔñÒ³ÃæÖдÓ×óÃæµÄ±¸Ñ¡¿òÖÐÑ¡Ôñcvob£¬¼ÓÈëµ½ÓÒÃæµÄÒÑÑ¡¿ò£¬×îºóµ¥»÷"import"¡£

    ͼ1 Import VOB

    Unix»·¾³Ï£¬¿ÉÒÔʹÓÃÃüÁîÐÐÍê³ÉÒÔÉϹý³Ì£º
    • ´´½¨Project VOB£º > cleartool mkvob -nc -ucmproject -tag /var/tmp/pvob /var/tmp/pvob.vbs
    • ´´½¨ Component VOB£º > cleartool mkvob -nc -tag /var/tmp/cvob /var/tmp/cvob.vbs
    • ´´½¨Project VOBµÄcomponent£º > cleartool mkcomp -nc -root /var/tmp/cvob comp_1

    2) ÔÚClearQuest·½Ã棬ÐèÒª×öµÄ×¼±¸¹¤×÷ÓУº
    • ÔÚÑ¡¶¨µÄÊý¾Ý¿â¹ØϵϵͳÉÏ£¬´´½¨schema Êý¾Ý¿âºÍuser Êý¾Ý¿â£»
    • Èç¹ûÊÇÔÚWindows»·¾³ÏÂÓ¦ÓÃUCM ClearCase Óë ClearQuestµÄ¼¯³É£¬Ö»ÐèÀûÓÃWindows »·¾³ÏµÄClearQuest Maintenance Tool´´½¨repository schema¡£
    ´´½¨Sample DBʱ£¬Schema µÄÀàÐÍÐèҪѡÔñ UCM ÀàÐÍ£


    ͼ2 Ñ¡ÔñUCM µÄ Schema ÀàÐÍ
    Èç¹ûÊÇÔÚUnix»·¾³ÏÂÓ¦ÓÃUCM ClearCaseÓëClearQuestµÄ¼¯³É£¬ÐèÒªÁíÍâ×¼±¸Ò»Ì¨×°ÓÐClearQuest Maintenance toolµÄ»úÆ÷£¬°ïÖú½¨Á¢repository schema£¬ È»ºóÔÙÔÚUnix»úÆ÷ÉÏ´´½¨ÏàÓ¦µÄconnection ¡£ÕâÊÇÒòΪ£¬Ä¿Ç°ClearQuest²úÆ·ÔÚUnixƽ̨ÉÏ»¹Ã»ÓÐÌṩͼÐνçÃæµÄMaintenance tool¡£
    2. ´´½¨CQ Enabled Project

    ÏÂÃæÖ÷ÒªÒÔWindows»·¾³ÎªÀý£¬½éÉÜCQ Enabled ProjectµÄ´´½¨¹ý³Ì¡£Á½ÖÖ·½Ê½´´½¨Ò»¸öCQ Enabled Project£º

    ´´½¨Project µÄ¹ý³ÌÖУ¬Ö¸¶¨¸ÃProjectÊÇCQ Enabled ´Ó¿ªÊ¼²Ëµ¥ÀïÑ¡Ôñ Programs -> IBM Rational -> Rational ClearCase -> Project Explorer£¬Ñ¡ÖÐpvob£¬´Ó²Ëµ¥ÀïÑ¡ÔñFile ' New ' Project£¬ÎªProject É趨һ¸öÃû³Æ£¬ÏÂÒ»²½£»ÊÇ·ñÒÔÒ»¸öÒÑÖªµÄbaselineΪÆðµãÀ´´´½¨Õâ¸öProject£¬Ñ¡Ôñ"·ñ"£¬ÏÂÒ»²½£»¼ÓÈëComponentµÄbaseline£¬µã»÷add£¬Ñ¡Ôñinitial baseline£»Ñ¡ÖÐcvobÇ°·½µÄ¸´Ñ¡¿ò£¬Ê¹µÃÕâ¸öVOB¿ÉÒÔ±»Ð޸ģ¬¼´ÔÚ½«À´µÄ²Ù×÷ÖпÉÒÔÔÚÕâ¸öVOBÀï¼ÓÈëÔªËØ£¬»òÕ߶ÔÔªËؽøÐÐÐ޸ģ»Ñ¡Ôñ"yes"£¬Ê¹µÃËù´´½¨µÄProject ÊÇ¿ÉÒÔºÍClearQuestÏà¹ØÁªµÄ¡£Õâʱ£¬connectionµÄÏÂÀ­ÁбíÖлáÏÔʾ³ö֮ǰÔÚClearQuest ¶ËÒѾ­´´½¨ºÃµÄConnectionµÄÃû³Æ£¬´ÓÏÂÀ­ÁбíÀïÑ¡ÖÐÕâ¸öConnection£¬ÔòUser DatabaseÏî»á×Ô¶¯ÏÔʾ³öÓëÕâ¸öConnection Ëù¶ÔÓ¦µÄSample DBµÄÃû³Æ¡£ Èç¹ûÊdzõ´ÎµÇ½ClearQuestÊý¾Ý¿â£¬»á³öÏÖÒ»¸öµÇ½´°¿Ú£¬ÕâÀï¼ÙÉèʹÓÃQEÕÊ»§µÇ½£¬Ò²¾ÍÒâζ×ÅÔÚ½ÓÏÂÀ´µÄ²Ù×÷ÖУ¬Ö»ÓзÖÅä¸øQEÕÊ»§µÄClearQuest¼Ç¼²ÅÄܱ»¹ØÁª¡£ÔÚÈ·ÈÏÒ³ÖÐÑ¡Ôñ"continue"£¬Ò»¸öCQ EnabledµÄProject£ºmyproject ´´½¨³É¹¦¡£

    ͼ3 ´´½¨CQ Enabled ¹¤³Ì

  • Project´´½¨Íê³ÉÖ®ºó£¬ÐÞ¸ÄProjectµÄÊôÐÔ£¬Ö¸¶¨ÆäCQ Enabled¡£ ÔÚProject ExplorerÖУ¬Ñ¡Öиոմ´½¨µÄProject£¬ÓÒ¼ü£¬Ñ¡ÔñÊôÐÔ£¨properties£©£¬ÔÚ´ò¿ªµÄÊôÐÔÒ³ÖÐÑ¡Ôñ"ClearQuest"Ò³¡£´Ëʱ"Project is CQ enabled"¸´Ñ¡¿òÓ¦¸ÃÊdzöÓÚδ±»Ñ¡ÖÐ״̬¡£Ñ¡Öи´Ñ¡¿ò£¬´ÓÏÂÀ´ÁбíÖÐÑ¡ÔñÒѾ­ÔÚClearQuest½¨ºÃµÄConnection ºÍSample DB¡£"È·¶¨"£¬Íê³É²Ù×÷¡£

    ͼ4 ÔÚ¹¤³ÌÊôÐÔÖÐÖ¸¶¨¹¤³ÌΪCQ Enabled

    3. Join project£º´´½¨¼¯³ÉÁ÷£¬¿ª·¢Á÷£¬¼¯³ÉÊÔͼ£¬¿ª·¢ÊÓͼ¡£ÔÚ¿ª·¢ÊÓͼ»·¾³Ï´´½¨ÐµÄÎļþ£¬»òÕ߶ÔÎļþ½øÐмì³ö¼ìÈë²Ù×÷´ò¿ªClearCase Explorer£¬Ñ¡Ôñ¿ª·¢ÊÓͼ£¬ÔÚcvobµÄ¸ùĿ¼Àï´´½¨Ò»¸öеÄÎļþ£¬Ñ¡Ôñ"Add to source control"£¬½«Õâ¸öÎļþ¼ÓÈëÔ´¿ØÖÆ¡£ÔÚ"Add to source control"µÄ½çÃæÉÏ£¬ÐèҪѡÔñÒ»¸öÓëÕâ¸öÎļþµÄ°æ±¾Ïà¹ØÁªµÄ»î¶¯£¨activity£©¡£


    ͼ5 ΪԪËØа汾ָ¶¨»î¶¯£¨activity£©


    ÔÚÉ趨Ïà¹ØÁªµÄactivityµÄʱºò£¬ÓÐÈýÖÖ·½Ê½£ºÑ¡Ôñ"New"£¬Ð´´½¨Ò»¸öClearQuestµÄ¼Ç¼ÀàÐÍ£¨defect »òÕßBaseCMActivityÁ½ÖÖÀàÐͿɹ©Ñ¡Ôñ£©£»»òÕßÔÚÏÂÀ­ÁбíÖÐÑ¡ÔñÒ»¸öÒÑÓеÄdefectÓëÖ®¹ØÁª£»»òÕßʹÓÃ"browse"²éѯһ¸öÂú×ãÒ»¶¨Ìõ¼þµÄ¼Ç¼¡£

    ÏÂÃæ·Ö±ðÏêϸ½éÉÜÕ⼸ÖÖ·½Ê½£º

    н¨·½Ê½

    Ñ¡Ôñ"New"£¬Ä¬ÈÏÇé¿öÏ£¬¿ÉÒÔÑ¡Ôñн¨Á½ÖÖÀàÐ͵Äactivity £ºdefectºÍBaseCMActivity¡£µ¥»÷"New"£¬¿ÉÒÔ¿´µ½ÕâÁ½ÖּǼÀàÐÍ£¬ÈçͼËùʾ£º

    ͼ6 ¿ÉÑ¡µÄ¼Ç¼ÀàÐÍ

    ÊÇ·ñ¿ÉÒÔ´´½¨ÕâÁ½ÖÖÀàÐ͵ļǼ£¬»òÕßÖ»ÄÜ´´½¨ÄÄÒ»ÖÖÊÇ¿ÉÒÔ×ÔÓÉÉ趨µÄ¡£·½·¨ÊÇ£ºÔÚProject Explorer ÀÓÒ¼üÑ¡ÖÐpvob£¬ÔÚÓÒ¼ü²Ëµ¥ÖÐÑ¡ÖÐ"policies"²ßÂÔ¡£Èç¹û"Do not allow submitting of records from ClearCase client"Ñ¡ÏîÊDZ»Ñ¡ÖÐ״̬£¬¾ÍÒâζ×Ų»ÔÊÐíÔÚClearCase¶Ë´´½¨ClearQuestµÄ¼Ç¼£¬ÔÚ½«Îļþ¼ÓÈëÔ´¿ØÖÆ¡¢¶ÔÔªËؼìÈë¡¢¼ì³ö²Ù×÷ʱ£¬¹ØÁªactivityµÄ½çÃæÖÐÒ²²»»á³öÏÖ"New"Õâ¸ö²Ù×÷°´Å¥£»Ïà·´µÄ£¬Èç¹û"Do not allow submitting of records from ClearCase client"Ñ¡ÏîÊDz»±»Ñ¡ÖеÄ״̬£¬¾ÍÒâζ×ÅÓû§¿ÉÒÔÔÚClearCase ¶Ë´´½¨ClearQuestµÄ¼Ç¼£¬µ«ÊÇ£¬ÔÚ"Allowed record types"ÖÐÏÞ¶¨ÁËÔÊÐí´´½¨µÄ¼Ç¼ÀàÐÍ£¬Èç¹ûÑ¡ÖÐÁË"defect"£¬ËµÃ÷¿ÉÒÔд´½¨defectÀàÐ͵ļǼ£¬ÔÚClearCaseÀïµã»÷"New"ʱ£¬ÔÚµ¯³öµÄÑ¡ÔñÒ³ÀïÏàÓ¦µÄÒ²Ö»ÄÜ¿´µ½"defect"ÕâÒ»ÀàÐÍ¡£¶ÔÓÚBaseCMActivityÒ²ÊÇͬÑùµÄ¡£Ä¬ÈϵÄÇé¿öÏ£¬ÕâÁ½ÖÖÀàÐͶ¼ÊDZ»Ñ¡Öеġ£

    ͼ7 É趨¿ÉÒÔÔÚClearCase¶ËÌá½»µÄÀàÐÍ

    ÕâÀï¼ÙÉèµ¥»÷ÁË"New" Ö®ºó£¬Ñ¡ÔñµÄÊÇdefect£¬Ôò»áµ÷ÓÃClearQuestµÄн¨defectµÄ´°¿Ú£º


    ÊäÈë±ØÒªµÄÐÅÏ¢ºó±£´æ£¬Ð½¨µÄdefectµÄheadline¾Í»á³öÏÖÔÚactivity¶ÔÓ¦µÄÏÂÀ­ÁбíÑ¡Ôñ¿òÄÚ£¬¿ÉÒÔĬÈϵÄÑ¡ÔñÕâ¸öн¨µÄdefect£¬Íê³ÉÏàÓ¦µÄClearCaseµÄ²Ù×÷¡£Èç¹ûʹÓÃQEÓû§µÇ½µ½ClearQuestµÄ¿Í»§¶Ë£¬ÔËÐйØÓÚdefectµÄ ²éѯ£¬Ôò»á²éѯµ½¸Õ¸Õ´´½¨µÄdefect£¬²¢ÇÒ´ËʱÕâ¸ödefectÊÇ´¦ÓÚopened״̬µÄ¡£

    ͼ9 Defect´¦ÓÚOpened ״̬

    Ñ¡ÔñÒÑÓеÄdefect
    Èç¹ûÊÂÏÈÔÚClearQuest¿Í»§¶ËÖÐÒѾ­´´½¨ÁËһЩ¼Ç¼£¬ÄÇÔÚactivityµÄÏÂÀ­ÁбíÖоͻá×Ô¶¯ÁгöÀ´ÕâЩ¼Ç¼¡£²»¹ý£¬ÄÄЩ¼Í¼»áÁÐÔÚÁбíÀïÒ²ÊÇÓÐÒ»¶¨µÄÏÞÖÆÌõ¼þµÄ£º

    1) ÕâЩdefectµÄËùÓÐÈË£¨owner£©±ØÐëºÍClearCaseÖÐ×÷¼¯³ÉʱµÇ½ClearQuestËùʹÓõÄÓû§ÕÊ»§ÊÇÒ»Öµģ¬Ò²¾ÍÊÇ˵ֻÓÐÄÇЩ·ÖÅä¸øÕâ¸öÓû§´¦ÀíµÄdefect²ÅÄÜÔÚ±¸Ñ¡µÄ»î¶¯ÁбíÀï³öÏÖ¡£

    2) Ö»Óд¦ÓÚAssigned¡¢ Opened״̬µÄdefect²Å»á±»Áе½activityµÄ±¸ÓÃÏÂÀ­ÁбíÖУ¬¶ø´¦ÓÚsubmitted״̬ºÍresolvedÒÔ¼°closed״̬µÄdefectÔò²»»á³öÏÖÔÚ±¸Ñ¡ÏÂÀ­ÁбíÖС£

    "Browse"·½Ê½
    Ñ¡Ôñ"Browse"°´Å¥£¬µ¯³ö"Activity Entity Browser"´°¿Ú¡£¿ÉÒÔÔÚÕâ¸ö´°¿ÚÖÐÑ¡Ôñ"New Query"½¨Á¢Ò»¸öеÄQuery£¬É趨²éѯÌõ¼þ£¬Ñ¡ÔñÂú×ãÐèÒªµÄ¼Ç¼¡£É趨ºÃ²éѯ½á¹ûÒªÏÔʾµÄ×Ö¶ÎÒÔ¼°²éѯÌõ¼þºó£¬¿ÉÒÔ½«Õâ¸ö²éѯ±£´æ£¨±£´æºóµÄ²éѯҲ¿ÉÒÔÖ±½ÓÔÚClearQuest¿Í»§¶ËÖб»Ê¹Óã©¡£Ð´´½¨µÄ²éѯ»áÁÐÔÚ"Activity Entity Browser"µÄ´°¿ÚÖУ¬Ñ¡ÖÐÕâ¸ö²éѯ£¬»òÕßÑ¡ÔñÆäËûÒѾ­ÔÚClearQuestÖд´½¨µÄ²éѯ£¬µã»÷"ÔËÐÐ"£¨run£©°´Å¥£¬ÔÚ²éѯ½á¹ûÖÐÑ¡ÔñÕýÈ·µÄ¼Ç¼£¬×÷ΪÓëClearCaseÖеÄÎļþ°æ±¾Ïà¹ØÁªµÄ»î¶¯£¨activity£©¡£

    ͼ 10 ²éѯÏà¹Ø¼Ç¼


    4. Deliver²Ù×÷

    Deliver²Ù×÷¿ªÊ¼ºó£¬ClearCaseÖлá×Ô¶¯Éú³ÉÒ»¸ö¶ÔÓ¦µÄActivity£¬Õâ¸öActivityµÄÃû³ÆÖаüº¬"deliver"µÄ×ÖÑù£¬ÒÔ¼°Ö´ÐÐDeliver²Ù×÷µÄʱ¼ä¡£¶ÔÓ¦Õâ¸öActivity£¬»á×Ô¶¯½¨Á¢Ò»¸öClearQuestµÄ"UCMUtilityActivity"ÀàÐ͵ļǼ£¬Õâ¸ö¼Ç¼µÄ״̬Ëæ×ÅDeliver״̬µÄ¸Ä±ä¶ø¸Ä±ä¡£

    Deliver²Ù×÷½øÐе½×îºó£¬²»È·ÈϽáÊøDeliverµÄ²Ù×÷

    ÔÚProject ExplorerÖУ¬ÓÒ¼üÑ¡Öпª·¢Á÷£¬Ñ¡Ôñ"Deliver from Stream> to Default"£¬¿ªÆôDeliverµÄ²Ù×÷£¬²ÉÓÃĬÈϵÄÉèÖã¬ÔÚ×îºóµÄÈ·ÈÏÒ³ÖÐÑ¡Ôñ"Close"¡£

    ͼ11 ÊÇ·ñÍê³ÉDeliver²Ù×÷

    ÓÃQEÓû§µÇ½ClearQuestµÄ¿Í»§¶Ë£¨½¨ProjectÖ¸¶¨CQ Enableʱ£¬¼ÙÉèʹÓÃQEÕÊ»§µÇ½µ½ClearQuestÊý¾Ý¿â£©¡£Ð½¨Ò»¸ö²éѯ£¬²éѯ¶ÔÏóÊÇUCMUtilityActivityÀàÐ͵ļǼ£¬ÔËÐвéѯ£¬ÔÚ²éѯ½á¹ûÖÐÕÒ³öheadlineÊÇClearCaseÖÐdeliver activityÃû³ÆµÄ¼Ç¼£¬²é¿´Ä¿Ç°Õâ¸ö¼Ç¼µÄ״̬Ӧ¸ÃÊÇ"Active"¡£

    È¡ÏûDeliver²Ù×÷

    Èç¹û֮ǰûÓÐÈ·ÈϽáÊø£¨ÔÚDeliverµÄ×îºóÌáʾҳÖÐÑ¡ÔñClose£©Deliver²Ù×÷£¬ÖØпªÆô"Deliver from Stream > to Default"Ö®ºó£¬»á³öÏÖÈÃÓû§Ñ¡Ôñ"¼ÌÐø"»¹ÊÇ"È¡Ïû"µÄѯÎʽçÃ棬ÕâÀïÑ¡Ôñ"Undo the Delivery"¡£ DeliverµÄ²Ù×÷±»È¡Ïûºó£¬ ClearQuestÖжÔÓ¦µÄUCMUtilityActivityÀàÐ͵ļǼҲ²»¸´´æÔÚÁË¡£

    Deliver²Ù×÷½øÐе½×îºó£¬È·ÈϽáÊøDeliverµÄ²Ù×÷

    ÖØпªÆôDeliver²Ù×÷£¬²¢ÇÒÔÚ×îºóµÄÈ·ÈÏÒ³ÖÐÑ¡ÖÐ"Complete"£¬ÔÚClearQuest¿Í»§¶Ë£¬µÇ½µ½Êý¾Ý¿â£¬ÔËÐÐÉÏÃæ´´½¨µÄ²éѯ£¬¿´µ½ÒÔClearCaseµÄactivityÃû×÷ΪheadlineµÄ¼Ç¼³öÏÖÔÚ²éѯ½á¹ûÁбíÖУ¬²¢ÇÒ´ËʱµÄ״̬¸ÄΪ£º"Complete"¡£


    ͼ12 UCMUtilityActivity µÄ¼Ç¼״̬¸ÄΪComplete


    5. Rebase²Ù×÷

    ͬÑùµØ£¬¶ÔÓÚRebase²Ù×÷£¬Ò²»á×Ô¶¯Éú³ÉÒ»¸öClearCaseµÄActivity£¬Ãû³ÆÖаüº¬"rebase"×ÖÑùÒÔ¼°Ö´ÐÐRebaseµÄʱ¼ä¡£ÔÚClearQuestÖÐÒ²»á×Ô¶¯´´½¨Ò»¸ö"UCMUtilityActivity"ÀàÐ͵ļǼ¡£Ëæ×ÅRebase²Ù×÷½øÐе½²»Í¬µÄ³Ì¶È£¬¼Ç¼µÄ״̬ҲËæÖ®¸Ä±ä£¬ÈýÖÖ²»Í¬µÄ״̬ºÍDeliverµÄÇé¿öÏàͬ£¬ÕâÀï²»×÷¹ý¶à׸Êö¡£

    6. ÔÚClearQuest½çÃæÖ´ÐÐClearCaseµÄһЩ²Ù×÷

    ʵÏÖÁËUCM ClearCaseÓëClearQuestµÄ¼¯³ÉÖ®ºó£¬²»½ö¿ÉÒÔÔÚClearCase¶ËÖ´ÐÐÀýÈçн¨Ò»¸ödefect µÈClearQuestµÄ²Ù×÷£¬Í¬Ê±£¬Ò²¿ÉÒÔÔÚClearQuest¶ËÖ´ÐÐÀýÈç¼ìÈë¡¢²é¿´ÀúÊ·ÐÅÏ¢µÈClearCaseµÄ²Ù×÷¡£

    ´ÓÒÔÉϵĽéÉÜÖпÉÒÔÁ˽⵽£¬ÔÚClearCase ExplorerÖУ¬µ±¶ÔÒ»¸öÎļþ½øÐмÓÈëÔ´¿ØÖÆ¡¢¼ìÈë¡¢¼ì³ö²Ù×÷ʱ£¬»áʹ»î¶¯£¨activity£©Ö¸ÏòClearQuestµÄijһ¸ö¼Ç¼¡£Æäʵ£¬ÕâÖÖ¹ØÁª½¨Á¢Ö®ºó£¬Ò²°ÑÕâ¸öÎļþ¼ÓÈëµ½ÁËClearQuestËù¶ÔÓ¦µÄ¼Ç¼µÄ±ä»¯¼¯£¨change set£©µ±ÖС£

    ÔÚClearQuestÖÐͨ¹ý²éѯµÃµ½ºÍClearCaseÖÐij¸öÎļþ°æ±¾Ïà¹ØÁªµÄ¼Ç¼£¨defect»òÕßÆäËüÀàÐ͵ļǼ£©£¬´ò¿ªËûµÄ±ä»¯¼¯£¨change set£©£¬»á¿´µ½ÓëÖ®Ïà¹ØÁªµÄÎļþ¼°Æä°æ±¾¡£ÓÒ¼üµã»÷Õâ¸öÎļþ£¬ÔÚµ¯³öµÄ²Ëµ¥ÖпÉÒÔ½øÐÐClearCaseµÄһЩÏà¹Ø²Ù×÷¡£ÈçͼËùʾ£º


    ͼ13 ¿ÉÒÔÔÚClearQuestÖнøÐеÄClearCaseµÄ²Ù×÷

    7. ÈçºÎÈ¡ÏûProject µÄCQ EnabledµÄÌØÐÔ¡£

    Èç¹ûÒ»¸öProject ´ËʱÊÇCQ EnabledµÄ£¬ÔÚProject ExplorerÖУ¬Ñ¡ÖÐÕâ¸ö¹¤³Ì£¨Project£©£¬ÓÒ¼ü£¬Ñ¡ÔñÊôÐÔ£¨properties£©£¬ÔÚ´ò¿ªµÄÊôÐÔÒ³ÖÐÑ¡Ôñ"ClearQuest"Ò³¡£´Ëʱ"Project is CQ enabled"¸´Ñ¡¿òÓ¦¸ÃÊDZ»Ñ¡ÖеÄ״̬¡£ÏëҪȡÏûÕâ¸ö¹¤³Ì£¨Project£©µÄCQ Enabled ÌØÐÔ£¬Ö»ÒªÈ¥µô¸´Ñ¡¿òµÄÑ¡ÖÐ״̬¼´¿É¡£"È·¶¨"Ö®ºó£¬ÏµÍ³»áÌáʾȡÏûµÄ²Ù×÷»áÉæ¼°µ½¶àÉÙ¸öClearQuestµÄ¼Ç¼¡£

    Èý¡¢ ×ܽá

    ±¾ÎÄÊ×ÏȼòÒª½éÉÜÁËIBM µÄÈí¼þ°æ±¾¿ØÖƺÍÅäÖùÜÀí¹¤¾ßClearCaseÒÔ¼°È±Ïݸú×Ù¹ÜÀí¹¤¾ßClearQuest£¬²¢ÂÛÊöÁËClearCase Óë ClearQuest¼¯³ÉµÄÕæÕýº¬Òå¡£ClearCase Óë ClearQuestµÄ¼¯³ÉÖ÷Òª·Ö³ÉÁ½ÖÖ·½Ê½£ºBase ClearCase Óë ClearQuestµÄ¼¯³ÉÒÔ¼°UCM ClearCase Óë ClearQuestµÄ¼¯³É¡£±¾ÎÄÒÔUCM ClearCase Óë ClearQuestµÄ¼¯³ÉΪÖ÷£¬Ïêϸ²ûÊöÁ˼¯³ÉÓ¦ÓõÄÒ»°ã²Ù×÷¹ý³Ì¡£Ï£Íûͨ¹ýÔĶÁ±¾ÎÄ£¬ÄÜΪ´ÓÊÂÏà¹Ø¹¤×÷µÄ¿ª·¢ÈËÔ±Ìṩʵ¼ÊµÄʹÓÃÖ¸µ¼¡£

    ²Î¿¼×ÊÁÏ

    Software Configuration Management -A Clear Case for IBM Rational- UCM ClearCase and ClearQuest.


    ClearCase product manual: UCM development guide


    ClearCase product manual: UCM project introduction


    Multiple DBset application for UCM ClearCase ClearQuest integration


    ʹÓÃIBM Rational ClearCaseºÍIBM Rational ClearQuest½øÐÐÁ¼ºÃµÄµç×ӼǼ¹ÜÀí

    ¹ØÓÚ×÷Õß

    É̻۲¨£ºIBMÖйúÈí¼þ¿ª·¢ÊµÑéÊÒ£¬Rational Team£¬Èí¼þ¹¤³Ìʦ¡£shanghb@cn.ibm.com¡£


°æȨËùÓУºUMLÈí¼þ¹¤³Ì×éÖ¯