![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Is there a DXL to indicate module size? Topic Summary: Created On: 14-Jan-2004 22:01 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
I seem to remember seeing a DXL someone wrote for getting the module file size. Is there one available?
Also, is it possible to get an indentured report listing the modules ID under their respective projects? ![]() |
|
![]() |
|
![]() |
|
The attached generates a spreadsheet listing module information.
------------------------- Tony Goodman http://www.smartdxl.com |
|
![]() |
|
![]() |
|
thank you, but is there a way to get the actual file size of each module?
|
|
![]() |
|
![]() |
|
You could develop a script that will automatically archive each module and then check the size on the disk
![]() ------------------------- pete.kowalski(at)motorola.com |
|
![]() |
|
![]() |
|
You need to be more specific about what "size" is. Do you mean counting all the characters in Object Text and Object Heading? Counting Objects? Size on the file system? Archived size?
- Louie |
|
![]() |
|
![]() |
|
Louie:
- size on the file system. We do have a chron job which will give us the file size, but it would be nice for DXL to give us the information: p1000003f.pro = projectA ...m100000.mod = System Spec 34K /opnet-doors/doors/data6/p100003f.pro/m1000000.mod/current.ver 37K /opnet-doors/doors/data6/p100003f.pro/m1000000.mod 429K /opnet-doors/doors/data6/p100003f.pro/m1000001.mod/b1000000.bas 516K /opnet-doors/doors/data6/p100003f.pro/m1000001.mod/b1000001.bas |
|
![]() |
|
![]() |
|
Here you go.
The attached prints the disc space consumed by each formal module in the current project. You need to edit the file to enter the location of your doors data. I haven't tried it on a large database, so I'm not sure how long it will take to complete. ------------------------- Tony Goodman http://www.smartdxl.com |
|
![]() |
|
![]() |
|
Hi,
I think attached source code is missing now. Do anybody has that? Could anybody put those code in forum or send to my email address, thank you. As this topic was discussed many days back, is there any update to get the size of current module (in file system)? Greetings, Rony ================== Iftakher Uddin (Rony) iftakher.uddin@HOOD-Group.com |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
Thanks Tony...
Greetings, Rony ================== Iftakher Uddin (Rony) iftakher.uddin@HOOD-Group.com |
|
![]() |
|
![]() |
|
Didn't critique the DXL that much but I've done similar work. I've figured out where the DB is located using clever Config file access; try to read a Config file that doesn't exist, trap the DXL error with "lastError()", then parse the error message looking for the path of the "No such file" file name. Yes, convert the module's unique ID into a directory name.
Your DXL surely must be run while ON the DOOR server, yes? - Louie |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Is there a DXL to indicate module size?
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.