Subversion Repositories DevTools

Rev

Rev 129 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 129 Rev 139
Line 387... Line 387...
387
   rsTemp.Edit
387
   rsTemp.Edit
388
 
388
 
389
   ' Only update build critical sections (label, source path) if allowed
389
   ' Only update build critical sections (label, source path) if allowed
390
   If criticalSectionIsEditable Then
390
   If criticalSectionIsEditable Then
391
 
391
 
392
      If (objFormCollector.Item("vcs_tag") <> enum_VCS_CLEARCASE_TAG) Then
392
      If (objFormCollector.Item("vcs_tag") <> enum_VCS_CLEARCASE_TAG) AND (objFormCollector.Item("vcs_tag") <> enum_VCS_CVS_TAG) Then
393
         rsTemp.Fields("pkg_label").Value = "N/A"
393
         rsTemp.Fields("pkg_label").Value = "N/A"
394
      Else
394
      Else
395
         rsTemp.Fields("pkg_label").Value = SSLabel
395
         rsTemp.Fields("pkg_label").Value = SSLabel
396
      End If
396
      End If
397
 
397
 
Line 601... Line 601...
601
 
601
 
602
 
602
 
603
'--- From Validation Rule Changes ----
603
'--- From Validation Rule Changes ----
604
 
604
 
605
' Dont need the label if not using clearcase
605
' Dont need the label if not using clearcase
606
If (objFormCollector.Item("vcs_tag") <> enum_VCS_CLEARCASE_TAG) Then
606
If (objFormCollector.Item("vcs_tag") <> enum_VCS_CLEARCASE_TAG) AND (objFormCollector.Item("vcs_tag") <> enum_VCS_CVS_TAG)  Then
607
   objForm.UpdateRules ("id='FRlabel' IsRequired='N'")
607
   objForm.UpdateRules ("id='FRlabel' IsRequired='N'")
608
End If
608
End If
609
 
609
 
610
' Dont need the path if the package version is uncontrolled
610
' Dont need the path if the package version is uncontrolled
611
If (objFormCollector.Item("vcs_tag") = enum_VCS_UNCONTROLLED_TAG) Then
611
If (objFormCollector.Item("vcs_tag") = enum_VCS_UNCONTROLLED_TAG) Then
Line 740... Line 740...
740
         if (tc == null) {
740
         if (tc == null) {
741
            alert('Javascript Error : Failed to get vcs_tag_combo');
741
            alert('Javascript Error : Failed to get vcs_tag_combo');
742
         }
742
         }
743
         else {
743
         else {
744
            // Form the new URL with the updated VCS tag passed as a parameter
744
            // Form the new URL with the updated VCS tag passed as a parameter
-
 
745
            var tc2 = document.getElementById('vcs_name_combo');
-
 
746
            if (tc2.options[nc.selectedIndex].value == 'Concurrent Versions System')
-
 
747
            {
-
 
748
               alert('The Concurrent Versions System (CVS) is not fully supported by ERG.\n' +
-
 
749
                     'This means you will have to manually build this package.\n' +
-
 
750
                     'Please ensure you set the package to a manual build type, if it is not already so.\n');
-
 
751
            }
745
            <%If IsNull(parBSName) OR parBSName = "" Then%>
752
            <%If IsNull(parBSName) OR parBSName = "" Then%>
746
               f.action = "_wform_pkg_info.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>&vcs_tag=" + tc.options[nc.selectedIndex].value;
753
               f.action = "_wform_pkg_info.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>&vcs_tag=" + tc.options[nc.selectedIndex].value;
747
            <%Else%>
754
            <%Else%>
748
               f.action = "_wform_pkg_info.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>&bs_name=<%=parBSName%>&vcs_tag=" + tc.options[nc.selectedIndex].value;
755
               f.action = "_wform_pkg_info.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>&bs_name=<%=parBSName%>&vcs_tag=" + tc.options[nc.selectedIndex].value;
749
            <%End If%>
756
            <%End If%>
Line 921... Line 928...
921
                        <br>
928
                        <br>
922
                        Example:<br>MASS_Dev_Infra/core_cs/trunk@12843 <br>
929
                        Example:<br>MASS_Dev_Infra/core_cs/trunk@12843 <br>
923
                     </td>
930
                     </td>
924
                     <td valign="top" nowrap background="images/bg_form_lightbluedark.gif" class="form_txt"><%=objForm.Validate ("FRpath")%></td>
931
                     <td valign="top" nowrap background="images/bg_form_lightbluedark.gif" class="form_txt"><%=objForm.Validate ("FRpath")%></td>
925
                  </tr>
932
                  </tr>
-
 
933
               <%ElseIf (objFormCollector.Item("vcs_tag") = enum_VCS_CVS_TAG) Then%>
-
 
934
                  <tr>
-
 
935
                     <td>&nbsp;</td>
-
 
936
                     <td nowrap background="images/bg_form_lightbluedark.gif" class="form_field">Label<%=Quick_Help ( "pkg_label" )%></td>
-
 
937
                     <td nowrap background="images/bg_form_lightbluedark.gif" class="form_txt">
-
 
938
                        <input type="text" name="FRlabel" id="FRlabel" maxlength="50" size="60" class="form_item" <%=disableCriticalSectionEdit%> value="<%=objForm.GetValue( "FRlabel", objFormCollector.Item("pkg_label") )%>" >
-
 
939
                     </td>
-
 
940
                     <td valign="top" nowrap background="images/bg_form_lightbluedark.gif" class="form_txt"><%=objForm.Validate ("FRlabel")%></td>
-
 
941
                  </tr>
-
 
942
                  <tr>
-
 
943
                     <td>&nbsp;</td>
-
 
944
                     <td valign="top" nowrap background="images/bg_form_lightbluedark.gif" class="form_field">Source Path<%=Quick_Help ( "src_path" )%></td>
-
 
945
                     <td nowrap background="images/bg_form_lightbluedark.gif" class="form_txt">
-
 
946
                        <input name="FRpath" type="text" class="form_item" <%=disableCriticalSectionEdit%> id="FRpath" onchange="replace_back_slashes(this);" value="<%=objForm.GetValue( "FRpath", objFormCollector.Item("src_path") )%>" size="60" maxlength="2000">
-
 
947
                        <br>
-
 
948
                        Example:<br>/MASS_Dev_Infra/core_cs <br>
-
 
949
                     </td>
-
 
950
                     <td valign="top" nowrap background="images/bg_form_lightbluedark.gif" class="form_txt"><%=objForm.Validate ("FRpath")%></td>
-
 
951
                  </tr>
926
               <%ElseIf (objFormCollector.Item("vcs_tag") = enum_VCS_UNCONTROLLED_TAG) Then%>
952
               <%ElseIf (objFormCollector.Item("vcs_tag") = enum_VCS_UNCONTROLLED_TAG) Then%>
927
                  <input name="FRlabel" type="hidden" id="FRlabel" value="<%=sLabel%>">
953
                  <input name="FRlabel" type="hidden" id="FRlabel" value="<%=sLabel%>">
928
                  <input name="FRpath"  type="hidden" id="FRpath"  value="<%=objForm.GetValue( "FRpath", objFormCollector.Item("src_path") )%>">
954
                  <input name="FRpath"  type="hidden" id="FRpath"  value="<%=objForm.GetValue( "FRpath", objFormCollector.Item("src_path") )%>">
929
               <%Else%>
955
               <%Else%>
930
                  <tr>
956
                  <tr>