![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: WEXP - Inserted views Topic Summary: Created On: 3-Mar-2005 08:10 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: OK, Jeremy has checked it and it was really a bug... I've attached the updated file you have to insert in "doors/lib/dxl/addins/wexp/include". | |||
![]() |
|||
Currently I'm trying to use the WEXP function where a complete view of another module is inserted in place of an object as described in the users guide (V 11.4, 5.3.2.3.2). But it doesn't work...
I'm using to modules: /Root/MyModule1 - containing a view called "MyView1" /Root/MyFolder/MyModule2 The export runs from MyModule2 with the following settings (view called "Export View"): ID Main Column WEXP View Name WEXP Module View WEXP Export Style 3 someText MyView1 MyModule1 Table But the WEXP-script doesn't find the view "MyView1" in "MyModule1" in the parent folder. Also trying to give the absolute path in the "WEXP Module View" ("/Root/MyModule1") doesn't work. WEXP seems to search only in the current module and finds of course no view called "MyView1". Any ideas? Or do I basically misunderstand the use of inserted views? Thanks for help... Thomas Flauger (thomas.flauger@eads.com) |
|||
![]() |
|||
![]() |
|||
WEXP Module View = "Module1"
it will work as long as you use the absolute path from the nearest ancestor project. Select Module1 in the DOORS explorer, goto Toos->Edit DXL... and run the following line of DXL: print fullName(getSelectedItem) Use the string printed in "WEXP Module View" and it should work. |
|||
![]() |
|||
![]() |
|||
Thanks Antonio,
already tried that. Now the "WEXP Module View" attribute looks like:
"/Root/MyModule1" where /Root is a Project folder.
But the error message remains:
"View 'MyView1' named in attribute 'WEXP View Name' in object '3' does not exist in module'/Root/FOLDER/MyModule2'. Continue exporting?"
|
|||
![]() |
|||
![]() |
|||
I tried your scenario using WEXP v11.0 and it works OK. It may be that there is a bug in v11.4.
I'd advise you to contact Jeremy Dick for advice. |
|||
![]() |
|||
![]() |
|||
I'm already in contact with Jeremy, but no solution yet.
Can you send me your WEXP v11.0 that I can check if that's the problem?
Thank Thomas
mail: thomas.flauger@eads.com
|
|||
![]() |
|||
![]() |
|||
OK, Jeremy has checked it and it was really a bug...
I've attached the updated file you have to insert in "doors/lib/dxl/addins/wexp/include".
|
|||
![]() |
|||
![]() |
|||
Could you send me this file too you still have it? I have run into the same problem. The link for the "wexp.inc" attachment leads to a "page not found".
|
|||
![]() |
|||
![]() |
|||
Hi
I had the same problem as described in this topic. I downloaded the modified wexp.inc, and tried WEXP. Unfortunately, when running WEXP I get DXL errors related to an undeclared variable in wexp.inc, named addAttrToBuffer. Part of DXL Output: -E- DXL: <../addins/wexp/include/wexp.inc:865> incorrectly concatenated tokens Included from: <../addins/wexp/include/wexpload.inc:55> -E- DXL: <../addins/wexp/include/wexp.inc:865> undeclared variable (addAttrToBuffer) Included from: <../addins/wexp/include/wexpload.inc:55> <...> Is there a solution for this? Thanks and advance, Sjors Edited: 1-Nov-2007 at 11:43 by Sjors de Leeuw |
|||
![]() |
|||
![]() |
|||
Hi
I had the same problem as described in this topic. I downloaded the modified wexp.inc, and tried WEXP. Unfortunately, when running WEXP I get DXL errors related to an undeclared variable in wexp.inc, named addAttrToBuffer. Part of DXL Output: -E- DXL: <../addins/wexp/include/wexp.inc:865> incorrectly concatenated tokens Included from: <../addins/wexp/include/wexpload.inc:55> -E- DXL: <../addins/wexp/include/wexp.inc:865> undeclared variable (addAttrToBuffer) Included from: <../addins/wexp/include/wexpload.inc:55> <...> Is there a solution for this? Thanks and advance, Sjors Edited: 1-Nov-2007 at 11:44 by Sjors de Leeuw |
|||
![]() |
|||
![]() |
|||
This version of WEXP seems to fix the problem for us. We got if from out Telelogic rep.
|
|||
![]() |
|||
![]() |
|||
Rand, thank you very very much (also for this swift response). This version of WEXP is working as it should be working!
|
|||
![]() |
|||
![]() |
|||
One last question:
in this version, really all include files are encrypted and makes modifications impossible. There's a bug in a regular expression in wexpinit.inc (see also this thread), whcih I cannot fix now because of the encryption. Do you have a decrypted version of wexpinit.inc, maybe? Edited: 2-Nov-2007 at 09:42 by Sjors de Leeuw |
|||
![]() |
|||
![]() |
|||
Sorry Rand, I managed to delete your message and it was unavailable to recover. The original message is below
- though this has resolved the duplicate posting issue ----------------------------------------- From: Rand Methfessel Posts: 5 Joined Forum: 12-Jan-2006 Unfortunately no, and we have tried unsuccessfully to get an uncrypted version for some time. We'd like to modify the code to allow us to run WEXP in batch mode without having to fill in any of the dialogs. You wouldn't happen to know how to do that, woudl you? We've also seen that other problem, and the only workaround I've found is to exit DOORS and re-login. ------------------------- Forum Administrator Telelogic Product Support Edited: 5-Nov-2007 at 13:55 by Forum Administrator |
|||
![]() |
Telelogic DOORS
» DXL Exchange
»
WEXP - Inserted views
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.