问题标签 [ibm-doors]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
skip-lists - 跳过列表(DXL/DOORS)上的键值关系
我试图在数据库中找到相同的登录 id 用户。
首先,我将每个用户都放到跳过列表中,然后我想逐个比较。我的问题是如何获得 Skiplist 上的关键值。
我的一段代码在这里:
有人可以为此提供提示,我是这种语言的新手。提前致谢。
编辑:现在它正在工作
pragma runLim,0
这一行是为了避免执行时间警告。
cmd - 在后台(命令行)运行 DXL 脚本:DXL/DOORS
我正在尝试使用命令行启动 dxl 脚本。但我收到很多警告和错误。
当我在门 gui 上尝试这个脚本时,它工作正常,但是当我在没有 gui 的命令行上尝试时,它没有。
这是警告的图像:
这是命令行脚本:
"%ProgramFiles%\IBM\Rational\DOORS\9.3\bin\doors.exe" -d 36677@bie -u "xxx yyy" -P don -b "d:\workset\mc\addins\Devel\exporterRTF.dxl"
为什么它不适用于命令行?感谢任何帮助、想法等。
编辑 :
这是我尝试运行的链接:myprogram.dxl
这是在我的运行脚本中导入的链接,包括在 myprogram.dxl
这是一个在我的运行脚本中导入的链接,包括在 myprogram.dxl 中
ibm-doors - DOORS 中存储的 DXL 文件在哪里
有人知道 DOORS 在哪里存储 DXL 文件吗?1- 如何使用 DOORS UI 访问这些脚本?2-硬盘上的存储目录是什么?
谢谢
ibm-doors - 在 DOORS 中从 DXL 调用 Java 代码
我想在 DOORS 中有一个自定义插件菜单,并想从那里调用一些 JAVA 代码。是否可以在 DXL 中调用可执行的 jar 文件?
ibm-doors - 来自基线模块的内联链接问题
我有一个带有基线模块的内链接的对象,在当前模块中删除了内链接(基线模块的外链接已删除)。使用 canDelete 函数时,它返回 true,因此在对该对象使用 softdelete 函数时会出现 DXL 错误。内联链接不应该存在,打开时会打开基线模块。IE 内联模块是 2.0,但是当打开内联时基线 1.0 被打开。这在用于对象管理的应用程序中产生了问题,如何避免?canDelete 函数应该返回 false,因为它具有 In-Links 但它返回 True 从而在 softDelete 上给出错误。我目前正在运行 DOORS 9.3,我尚未在 9.5 中对其进行测试,但目前无法使用 9.5。如何解决这个问题?
ibm-doors - DXL DOORS PFM get parameter value
i'm using PFM module of DOORS. I have to write to a file some information from a configuration in PFM.
I want all the paramaters with name, value and unit. The following is the code i tried, but couldn't get all the paramters
According to the PFM API, values of parameter is contained in Skip list. But value1 contains ''Standard layout'' instead of the value whereas the other values (name and unit) are correct.
Thank you for your help.
ibm-doors - 如何将门中的外链接更改为内链接
在门中,我有一些错误指向的链接,即链接是外链接,但我想在链接中制作它们。有人可以帮助我使用可以轻松执行此操作的 dxl 脚本。提前致谢。
scripting - Create DOORS attribute for section heading
How can I create a DOORS attribute “SectionHeading” to display the section number + title that an object falls under?
Example (each line here is a DOORS object):
Section 3.1 XXX Requirements
Req100 System shall do this… (where this object is under Section 3.1 in DOORS)
Section 3.1.1 YYY Sub-requirements
Req234 System shall do this sub-thing…. (where this object is under Section 3.1.1)
Req368 System shall do this other sub-thing… (where this object is also under Section 3.1.1)
Section 3.1.1.1 ZZZ Sub-requirements
Req555 System shall do this sub-thing….(where this object is under Section 3.1.1.1)
Req123 System shall do this other sub-thing… (where this object is under Section 3.1.1.1)
Req580 System shall do this other sub-thing… (where this object is under Section 3.1.1.1)
I want to create an attribute called “SectionHeading” to show:
Req100, SectionHeading: “3.1 XXX Requirements”</p>
Req234, SectionHeading: “3.1.1 YYY Sub-requirements”</p>
Req368, SectionHeading: “3.1.1 YYY Sub-requirements”</p>
Req555, SectionHeading: “3.1.1.1 ZZZ Sub-requirements”</p>
Req123, SectionHeading: “3.1.1.1 ZZZ Sub-requirements”</p>
Req580, SectionHeading: “3.1.1.1 ZZZ Sub-requirements”</p>
I don’t want to create links within a module from an object to its section header (though this would probably give me what I need).
scripting - 如何根据另一个属性的值创建 DOORS DXL 属性?
X 和 Requirement 是现有属性。
我想创建一个属性 Z,对于给定的对象,如果 Requirement=True,则 Z={属性 X 的值},但如果 Requirement=False,则 Z={Object Heading and Object Text}。
制作此属性的 DXL 是什么?谢谢。
ibm-doors - (DXL/Doors) How to find and count a text in a string?
I want to find a text string in a given column for each object, and count how many times that string is repeated.
For example, I would like to define as string column "XX", and I would like to find the text "hello" in column "XX" for all objects.
Further to it I want each time that "hello" is find, it should be counted in order at the end of the script, the total ammount of "hello" shall be shown.
I have tried to use command findPLainText, but once the text "hello" is find in a object, it stops. So whether in a same object for example "Hello here you have 2 hello", once the first text has been found the second ones isn't searched or counted.
How I can do it?
Thank you in advance for your help!!
Edit: I have divided all this in 3 tasks:
1.- Extract text for some columns in order to define a string for each object.
2.- Define a second string I'm looking for inside that columns text.
3.- Count how many times the second string has been found.
I have complete the 2 first tasks:
With this I get text from columns 0, 1 and 2, put together in a same string. After that I define the text I'm looking for "XXX". And entire n gives me how many times it is found.
However this script doesn't work properly becuase once the text is found first time in a given object, it continues with the following object. So the text it is only found once for each object. However whether the same text "XXX" it is include many times at the same string s I can't count it (for example, whether s="XXX and XXX but XXX", this script counts 1 instead 3.
Could somebody helps me, correcting the script?
Thank you in advance for your help!!