本文介绍了我可以配置 appBuilder 以减少源代码修改吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 Progress-4GL 版本 11.6,使用 appBuilder 和过程编辑器.

I'm working with Progress-4GL release 11.6, using appBuilder and procedure editor.

我经常使用外部文本编辑器 (Notepad++) 对 *.W 文件进行一些修改.
之后,当我在 appBuilder 中打开文件并再次保存它们时,appBuilder搞砸了".文件,我的意思是:

Regularly, I'm doing some modifications in *.W files, using an external text editor (Notepad++).
Afterwards, when I open the files in appBuilder and save them again, appBuilder "messes up" the file, by which I mean:

  • GUI 相关的常量被改变,例如SIZE 1.04 BY 2.68 变为 SIZE 1.03 BY 2.69(虚构示例,仅供说明).
  • 屏幕上显示控件的顺序已更改(Buttonn1、Button2 和 radio-set1 的定义变为 radio-set1、Button1 和 Button2 的定义).
  • GUI related constants are altered, e.g. SIZE 1.04 BY 2.68 becomes SIZE 1.03 BY 2.69 (fictional example, just for clarification).
  • The order in which controls on screen are shown, is altered (the definitions of Buttonn1, Button2 and radio-set1 become the definitions of radio-set1, Button1 and Button2).

尽管这些只是小的修改,但它们使比较文件非常困难(如果 appBuilder 创建了 ±50 个以上的文件,请尝试查看两个文件之间的差异).

Although these are just small modifications, they make is quite difficult to compare files (just try to see that one difference between two files if the appBuilder has created ±50 more).

有没有一种方法可以配置 appBuilder,使其在保存文件时进行尽可能少的更改?

Is there a way to configure appBuilder in such a way that it makes as less as possible changes while saving a file?

推荐答案

很遗憾没有.

AppBuilder 的核心来自 90 年代初,当时 Progress V7 和 V8 是最新的.它不是围绕现代 IDE 中使用的 code-dom 或类似结构编写的.AppBuilder 在打开时读取您的 .w 文件,将相关位(包括您所有的自定义源代码)存储在一个充满临时表的手中,并在保存时始终使用相同的例程来编写完整的文件.而 AppBuilder 坚持完全控制所有生成的代码.

The core of the AppBuilder is from the early 90s when Progress V7 and V8 were current. It has not been written around a code-dom or similar structure used in modern IDE's. The AppBuilder reads your .w file on open, stores relevant bits (including all your custom source code) in a hand full of temp-table and on save always uses the same routine to write the complete file. And the AppBuilder insists on full control over all generated code.

嗯……该工具的源代码是公开的.但那是另外一回事了.

Well ... the source code for the tool is publicly available. But that is another story.

这篇关于我可以配置 appBuilder 以减少源代码修改吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-11 10:34