Subversion Repositories DevTools

Rev

Details | Last modification | View Log | RSS feed

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