如何将 PowerBuilder .srj 内容与 PowerGen .gen 内容关联?

发布于 2024-10-16 12:47:33 字数 1476 浏览 0 评论 0原文

在 PowerBuilder 中,要本地部署应用程序,您可以使用 .srj 文件,该文件具有大量复选框选项以及要包含的包列表。一个例子是这样的:

/* myapp.srj */
HA$PBExportHeader$myapp.srj
EXE:c:\dev\core\myapp.exe,,0,1,1
CMP:0,0,0,2,0,0
COM:My Application
DES:My Application
CPY:2011
PRD:My App
PVS:2
PVN:4,0,0,0
FVS:2
FVN:4,0,0,0
PBD:C:\_p4\chk\branches\PB\app\myapp.pbl,,1
PBD:C:\_p4\chk\branches\PB\app\myapp2.pbl,,1
PBD:... and so on

但是,您可以使用 fancy(tm) PowerGen,您可以使用这种时髦的文件自动执行构建过程:

/* myapp.gen */
$PowerGenVersion=12
$ProjectName="","powergen.log",0,""
$DefaultApplication=""
$DefaultLibrary=""
$ApplicationName="myapp",0,0,0,0,0,1257441159,1, 0
$ApplicationLibrary="app\myapp.PBL",0
$EXEPath=".\bin\myapp.exe","",1,0
$CodeSigning=
$ICOPath="myapp.ico"
$PBRPath=""
$PBDPath=".\bin",1,0
$SourceControl="","","","",0,0
$Library="app\myapp.pbl","myapp.pbr",0,0,0,"app\myapp.pbg"
$Library="app\myapp2.pbl","",0,2,0,"app\myapp2.pbg"

我的问题是存在一个问题,即我期望 .srj 文件中的设置没有被执行翻译成 .gen 文件。

有谁知道任何描述 .gen 文件中的设置如何与 .srj 文件相关的文档?

我特别关注以 CMP: 开头的 .srj 文件行的比较设置,但设置的完整文档会很棒:)

我已经转到我们系统上的 PowerGen,并尝试在启用和不启用我的设置的情况下保存 gen 文件的副本,看起来像这一行: $EXEPath=".\bin\myapp.exe","",1,1

$EXEPath=".\bin\myapp.exe","",1,0$EXEPath=".\bin\myapp.exe","",1,0代码> <新视觉风格控件关闭 $EXEPath=".\bin\myapp.exe","",1,1 <新的视觉样式控件

仍然需要一些文档。我在安装 PowerGen 时通过 F1 没有出现 .chm 文件

In PowerBuilder, to locally deploy the application, you can use the .srj file which has a whole lot of tickbox options, plus a list of packages to include. An example is this:.

/* myapp.srj */
HA$PBExportHeader$myapp.srj
EXE:c:\dev\core\myapp.exe,,0,1,1
CMP:0,0,0,2,0,0
COM:My Application
DES:My Application
CPY:2011
PRD:My App
PVS:2
PVN:4,0,0,0
FVS:2
FVN:4,0,0,0
PBD:C:\_p4\chk\branches\PB\app\myapp.pbl,,1
PBD:C:\_p4\chk\branches\PB\app\myapp2.pbl,,1
PBD:... and so on

However, you can use the fancy(tm) PowerGen, you can automate the process of building, using this funky kind of file:

/* myapp.gen */
$PowerGenVersion=12
$ProjectName="","powergen.log",0,""
$DefaultApplication=""
$DefaultLibrary=""
$ApplicationName="myapp",0,0,0,0,0,1257441159,1, 0
$ApplicationLibrary="app\myapp.PBL",0
$EXEPath=".\bin\myapp.exe","",1,0
$CodeSigning=
$ICOPath="myapp.ico"
$PBRPath=""
$PBDPath=".\bin",1,0
$SourceControl="","","","",0,0
$Library="app\myapp.pbl","myapp.pbr",0,0,0,"app\myapp.pbg"
$Library="app\myapp2.pbl","",0,2,0,"app\myapp2.pbg"

My issue is there is a problem where what I expect my settings to be in the .srj file are not being translated over to the .gen file.

Does anyone know of any documentation that describes how the settings in the .gen file relate to the .srj file?

I am specifically after the comparative settings for the .srj file line starting CMP: but a full documentation of the settings would be great :)

.

.

.

.

I've gone to the PowerGen on our system, and tried saving a copy of the gen file with and without my setting on, and it looks like it's this line:
$EXEPath=".\bin\myapp.exe","",1,1

$EXEPath=".\bin\myapp.exe","",1,0 < New Visual Style Controls off
$EXEPath=".\bin\myapp.exe","",1,1 < New Visual Style Controls on

Would still like some documentation though. I have no .chm file coming up though F1 on our install of PowerGen

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

过气美图社 2024-10-23 12:47:33

PowerGen 安装的 Program Files 目录中安装了一个非常强大的 PDF 文档。然而,看看我的,我没有看到你正在寻找的答案。另一个要检查的地方是 E Crane 的支持论坛;我一直发现 E Crane 得到了大力支持。

祝你好运,

特里。

There's a pretty robust PDF document installed into the Program Files directory where PowerGen is installed. However, looking at mine, I don't see the answers you're looking for. The other place to check is E Crane's support forums; I've always found E Crane to have great support.

Good luck,

Terry.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文