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 / 9535
9534  |  9536
Subject: 
Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
Newsgroups: 
lugnet.cad.dev
Date: 
Sat, 28 Feb 2004 15:15:31 GMT
Viewed: 
3759 times
  
In lugnet.cad.dev, Michael Lachmann wrote:
I just start a new sub-thread to discuss two very important points where I
thought over two nights now:

The location of the ini file and environment variables!

I would not recommend to go with both solutions, because its source for
possible errors and confusion for the user. The thing is what would be the
first thing to consider for a software - what if environment variables and
ini files contain path definitions but different ones? I would prefere to go
with the ini file variant only - even if some of you have implemented this
strategy already - this should not be a point, also I have to discard my
current implementation on this topic.
Also I have something in mind - correct if I'm wrong - but Java does not
support this environment varables very well - and as we mentioned earlier
they are very dependend on the operating system.

I agree.  I like the ini file solution over the environmet varible

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.
- Now having a ini file in the windows directory would not support this
approach, and personaly I'm not a favorite of spamming the windows system
directories with private files (even if some windows variants do that on
theire own :-)
So my suggestion is to have one ini file in the ldraw directory itself, and
another one optionally in the users home directory.

I agree that putting the ldraw.ini the LDRAW dir would make much more sense (why
it wasn't in the first place is puzzling) but the problem is that the programs
the use it expect it in the Windows directory.  If we move it then all these
programs (some of which are not actively developed any more) would have to be
changed.

-Orion



Message has 1 Reply:
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
(...) Well, the ldraw directory itself can be specified in ldraw.ini. And while I agree that filling up the Windows directory is generally a bad thing, you can't have the file be in the LDraw directory if it is the file that specifies where to find (...) (20 years ago, 28-Feb-04, to lugnet.cad.dev)

Message is in Reply To:
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
I just start a new sub-thread to discuss two very important points where I thought over two nights now: The location of the ini file and environment variables! I would not recommend to go with both solutions, because its source for possible errors (...) (20 years ago, 28-Feb-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