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: Client seems to be caching old dxl
Topic Summary:
Created On: 20-Jul-2006 17:11
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.
Answer This question was answered by Kevin James, on Thursday, July 20, 2006 7:18 PM

Answer:
OK -- should've thought of this earlier.  Somehow this user had some old copies of our repository scripts in his "C:\Program Files\Telelogic\DOORS_8.0\lib\dxl\layout" folder.  We happen to use "layout" in our repository as the folder name for layout DXL scripts, so in our includes DOORS was resolving the old copies on his local drive before the newer copies on the network drive.

Kevin
 20-Jul-2006 17:11
User is offline View Users Profile Print this message


Kevin James

Posts: 32
Joined: 12-Dec-2005

Hi,

I'm having an odd problem with a single client in our office.  The client seems to be caching and old version of a layout DXL script and then generating DXL errors when that view is loaded.

Here's how we're setup:

We have a script repository in a folder on a network drive.  Each user's client has their "Addins" registry entry set to point to that network share.  When we make layout DXL columns, we never include an entire script from the repository in the column definition itself.  Instead, the column dxl should always look like the following:

//////////////////////////////////////////////////////
// define any constants for the column
//
         const string SOME_CONSTANT = "myconstant";
//
//////////////////////////////////////////////////////

#include <layout/mylayoutdxl.dxl>

That way users will always see updates/bug fixes to scripts in the repository without having to recreate views.  (The only time you have to update views is if you change the constants required for a script.)  This has worked exceptionally well for the past few months.  Now today, seemingly out of the blue (though he may not have loaded these views in a while), one user is getting DXL errors for two views.  The only thing that's changed is that I've done a lot of updates to the layout dxl script -- "mylayoutdxl.dxl" in the above example -- which his client should've seen.

The error messages are from the included script and they report errors for things that don't exist in that script anymore.  The views load for 4 other users that I've tried.  I've also tried deleting the view entirely and starting fresh, and he still gets these errors.  It's almost like his client is holding on to an old version of that include in cache or something.  We've restarted the client, cleared out his "C:\Program Files\Telelogic\DOORS_8.0\temp" directory, and recreated the view.  I'm at a loss.

I also checked his shortcut to make sure he wasn't overriding the registry setting for "Addins" with a shortcut parameter.  He's not.  The other scripts, many of which are just a couple days old, do run correctly and show up in his menus.  It's just these 2 layout DXLs.

Any ideas?  Anybody run into something like this?

Thanks,
Kevin

Edited: 20-Jul-2006 at 17:13 by Kevin James
Report this to a Moderator Report this to a Moderator
 20-Jul-2006 19:17
User is offline View Users Profile Print this message


Kevin James

Posts: 32
Joined: 12-Dec-2005

Answer Answer
OK -- should've thought of this earlier.  Somehow this user had some old copies of our repository scripts in his "C:\Program Files\Telelogic\DOORS_8.0\lib\dxl\layout" folder.  We happen to use "layout" in our repository as the folder name for layout DXL scripts, so in our includes DOORS was resolving the old copies on his local drive before the newer copies on the network drive.

Kevin
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.