To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 9568
9567  |  9569
Subject: 
Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
Newsgroups: 
lugnet.cad.dev
Date: 
Fri, 5 Mar 2004 19:26:18 GMT
Viewed: 
4058 times
  
In lugnet.cad.dev, Lars C. Hassing wrote:
In lugnet.cad.dev, Michael Lachmann wrote:
An other thing regards the location of the ini file. In past weeks I got
several questions regarding the central installation of LDraw and MLCad,
where universities and schools are trying to install everything on a server,
read-only for the user. Users should either not have the possiblity to
change configs ore should be restricted somehow.

How will such an installation be laid out?

Will users install MLCad on their local machine and
MLCad will then first thing ask the user to locate the LDrawDir,
which the user specifies as e.g. L:\LDraw or \\server\LDraw ?

If the search path should also contain \\server\ExtraParts
then you can not place that information in \\server\LDraw\ldraw.ini
if \\server\LDraw is used from Unix clients also.
These clients would expect e.g. /net/server/ExtraParts in the ldraw.ini.

How do we solve that?
How can the user or administrator specify where to find ldraw.ini?

I'm beginning to understand why you want ldraw.ini in LDrawDir.
Then you can place ExtraParts below LDrawDir,
i.e. \\server\LDraw\ExtraParts, and the search path would include
<LDRAWDIR>\ExtraParts which is usable on all platforms.

Here's how I see it working:

1.  The admin creates an LDRAW directory on the server.
2.  The admin creates extra parts directories under <LDRAWDIR> on the server.
3.  The admin creates an ldraw.ini file in the <LDRAWDIR> using the new
    GUI program and adds extra LDrawSearch paths for the extra dirs using
    the OS neutral <LDRAWDIR>\ExtraParts format.
4.  The admin edits the NT login script \\PDC\netlogin\login.bat
    to set LDRAWDIR env variable.  This will cause all NT users
    to find the ldraw.ini file on the server and use the extra dirs.
4.5.  Depending on the installation, there may be a global script for
    UNIX clients that does the same thing.
4.75  For networked Mac users he creates the global pref file
    /Library/Preferences/org.ldraw.plist with LDRAWDIR and LDrawSearch
    settings in it.
5.  The user logs on and runs MLCAD off of the server.  It reads
    the LDRAWDIR environment variable and finds the <LDRAWDIR>/ldraw.ini file
    with the extra part directories.
6.  The user decides he wants to add the MegaBlok parts.  He copies the
    <LDRAWDIR>ldraw.ini file to his HOME directory and adds a path for
    <HOME>/clones where he has stored the clone parts.  Maybe he even adds
    the tags <PARTS> and <CLONES> to identify them better for some future
    version of LPUB.
7.  He also adds the knex parts and labels the directory with the extra tags
    <PARTS>, <KNEX>, and <SKIP> because he wants to search for knex parts
    before things in the <MODELDIR>, but only when he's enabled KNEX.  Most
    of the time he wants to ignore them.
8.  Finally he adds the boxer parts and labels that directory <PARTS>, <BOXES>,
    and <SKIP> for similar reasons.  He can't put them in %LDRAWDIR%\PARTS\B
    because that's set to read only by the admin.  Hopefully a future version
    of the boxer program will be able to find them in the new location.  Or
    maybe a future version of Windows will allow a user to create real soft
    links instead of those useless shortcut links...

I think this all works ok with the search strategy I listed earlier.

Don



Message has 2 Replies:
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
"Don Heyse" <dheyse@hotmail.spam....away.com> schrieb im Newsbeitrag news:Hu4BBu.20n4@lugnet.com... <SNIP> (...) server. (...) file (...) tags (...) Most (...) <BOXES>, (...) %LDRAWDIR%\PARTS\B (...) version (...) Or (...) soft (...) There is also (...) (20 years ago, 5-Mar-04, to lugnet.cad.dev)
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
"Don Heyse" <dheyse@hotmail.spam....away.com> schrieb im Newsbeitrag news:Hu4BBu.20n4@lugnet.com... <SNIP> (...) tags (...) Most (...) <BOXES>, (...) %LDRAWDIR%\PARTS\B (...) version (...) Or (...) soft (...) Ahhh I didn't see that in the first (...) (20 years ago, 6-Mar-04, to lugnet.cad.dev)

Message is in Reply To:
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
(...) How will such an installation be laid out? Will users install MLCad on their local machine and MLCad will then first thing ask the user to locate the LDrawDir, which the user specifies as e.g. L:\LDraw or \\server\LDraw ? If the search path (...) (20 years ago, 5-Mar-04, to lugnet.cad.dev)

132 Messages in This Thread:
(Inline display suppressed due to large size. Click Dots below to view.)
Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR