Subversion Repositories DevTools

Rev

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

Rev 5020 Rev 5357
Line 1... Line 1...
1
<%@LANGUAGE="VBSCRIPT"%>
1
<%@LANGUAGE="VBSCRIPT"%>
2
<%
2
<%
3
'=====================================================
3
'=====================================================
4
'|                                                   |
4
'|                                                   |
5
'|				      EXPORT JATS  					 |
5
'|				      EXPORT JATS  					 |
6
'|					 DEPENDENCIES					 |
6
'|					 DEPENDENCIES					 |
7
'|                                                   |
7
'|                                                   |
8
'=====================================================
8
'=====================================================
9
%>
9
%>
10
<%
10
<%
11
Option explicit
11
Option explicit
12
' Good idea to set when using redirect
12
' Good idea to set when using redirect
13
Response.Expires = 0	' always load the page, dont store
13
Response.Expires = 0	' always load the page, dont store
14
%>
14
%>
15
<!--#include file="common/conf.asp"-->
15
<!--#include file="common/conf.asp"-->
16
<!--#include file="common/globals.asp"-->
16
<!--#include file="common/globals.asp"-->
17
<!--#include file="common/formating.asp"-->
17
<!--#include file="common/formating.asp"-->
18
<!--#include file="common/qstr.asp"-->
18
<!--#include file="common/qstr.asp"-->
19
<!--#include file="common/common_subs.asp"-->
19
<!--#include file="common/common_subs.asp"-->
20
<!--#include file="_tabs.asp"-->
20
<!--#include file="_tabs.asp"-->
21
<%
21
<%
22
' Make sure rtag_id is always present
22
' Make sure rtag_id is always present
23
If Request("pv_id") = "" Then
23
If Request("pv_id") = "" Then
24
	Response.Redirect("index.asp")
24
	Response.Redirect("index.asp")
25
End If
25
End If
26
%>
26
%>
27
<%
27
<%
28
'------------ ACCESS CONTROL ------------------
28
'------------ ACCESS CONTROL ------------------
29
%>
29
%>
30
<!--#include file="_access_control_general.asp"-->
30
<!--#include file="_access_control_general.asp"-->
31
<%
31
<%
32
'------------ Variable Definition -------------
32
'------------ Variable Definition -------------
33
Dim parPv_id
33
Dim parPv_id
34
'------------ Constants Declaration -----------
34
'------------ Constants Declaration -----------
35
'------------ Variable Init -------------------
35
'------------ Variable Init -------------------
36
Set pkgInfoHash = CreateObject("Scripting.Dictionary")
36
Set pkgInfoHash = CreateObject("Scripting.Dictionary")
37
parPv_id = QStrPar("pv_id")
37
parPv_id = QStrPar("pv_id")
38
'----------------------------------------------
38
'----------------------------------------------
39
%>
39
%>
40
<%
40
<%
41
Function Dependency_List ( NNpv_id )
41
Function Dependency_List ( NNpv_id )
42
	Dim rsTemp, Query_String, tempSTR
42
	Dim rsTemp, Query_String, tempSTR
43
	tempSTR = ""
43
	tempSTR = ""
44
	
44
	
45
	Query_String = _
45
	Query_String = _
46
	" SELECT pkg.pkg_name, pv.pkg_version, dep.build_type"&_
46
	" SELECT pkg.pkg_name, pv.pkg_version, dep.build_type"&_
47
	"	FROM packages pkg,"&_
47
	"	FROM packages pkg,"&_
48
	"	     package_versions pv,"&_
48
	"	     package_versions pv,"&_
49
	"	     package_dependencies dep"&_
49
	"	     package_dependencies dep"&_
50
	"	WHERE pv.pkg_id = pkg.pkg_id"&_
50
	"	WHERE pv.pkg_id = pkg.pkg_id"&_
51
	"	  AND dep.dpv_id = pv.pv_id"&_
51
	"	  AND dep.dpv_id = pv.pv_id"&_
52
	"	  AND dep.pv_id = "& NNpv_id &_
52
	"	  AND dep.pv_id = "& NNpv_id &_
53
	"	ORDER BY UPPER(pkg.pkg_name)"
53
	"	ORDER BY UPPER(pkg.pkg_name)"
54
	
54
	
55
	Set rsTemp = OraDatabase.DbCreateDynaset( Query_String, cint(0))
55
	Set rsTemp = OraDatabase.DbCreateDynaset( Query_String, cint(0))
56
	
56
	
57
	While ((NOT rsTemp.BOF) AND (NOT rsTemp.EOF))
57
	While ((NOT rsTemp.BOF) AND (NOT rsTemp.EOF))
58
		tempSTR = tempSTR & To_JATS( rsTemp("build_type"), rsTemp("pkg_name"), rsTemp("pkg_version") ) & VBNewLine
58
		tempSTR = tempSTR & To_JATS( rsTemp("build_type"), rsTemp("pkg_name"), rsTemp("pkg_version") ) & VBNewLine
59
		rsTemp.MoveNext
59
		rsTemp.MoveNext
60
	WEnd
60
	WEnd
61
	
61
	
62
	Dependency_List = tempSTR
62
	Dependency_List = tempSTR
63
	
63
	
64
	rsTemp.Close
64
	rsTemp.Close
65
	Set rsTemp = nothing
65
	Set rsTemp = nothing
66
End Function
66
End Function
67
%>
67
%>
68
<%
68
<%
69
Call Get_Pkg_Info ( parPv_id, NULL )
69
Call Get_Pkg_Info ( parPv_id, NULL )
70
%>
70
%>
71
<%Response.Cookies(COOKIE_RELEASEMANAGER_MEMORY)("devl_environment") = "jats"%>
71
<%Response.Cookies(COOKIE_RELEASEMANAGER_MEMORY)("devl_environment") = "jats"%>
72
<html>
72
<html>
73
<head>
73
<head>
74
<title>Release Manager</title>
74
<title>Release Manager</title>
75
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
75
<link rel="shortcut icon" href="<%=FavIcon%>"/>
76
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
76
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
77
<link rel="stylesheet" href="images/release_manager_style.css" type="text/css">
77
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
78
<link rel="stylesheet" href="images/navigation.css" type="text/css">
78
<link rel="stylesheet" href="images/release_manager_style.css" type="text/css">
79
<script language="JavaScript" src="images/common.js"></script>
79
<link rel="stylesheet" href="images/navigation.css" type="text/css">
80
<!-- TIPS -->
80
<script language="JavaScript" src="images/common.js"></script>
81
<script language="JavaScript" src="images/tipster.js"></script>
81
<!-- TIPS -->
82
<script language="JavaScript" src="images/_help_tips.js"></script>
82
<script language="JavaScript" src="images/tipster.js"></script>
83
 
83
<script language="JavaScript" src="images/_help_tips.js"></script>
84
<!-- DROPDOWN MENUS -->
84
 
85
<!--#include file="_menu_def.asp"-->
85
<!-- DROPDOWN MENUS -->
86
<script language="JavaScript1.2" src="images/popup_menu.js"></script>
86
<!--#include file="_menu_def.asp"-->
87
 
87
<script language="JavaScript1.2" src="images/popup_menu.js"></script>
88
</head>
88
 
89
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" >
89
</head>
90
<!-- MENU LAYERS -------------------------------------->
90
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" >
91
<div id="popmenu" class="menuskin" onMouseover="clearhidemenu();highlightmenu(event,'on')" onMouseout="highlightmenu(event,'off');dynamichide(event)"> 
91
<!-- MENU LAYERS -------------------------------------->
92
</div>
92
<div id="popmenu" class="menuskin" onMouseover="clearhidemenu();highlightmenu(event,'on')" onMouseout="highlightmenu(event,'off');dynamichide(event)"> 
93
<!-- TIPS LAYERS -------------------------------------->
93
</div>
94
<div id="formTipsLayer" style="position: absolute; z-index: 1000; visibility: hidden; left:0; top: 0; width: 10">&nbsp;</div>
94
<!-- TIPS LAYERS -------------------------------------->
95
<!----------------------------------------------------->
95
<div id="formTipsLayer" style="position: absolute; z-index: 1000; visibility: hidden; left:0; top: 0; width: 10">&nbsp;</div>
96
 
96
<!----------------------------------------------------->
97
<!-- HEADER -->
97
 
98
<!--#include file="_header.asp"-->
98
<!-- HEADER -->
99
<!-- BODY ---->
99
<!--#include file="_header.asp"-->
100
<table width="100%" height="80%" border="0" cellpadding="0" cellspacing="0">
100
<!-- BODY ---->
101
  <tr>
101
<table width="100%" height="80%" border="0" cellpadding="0" cellspacing="0">
102
    <td align="center" valign="top" background="images/bg_lght_gray.gif">
102
  <tr>
103
		  <!-- MIDDLE --------------------------------------->
103
    <td align="center" valign="top" background="images/bg_lght_gray.gif">
104
		    <table width="650" border="0" cellspacing="0" cellpadding="0">
104
		  <!-- MIDDLE --------------------------------------->
105
			  <tr> 
105
		    <table width="650" border="0" cellspacing="0" cellpadding="0">
106
			    <td> 
106
			  <tr> 
107
			      <table width="100%" border="0" cellspacing="0" cellpadding="0">
107
			    <td> 
108
			        <tr> 
108
			      <table width="100%" border="0" cellspacing="0" cellpadding="0">
109
			          <td width="1%">&nbsp;</td>
109
			        <tr> 
110
			          <td align="right"><img src="images/h_trsp_dot.gif" width="30" height="30"></td>
110
			          <td width="1%">&nbsp;</td>
111
			          <td width="1%">&nbsp;</td>
111
			          <td align="right"><img src="images/h_trsp_dot.gif" width="30" height="30"></td>
112
			        </tr>
112
			          <td width="1%">&nbsp;</td>
113
			        <tr> 
113
			        </tr>
114
			          <td width="1%">&nbsp;</td>
114
			        <tr> 
115
			          <td> 
115
			          <td width="1%">&nbsp;</td>
116
			            <table width="100%" border="0" cellspacing="0" cellpadding="0">
116
			          <td> 
117
			              <tr> 
117
			            <table width="100%" border="0" cellspacing="0" cellpadding="0">
118
			                <td nowrap class="form_ttl">EXPORT dependencies</td>
118
			              <tr> 
119
			                <td align="right" valign="bottom">
119
			                <td nowrap class="form_ttl">EXPORT dependencies</td>
120
			                  <%Call Generate_Tab_Menu ( TABarray3, "JATS style", "blue" )%>
120
			                <td align="right" valign="bottom">
121
			                </td>
121
			                  <%Call Generate_Tab_Menu ( TABarray3, "JATS style", "blue" )%>
122
			              </tr>
122
			                </td>
123
			            </table>
123
			              </tr>
124
			          </td>
124
			            </table>
125
			          <td width="1%">&nbsp;</td>
125
			          </td>
126
			        </tr>
126
			          <td width="1%">&nbsp;</td>
127
			        <tr> 
127
			        </tr>
128
			          <td align="left" valign="top" width="1%" background="images/lbox_bg_blue.gif"><img src="images/lbox_tl_cnr_b.gif" width="13" height="13"></td>
128
			        <tr> 
129
			          <td background="images/lbox_bg_blue.gif">
129
			          <td align="left" valign="top" width="1%" background="images/lbox_bg_blue.gif"><img src="images/lbox_tl_cnr_b.gif" width="13" height="13"></td>
130
					    <!-- Heading -->
130
			          <td background="images/lbox_bg_blue.gif">
131
					  	<table width="100%" border="0" cellspacing="0" cellpadding="0">
131
					    <!-- Heading -->
132
			              <tr> 
132
					  	<table width="100%" border="0" cellspacing="0" cellpadding="0">
133
			                <td nowrap class="lbox_ttl_w"><%=pkgInfoHash.Item ("pkg_name")%>&nbsp;<%=pkgInfoHash.Item ("pkg_version")%></td>
133
			              <tr> 
134
							<td width="1%"><img src="images/h_trsp_dot.gif" width="1" height="46"></td>
134
			                <td nowrap class="lbox_ttl_w"><%=pkgInfoHash.Item ("pkg_name")%>&nbsp;<%=pkgInfoHash.Item ("pkg_version")%></td>
135
			                <td align="right">
135
							<td width="1%"><img src="images/h_trsp_dot.gif" width="1" height="46"></td>
136
							<!-- ACTION BUTTONS ------------------------------------------->
136
			                <td align="right">
137
							<!------------------------------------------------------------->
137
							<!-- ACTION BUTTONS ------------------------------------------->
138
			                </td>
138
							<!------------------------------------------------------------->
139
			              </tr>
139
			                </td>
140
			            </table>
140
			              </tr>
141
			            <!-- END Heading -->
141
			            </table>
142
			          </td>
142
			            <!-- END Heading -->
143
			          <td align="right" valign="top" width="1%" background="images/lbox_bg_blue.gif"><img src="images/lbox_tr_cnr_b.gif" width="13" height="13"></td>
143
			          </td>
144
			        </tr>
144
			          <td align="right" valign="top" width="1%" background="images/lbox_bg_blue.gif"><img src="images/lbox_tr_cnr_b.gif" width="13" height="13"></td>
145
			        <tr> 
145
			        </tr>
146
			          <td width="1%" bgcolor="#FFFFFF"><img src="images/h_trsp_dot.gif" width="10" height="100"></td>
146
			        <tr> 
147
			          <td bgcolor="#FFFFFF" valign="top"> 
147
			          <td width="1%" bgcolor="#FFFFFF"><img src="images/h_trsp_dot.gif" width="10" height="100"></td>
148
			            <!-- Body -->
148
			          <td bgcolor="#FFFFFF" valign="top"> 
149
			            <table width="100%" border="0" cellspacing="1" cellpadding="2">
149
			            <!-- Body -->
150
						<form name="close" method="post" action="dependencies.asp?done=done&hidenv=<%=QSTR_All%>">
150
			            <table width="100%" border="0" cellspacing="1" cellpadding="2">
151
			                <tr> 
151
						<form name="close" method="post" action="dependencies.asp?done=done&hidenv=<%=QSTR_All%>">
152
			                  <td nowrap width="100%">&nbsp; </td>
152
			                <tr> 
153
			                </tr>
153
			                  <td nowrap width="100%">&nbsp; </td>
154
			                <tr> 
154
			                </tr>
155
			                  <td nowrap width="100%"><span class="form_txt">Copy this dependency export list into your build file to build this package.</span><br><br>
155
			                <tr> 
156
			                    <textarea name="FRdeps" rows="25" cols="100" wrap="OFF" class="form_item" onFocus="this.select()"><%=Dependency_List( parPv_id )%></textarea>
156
			                  <td nowrap width="100%"><span class="form_txt">Copy this dependency export list into your build file to build this package.</span><br><br>
157
								<br><br>
157
			                    <textarea name="FRdeps" rows="25" cols="100" wrap="OFF" class="form_item" onFocus="this.select()"><%=Dependency_List( parPv_id )%></textarea>
158
								<input type="submit" name="btn" value="  Close  " class="form_btn">
158
								<br><br>
159
								<br><br>
159
								<input type="submit" name="btn" value="  Close  " class="form_btn">
160
			                  </td>
160
								<br><br>
161
			                </tr>
161
			                  </td>
162
						</form>
162
			                </tr>
163
			            </table>
163
						</form>
164
					  </td>
164
			            </table>
165
			          <td width="1%" background="images/lbox_bgside_white.gif">&nbsp;</td>
165
					  </td>
166
			        </tr>
166
			          <td width="1%" background="images/lbox_bgside_white.gif">&nbsp;</td>
167
			        <tr> 
167
			        </tr>
168
			          <td width="1%" background="images/lbox_bg_blue.gif" valign="bottom"><img src="images/lbox_bl_cnr_b.gif" width="13" height="13"></td>
168
			        <tr> 
169
			          <td background="images/lbox_bg_blue.gif"></td>
169
			          <td width="1%" background="images/lbox_bg_blue.gif" valign="bottom"><img src="images/lbox_bl_cnr_b.gif" width="13" height="13"></td>
170
			          <td width="1%" background="images/lbox_bg_blue.gif" valign="bottom" align="right"><img src="images/lbox_br_cnr_b.gif" width="13" height="13"></td>
170
			          <td background="images/lbox_bg_blue.gif"></td>
171
			        </tr>
171
			          <td width="1%" background="images/lbox_bg_blue.gif" valign="bottom" align="right"><img src="images/lbox_br_cnr_b.gif" width="13" height="13"></td>
172
			      </table>
172
			        </tr>
173
			    </td>
173
			      </table>
174
			  </tr>
174
			    </td>
175
			</table>
175
			  </tr>
176
		<!-- END DETAILS ------------------------------------------------------------->
176
			</table>
177
		
177
		<!-- END DETAILS ------------------------------------------------------------->
178
		
178
		
179
		</td>
179
		
180
  </tr>
180
		</td>
181
  <tr>
181
  </tr>
182
    <td valign="bottom" background="images/bg_lght_gray.gif">
182
  <tr>
183
	<!-- FOOTER -->
183
    <td valign="bottom" background="images/bg_lght_gray.gif">
184
	<!--#include file="_footer.asp"-->
184
	<!-- FOOTER -->
185
	</td>
185
	<!--#include file="_footer.asp"-->
186
  </tr>
186
	</td>
187
</table>
187
  </tr>
188
</body>
188
</table>
189
</html>
189
</body>
190
<%
190
</html>
191
Call Destroy_All_Objects
191
<%
-
 
192
Call Destroy_All_Objects
192
%>
193
%>
193
194