| 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 )
|
| 121 |
hknight |
42 |
On Error Resume Next
|
|
|
43 |
Dim rsTemp, Query_String, tempSTR, Query_Release, rsRelease, prjName
|
| 119 |
ghuddy |
44 |
tempSTR = ""
|
| 121 |
hknight |
45 |
|
| 119 |
ghuddy |
46 |
Query_String = _
|
|
|
47 |
" SELECT pkg.pkg_name, pv.pkg_version"&_
|
|
|
48 |
" FROM packages pkg,"&_
|
|
|
49 |
" package_versions pv,"&_
|
|
|
50 |
" package_dependencies dep"&_
|
|
|
51 |
" WHERE pv.pkg_id = pkg.pkg_id"&_
|
|
|
52 |
" AND dep.dpv_id = pv.pv_id"&_
|
|
|
53 |
" AND dep.pv_id = "& NNpv_id &_
|
|
|
54 |
" ORDER BY UPPER(pkg.pkg_name)"
|
| 121 |
hknight |
55 |
|
|
|
56 |
' DEVI-34837 - provide additional name properties for external tools to make use of
|
|
|
57 |
If request("rtag_id") <> "" Then
|
|
|
58 |
Query_Release = _
|
|
|
59 |
" SELECT * FROM RELEASE_TAGS RT, PROJECTS PRJ WHERE PRJ.PROJ_ID = RT.PROJ_ID AND RT.RTAG_ID="&request("rtag_id")
|
|
|
60 |
|
|
|
61 |
Set rsRelease = OraDatabase.DbCreateDynaset( Query_Release, cint(0))
|
|
|
62 |
prjName = rsRelease("proj_name")
|
|
|
63 |
|
|
|
64 |
Response.Write("<property name=""releasemanager.releasename"" value="""& rsRelease("rtag_name") &"""/>") & VBNewLine
|
|
|
65 |
Response.Write("<property name=""releasemanager.projectname"" value="""& prjName &"""/>") & VBNewLine & VBNewLine
|
|
|
66 |
rsRelease.Close()
|
|
|
67 |
Set rsRelease = Nothing
|
|
|
68 |
End If
|
|
|
69 |
|
| 119 |
ghuddy |
70 |
Response.Write("<property name=""packagename"" value="""& pkgInfoHash.Item("pkg_name") &"""/>") & VBNewLine
|
| 121 |
hknight |
71 |
|
| 119 |
ghuddy |
72 |
Response.Write("<property name=""packageversion"" value="""& pkgInfoHash.Item("pkg_version") &"""/>")& VBNewLine & VBNewLine
|
|
|
73 |
|
| 121 |
hknight |
74 |
|
| 119 |
ghuddy |
75 |
Set rsTemp = OraDatabase.DbCreateDynaset( Query_String, cint(0))
|
| 121 |
hknight |
76 |
|
| 119 |
ghuddy |
77 |
While ((NOT rsTemp.BOF) AND (NOT rsTemp.EOF))
|
|
|
78 |
tempSTR = tempSTR & To_ANT ( rsTemp("pkg_name"), rsTemp("pkg_version") ) & VBNewLine
|
|
|
79 |
rsTemp.MoveNext
|
|
|
80 |
WEnd
|
| 121 |
hknight |
81 |
|
| 119 |
ghuddy |
82 |
Dependency_List = tempSTR
|
| 121 |
hknight |
83 |
|
| 119 |
ghuddy |
84 |
rsTemp.Close
|
|
|
85 |
Set rsTemp = nothing
|
|
|
86 |
End Function
|
|
|
87 |
%>
|
|
|
88 |
<%
|
|
|
89 |
Call Get_Pkg_Info ( parPv_id, NULL )
|
|
|
90 |
%>
|
| 5020 |
dpurdie |
91 |
<%Response.Cookies(COOKIE_RELEASEMANAGER_MEMORY)("devl_environment") = "ant"%>
|
| 119 |
ghuddy |
92 |
<html>
|
|
|
93 |
<head>
|
|
|
94 |
<title>Release Manager</title>
|
|
|
95 |
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
|
|
|
96 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
|
|
97 |
<link rel="stylesheet" href="images/release_manager_style.css" type="text/css">
|
|
|
98 |
<link rel="stylesheet" href="images/navigation.css" type="text/css">
|
|
|
99 |
<script language="JavaScript" src="images/common.js"></script>
|
|
|
100 |
<!-- TIPS -->
|
|
|
101 |
<script language="JavaScript" src="images/tipster.js"></script>
|
|
|
102 |
<script language="JavaScript" src="images/_help_tips.js"></script>
|
|
|
103 |
|
|
|
104 |
<!-- DROPDOWN MENUS -->
|
|
|
105 |
<!--#include file="_menu_def.asp"-->
|
|
|
106 |
<script language="JavaScript1.2" src="images/popup_menu.js"></script>
|
|
|
107 |
|
|
|
108 |
</head>
|
|
|
109 |
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" >
|
|
|
110 |
<!-- MENU LAYERS -------------------------------------->
|
| 121 |
hknight |
111 |
<div id="popmenu" class="menuskin" onMouseover="clearhidemenu();highlightmenu(event,'on')" onMouseout="highlightmenu(event,'off');dynamichide(event)">
|
| 119 |
ghuddy |
112 |
</div>
|
|
|
113 |
<!-- TIPS LAYERS -------------------------------------->
|
|
|
114 |
<div id="formTipsLayer" style="position: absolute; z-index: 1000; visibility: hidden; left:0; top: 0; width: 10"> </div>
|
|
|
115 |
<!----------------------------------------------------->
|
|
|
116 |
|
|
|
117 |
<!-- HEADER -->
|
|
|
118 |
<!--#include file="_header.asp"-->
|
|
|
119 |
<!-- BODY ---->
|
|
|
120 |
<table width="100%" height="80%" border="0" cellpadding="0" cellspacing="0">
|
|
|
121 |
<tr>
|
|
|
122 |
<td align="center" valign="top" background="images/bg_lght_gray.gif">
|
|
|
123 |
<!-- MIDDLE -->
|
|
|
124 |
<table width="650" border="0" cellspacing="0" cellpadding="0">
|
| 121 |
hknight |
125 |
<tr>
|
|
|
126 |
<td>
|
| 119 |
ghuddy |
127 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
| 121 |
hknight |
128 |
<tr>
|
| 119 |
ghuddy |
129 |
<td width="1%"> </td>
|
|
|
130 |
<td align="right"><img src="images/h_trsp_dot.gif" width="30" height="30"></td>
|
|
|
131 |
<td width="1%"> </td>
|
|
|
132 |
</tr>
|
| 121 |
hknight |
133 |
<tr>
|
| 119 |
ghuddy |
134 |
<td width="1%"> </td>
|
| 121 |
hknight |
135 |
<td>
|
| 119 |
ghuddy |
136 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
| 121 |
hknight |
137 |
<tr>
|
| 119 |
ghuddy |
138 |
<td nowrap class="form_ttl">EXPORT dependencies</td>
|
|
|
139 |
<td align="right" valign="bottom">
|
|
|
140 |
<%Call Generate_Tab_Menu ( TABarray3, "ANT-using style", "blue" )%>
|
|
|
141 |
</td>
|
|
|
142 |
</tr>
|
|
|
143 |
</table>
|
|
|
144 |
</td>
|
|
|
145 |
<td width="1%"> </td>
|
|
|
146 |
</tr>
|
| 121 |
hknight |
147 |
<tr>
|
| 119 |
ghuddy |
148 |
<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>
|
|
|
149 |
<td background="images/lbox_bg_blue.gif">
|
|
|
150 |
<!-- Heading -->
|
|
|
151 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
| 121 |
hknight |
152 |
<tr>
|
| 119 |
ghuddy |
153 |
<td nowrap class="lbox_ttl_w"><%=pkgInfoHash.Item ("pkg_name")%> <%=pkgInfoHash.Item ("pkg_version")%></td>
|
|
|
154 |
<td width="1%"><img src="images/h_trsp_dot.gif" width="1" height="46"></td>
|
|
|
155 |
<td align="right">
|
|
|
156 |
<!-- ACTION BUTTONS ------------------------------------------->
|
|
|
157 |
<!------------------------------------------------------------->
|
|
|
158 |
</td>
|
|
|
159 |
</tr>
|
|
|
160 |
</table>
|
|
|
161 |
<!-- END Heading -->
|
|
|
162 |
</td>
|
|
|
163 |
<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>
|
|
|
164 |
</tr>
|
| 121 |
hknight |
165 |
<tr>
|
| 119 |
ghuddy |
166 |
<td width="1%" bgcolor="#FFFFFF"><img src="images/h_trsp_dot.gif" width="10" height="100"></td>
|
| 121 |
hknight |
167 |
<td bgcolor="#FFFFFF" valign="top">
|
| 119 |
ghuddy |
168 |
<!-- Body -->
|
|
|
169 |
<table width="100%" border="0" cellspacing="1" cellpadding="2">
|
|
|
170 |
<form name="close" method="post" action="dependencies.asp">
|
| 121 |
hknight |
171 |
<tr>
|
| 119 |
ghuddy |
172 |
<td nowrap width="100%"> </td>
|
|
|
173 |
</tr>
|
| 121 |
hknight |
174 |
<tr>
|
| 119 |
ghuddy |
175 |
<td nowrap width="100%"><span class="form_txt">Copy this dependency export list into your build file to build this package.</span><br><br>
|
|
|
176 |
<textarea name="FRdeps" rows="25" cols="100" wrap="OFF" class="form_item" onFocus="this.select()"><%=Dependency_List( parPv_id )%></textarea>
|
|
|
177 |
<br><br>
|
|
|
178 |
<input type="submit" name="btn" value=" Close " class="form_btn">
|
|
|
179 |
<br><br>
|
|
|
180 |
</td>
|
|
|
181 |
</tr>
|
|
|
182 |
<input type="hidden" name="pv_id" value="<%=parPv_id%>">
|
|
|
183 |
<input type="hidden" name="rtag_id" value="<%=parRtag_id%>">
|
|
|
184 |
</form>
|
|
|
185 |
</table>
|
|
|
186 |
<!-- END Body-->
|
|
|
187 |
</td>
|
|
|
188 |
<td width="1%" background="images/lbox_bgside_white.gif"> </td>
|
|
|
189 |
</tr>
|
| 121 |
hknight |
190 |
<tr>
|
| 119 |
ghuddy |
191 |
<td width="1%" background="images/lbox_bg_blue.gif" valign="bottom"><img src="images/lbox_bl_cnr_b.gif" width="13" height="13"></td>
|
|
|
192 |
<td background="images/lbox_bg_blue.gif"></td>
|
|
|
193 |
<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>
|
|
|
194 |
</tr>
|
|
|
195 |
</table>
|
|
|
196 |
</td>
|
|
|
197 |
</tr>
|
|
|
198 |
</table>
|
|
|
199 |
|
|
|
200 |
</td>
|
|
|
201 |
</tr>
|
|
|
202 |
<tr>
|
|
|
203 |
<td valign="bottom" background="images/bg_lght_gray.gif">
|
|
|
204 |
<!-- FOOTER -->
|
|
|
205 |
<!--#include file="_footer.asp"-->
|
|
|
206 |
</td>
|
|
|
207 |
</tr>
|
|
|
208 |
</table>
|
|
|
209 |
</body>
|
|
|
210 |
</html>
|
|
|
211 |
<%
|
|
|
212 |
Call Destroy_All_Objects
|
|
|
213 |
%>
|