Rev 119 | Blame | Compare with Previous | Last modification | View Log | RSS feed
<%@LANGUAGE="VBSCRIPT"%><%Option explicitResponse.Expires = 0 ' always load the page, dont store%><%'=====================================================' Generate Files and Folders'=====================================================%><!--#include file="common/conf.asp"--><!--#include file="common/globals.asp"--><!--#include file="common/formating.asp"--><!--#include file="common/qstr.asp"--><!--#include file="common/common_subs.asp"--><!--#include file="common/common_dbedit.asp"--><%'------------ ACCESS CONTROL ------------------%><!--#include file="_access_control_general.asp"--><%'------------ Variable Definition -------------Dim parPv_idDim parRfileDim rsPkgInfoDim retERRmsgDim retParameters'------------ Constants Declaration -----------'------------ Variable Init -------------------parPv_id = QStrPar("pv_id")parRfile = QStrPar("rfile")'----------------------------------------------%><%Sub RunGenerateComponents ( nPv_id )Dim objWSHSet objWSH = Server.CreateObject("WScript.Shell")objWSH.Run "cmd.exe /c cscript.exe //B //NoLogo "& rootPath & SCRIPTS_FOLDER &"\on_Make_Official.wsf //job:GetComponents "&_"/pv_id:"& nPv_id &" /f", _0, True'OraSession.BeginTrans'OraDatabase.ExecuteSQL " UPDATE package_versions "&_' " SET release_notes_info = '"& enum_RELEASE_NOTES_FILES_RECAPTURED &"'"&_' " WHERE pv_id = "& nPv_id &_' " AND release_notes_info NOT LIKE 'MSG:%'"'' OraSession.CommitTransEnd Sub%><%'---------------------------------- MAIN LINE ----------------------------------------' REQUREMENTS CHECKCall RunGenerateComponents ( parPv_id )'Return PageIf parRfile = "" Or parRfile = "_generate_release_notes.asp" ThenResponse.Redirect ( "files_and_folders.asp?pv_id="& parPv_id &"&rtag_id="& parRtag_id )ElseResponse.Redirect ( parRfile &"?pv_id="& parPv_id &"&rtag_id="& parRtag_id )End If%><!-- DESTRUCTOR -------><!--#include file="common/destructor.asp"-->