前往Shuct.Net首页

Shudepb PB反编译专家长时间以来,为业内同类软件事实上的唯一选择.细节,彰显专业.态度,决定品质.

关于PowerBuilder的搜索

PowerBuilder - Extracting Source from PBL Files [Migration by Ispirer SQLWays] [PowerBuilder - Extracting Source from PBL Files] Migration by Ispirer SQLWays You are here: » Ispirer Migration Knowledge Base » PowerBuilder » PowerBuilder - Extracting Source from PBL Files Table of Contents PowerBuilder - Extracting Source from PBL Files Extracting Source from PBL Files Using Tool Using PBExtractor Extracting Source from PBL Files Manually Ispirer Home Page Ispirer SQLWays Product Page - PowerBuilder Conversion Request SQLWays PowerBuilder - Extracting Source from PBL Files In order to perform the conversion of the PowerBuilder application first you need to extract the script files of which each PowerBuilder Library (PBL) file consist. These are the files containing the definition of each object used in the application. There is two ways to do this task using tool developed by our team or do it manually from PowerBuilder. One more benefit of using PBExtractor is collecting information about lines of code for each type of file and total amount of this files. All information is saved into “total_information.log”. NOTE: If you are planning to use SQLWays tool for migration of extracted PowerBuilder files, ensure that it saves them in one of the following encodings: ANSI UTF-8 Extracting Source from PBL Files Using Tool Run PowerBuilder. Create workspace with any name(on the picture below, workspace with the name “new”). Create target with name “extrlib”. PBT and library files will be created automatically with the same name. Import all downloaded files, except sra file, into created target. Open extrlib file with menu option “Edit Source”. Replace content of the opened file with content of the downloaded file, except first row. Make Full Build. Using PBExtractor Run PBExtractor Specify path to PBT file in first text box “Path to PBT file :”. Should be specified existing pbt file. Specify folder where extracted files should be placed in second text box “Folder for extracted files :”. Path should ended with “\” and should be specified existing directory. (Optional) Specify encoding that you want. By default used UTF8. Press button “Extract…” Extracting Source from PBL Files Manually For this purpose please go to the “Tools” menu and run the “Library Painter” as it is specified in the screen-shot below: In the opened “Library Painter” window please browse to one of the pbl files from your PowerBuilder project, select all the objects in the left-hand pane, click the right mouse button on the selected objects and choose “Export” in the menu, like in the picture below: After that you will be prompted to specify the location of each object exported, which definition will be stored in its own file (SRD, SRU, SRW, SRF & etc.) in the specified location. The same set of actions needed to be performed for each PBL file in the project to acquire the definitions of all the objects in the project. Ispirer Home Page Ispirer SQLWays Product Page - PowerBuilder Conversion Request SQLWays sqlways/PowerBuilder/extracting-source-from-files.txt · Last modified: January 13, 2014, 02:49:21 AM by gribok © 1999-2014, Ispirer Systems Ltd.All Rights Reserved. Privacy Statement