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: DXL Scripts location
Topic Summary: DXL Scripts location
Created On: 13-Apr-2006 19:22
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.
 13-Apr-2006 19:22
User is offline View Users Profile Print this message


Daxesh Patel

Posts: 22
Joined: 15-Jul-2005

Does anyone know if it's possible to store the DXL scripts on the server so everyone can access them when using DOORS.
Currently we have to run a registery patch for all DOORS users which points to the addins directory on a network drive. We have different locations using DOORS which have different network drives.
Report this to a Moderator Report this to a Moderator
 13-Apr-2006 20:29
User is offline View Users Profile Print this message


ron lewis

Posts: 650
Joined: 20-Sep-2004

In the doors help file -- search for command line swtiches
Report this to a Moderator Report this to a Moderator
 18-Apr-2006 04:13
User is offline View Users Profile Print this message


Kevin James

Posts: 32
Joined: 12-Dec-2005

Daxesh,

We're in a similar situation here.  I don't know of a way to have the scripts stored on the server -- aside from literally sharing a folder on the server's drive and having people map it.  Doesn't seem wise to me to do it that way, and that's not much different from a network drive.

We have two different buildings and users from each building access DXL scripts from their respective network drives.  What we've setup here is two share folders, each mirrors of each other, one in my building and one in the other.  We have two different ghost images for the client, and each has different registery settings depending on where it will be deployed so it knows which mirror to point to.

Our DXL scripts are source controlled, so I just use an Ant script to deploy them from our source control tool to the mirrors in both buildings.  We have a somewhat slow VPN connection between the two buildings, so the performance (in terms of loading DXL scripts) is much better when users use their local network drive.  Given that, I think storing them on the server (even if there were a good way to do it) would have its downsides in terms of performance.

Kevin

Report this to a Moderator Report this to a Moderator
 19-Apr-2006 02:25
User is offline View Users Profile Print this message


Paul Miller

Posts: 376
Joined: 2-Oct-2002

Hi Daxesh,

I think the problem is that your using a network drive reference to point to the location.

Rather than using a network drive reference it's better to use a share name and path reference as this doesn't use a drive label which as you have pointed out can vary from user to user.

If you've not seen one of these before, a share name and path reference has the syntax:

\\<Host Name>\<share name>\<path to target folder relative to share name>.

You need to get one of your IT people to configure a share on the parent folder to where your DOORS addins folder is located on the central server. So your share may look something like this:

\\regulus\doors\addins.

-------------------------
Paul Miller
Specification Practices Specialist,
EuroCyber,
Melbourne, Australia.
Mobile: +61 (0)418 135 103
Web Site: http://www.eurocyber.biz
E-mail: miller@eurocyber.biz">pmiller@eurocyber.biz
Report this to a Moderator Report this to a Moderator
 20-Apr-2006 16:12
User is offline View Users Profile Print this message


Daxesh Patel

Posts: 22
Joined: 15-Jul-2005

thanks for the reply,
our IS dept won't lets us have the hostname/sharename because "Shares are frowned upon due to virus activities and connectivity concerns". The scripts needs to be accessed by Germany, Poland, India and USA. The scripts are located in USA.

I tried setting up a "SureSync" to copy from one location to another but this fails as the scripts are referencing files in the local directory (e.g. "#include <L:\Doors_DXL_Scripts\addins\CustomScritps\directoryName.inc>"). As of now, I copy the scripts onto the different drive/location then modify the "L:\..." to say "D:\..." and also change the registery entry for addins path.
Report this to a Moderator Report this to a Moderator
 21-Apr-2006 09:11
User is offline View Users Profile Print this message


Paul Worrall

Posts: 87
Joined: 30-Sep-2003

Remember that it is not necessary to quote absolute paths in your #include statements, for example if the addins environment on the client machine includes the directory 'D:\DOORS_DXL_Scripts\addins', then the statement '#include <CustomScripts\directoryName.inc>' will look in 'D:\DOORS_DXL_Scripts\addins\CustomScripts' for the file called 'directoryName.inc'. You may be able to use this to aviod having to modify the scripts to suit the local drive mappings.
Report this to a Moderator Report this to a Moderator
 21-Apr-2006 14:21
User is offline View Users Profile Print this message


Daxesh Patel

Posts: 22
Joined: 15-Jul-2005

Inculde file is a bad examaple. I have other files like ".dot" file or ".bmp" file which do not open when running the script from the Menu. I have figured out a way to get the files path from the Registry by using the getRegistry function. This will work for all users.
Report this to a Moderator Report this to a Moderator
 24-Apr-2006 17:39
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

You can put them on any server to which the user can access through Windows Explorer. If the user can see your "\\DoorsServer" then put them there, perhaps in "\\DoorsServer\DXL-Addins". Our DOORS server is regrettably isolated from all such contact except via Ports, so we cannot deploy the DXL on that server. Realistically, if you have a netword-divers DOORS work force you WANT to make multiple-deploys, where each such group goes to the DXL that's close ..err.. I mean fast on the network. DXL deployment would mean knowing about and updating all such locations.

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