I am looking for a way to make a DXL library for many modules and many users. I am aware of the "include" feature, but can't reliably get the include file to all users. Users can only reliably login to the DOORS database. Is there a way to store the DXL code in the DOORS database somehow? I am using DOORS 8.1. |
Re: DXL include library stored within DOORS https://www.ibm.com/developerworks/forums/thread.jspa?messageID=14261922� However all solutions include a network drive or include files. Perhaps I am stuck with that! |
Re: DXL include library stored within DOORS Yes, you cannot pass non-string parameters to eval_() code. If you want to eval_ something on the 'current module' you will need to pass the full name of the module, and the eval_ code would open that module to get the Module handle. If you want to include a library file, you can read that file from one attribute, read the program DXL from another, and then eval_(LibraryDxlCode "\n" ProgramDxlCode). the ProgramDxlCode would not issue an "#include". The more I think about this the more I like it, since you don't have to pass hokey string parameters to the library. Thinking out loud: perhaps use config files instead of database level module. Advertise a single DXL that folks can download and insert as '-d' command line switch, which reads the base config files and somehow builds the addins and projectaddins menues. Running a DXL will have slow initial load times, so what. Other folks seem to have some luck auto-downloading DXL from a server to the local client and running it there, but that only improves performance and doesn't really solve the disparat problem. Maybe the clevern notion in the previous paragraph can be used to download DXL from config files, instead of from some common server. Putting DXL on a server and modifying 'addins' and 'projectaddins' variables works well, so long as all user have access to that \\server. I wrote some layouts and attrDXL that did that for a small Project in a small Database, but as soon as we moved to a more general database it failed due to disparat users etc. The situation was untendable when we started archiving and restoring in contactor databases.
|