The 'links' directory is NetDynamics' way of making sure that we are very
careful developers! :)

When a developer builds a NetDynamics project and adds primary objects
(those that have a corresponding '.java' file) to that project, two sets of
files are created.  First, a 'Studio file' is created for each of the
primary objects.  This file contains the properties for the object itself
and for each of the fields in the object.  You know these by the extensions
'spg', 'sdo', 'spj', 'sum', etc.  Second, to keep track of the
interdependencies between those objects, it maintains a set of files call
'sid' files or 'links'.  ('sid' stands for 'Studio IDs')  These files
contain different information, based on the type of object.  For instance,
for data objects, it contains the names of each of the data fields and its
associated SID; for pages, it contains the names of the each of the display
fields and its associated SID.  When each of the 'links' files is created,
it is given a randomly generated number, and all fields within it are
randomly generated as well.  Then, every time a field is referenced in a
primary object file (like in an 'spg' file when fields binding occurs), the
fields from the other primary objects are referenced by the number rather
than by the name.

If one or more 'sid' files gets out of whack, one of the following can
happen:
1.  Lost bindings of data fields to display fields
2.  Lost display fields and pages
3.  A dialog box that says something like "Parse error" but doesn't tell you
WHERE the parse error occurred.
4.  Worst case - Studio hangs or crashes on loading of project

The last situation is the most frustrating.  The Studio lacks the graceful
degradation that would tell you "Hey... something's hozed and here's what it
is."  So whatever you do, you have to make sure that you always keep a
working backup of the project so that you have a fall-back if anything goes
wrong.  I had really good luck controlling projects using Visual SourceSafe
5 (although I've heard VSS 6 doesn't work so well).

Hope that helps.

-- Grace

----- Original Message -----
From: Beaudreau, Marilyn <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 01, 1999 12:05 PM
Subject: [ND] 'links' directory...


> In ND V4 there is a /links directory under each project.  What is the
> purpose of this area and are its files necessary to maintain?
>
> thx,
>
>
> > Marilyn Beaudreau
> > COMPAQ Computer Corporation
> >
> >
> >
> >
> _________________________________________________________________________
>
> For help in using, subscribing, and unsubscribing to the discussion
> forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
>
> For dire need help, email: [EMAIL PROTECTED]
>

_________________________________________________________________________

For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html

For dire need help, email: [EMAIL PROTECTED]

Reply via email to