Subversion Repositories DevTools

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
13 rsolanki 1
<%@LANGUAGE="VBSCRIPT"%>
2
<%
3
'=====================================================
4
'|                                                   |
5
'|			          XML BOM Gen				 	 |
6
'|                                                   |
7
'=====================================================
8
%>
9
<%
10
Option explicit
11
Response.Expires = 0	' always load the page, dont store
12
%>
13
<!--#include file="common/globals.asp"-->
14
<!--#include file="common/config.asp"-->
15
<!--#include file="common/common_subs.asp"-->
16
<!--#include file="common/_popup_window_common.asp"-->
17
 
18
<%
19
'------------ VARIABLE DEFINITION -------------
20
Dim objWSH
21
'------------ CONSTANTS DECLARATION -----------
22
'------------ VARIABLE INIT -------------------
23
'------------ CONDITIONS ----------------------
24
'----------------------------------------------
25
%>
26
<%
27
'--------------------------------------------------------------------------------------------------------------------------
28
 
29
'--------------------------------------------------------------------------------------------------------------------------
30
%>
31
<%
32
'**************************** M  A  I  N ******************************
33
 
34
If Request("bom_id") <> "" Then
35
	Set objWSH = Server.CreateObject("WScript.Shell")
36
	objWSH.Run   "cmd.exe /c cscript.exe //B //NoLogo "& APP_ROOT &"\jobs\PostBOMRelease.wsf /bom_id:"& Request("bom_id") , 0, True 
37
 
38
	Response.write "XML Generated.<br>"
39
	Response.write "Go to <a href='\\auperaweb08\wwwTRD\manager_suite\deployment_manager\downloads'>\\auperaweb08\wwwTRD\manager_suite\deployment_manager\downloads</a>"
40
 
41
Else
42
	Response.write "Please specify bom_id. <br>Example:<br> "& SCRIPT_NAME &"?bom_id=1234"
43
End If
44
 
45
'**********************************************************************
46
%>
47
<%
48
'------------ RUN AFTER CODE RUN --------------
49
'----------------------------------------------
50
%><!--#include file="common/globals_destructor.asp"-->