Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: Configuration Files - more questions
Topic Summary:
Created On: 16-Sep-2004 10:16
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 16-Sep-2004 10:16
User is offline View Users Profile Print this message


Paul Tiplady

Posts: 176
Joined: 28-Oct-2003

Well I think I can see a use for configuration files now -- I need to have an enumerated attribute type available to all formal modules in a project, but I need the users to be able to add enumerations to the type at will, and for a new view to be built with a filter based on the new enumeration value. So I think the best place to keep the enumeration values (names, values and colours) is in a configuration file for the project. That way, if user B has module Q open for exclusive edit, meaning the script user A is running can't update the type in that module, a closing trigger on the module can run (a version of) the script later, using the new set of values defined in the configuration file to update the type. Or maybe the script to update the type only updates the current module and the configuration file, and triggers do the rest of the work next time a module is opened.

(Of course, this means I'll also have to get my head around triggers... )

But the set of enumerations for the type will differ from one project to another, meaning the configuration file needs to be unique to a project. Louie suggests in 'Configuration files -- what are they?' that appending the name of the project to a filename will fix this, but the DXL manual refers to the area confProjUser, which implies to me that this might be a suitable area, unless it is also visible only to one user. Can anyone (Louie? ) shed some light on this? Or is it a left-over from the days of v4, when projects were something subtly different from what they are now?

Any help/wisdom/intelligent guesswork gratefully received...

Paul.

-------------------------


Paul dot Tiplady at TRW dot com
TRW Automotive
Report this to a Moderator Report this to a Moderator
 21-Sep-2004 23:09
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

Trigger documentation is the pits; you'll need to be an Edison to make something work.

Yup, confProjUser seems to be left over from v4. Now it has the same meaning as confUser. To get project unique configurations you'll need to use the confSystem and tailor it for the projectI now prefer to use a project folder therein, rather than appending the project name to all the files. . The line would be something like : confStream cs = confWrite("MyProject/MyConfFile", confSystem). Run that, then go to your data folder, then ther users folder, then the u000000001 folder, and you should see new folder MyProject.

But for your purposes I'd be tempted simply to have some sort of "Attribute Template" module available in the root of each project. DXL would open that module to find the latest and greatest attributes and types and enumerations.

Use triggers if you want, or just wait until B closes the module. Insisting that everyone use "defopenmode = READ_ONLY" helps a lot in reducing needlessly locked modules.

- Louie
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 1 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.