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 / 9534
9533  |  9535
Subject: 
Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
Newsgroups: 
lugnet.cad.dev
Date: 
Sat, 28 Feb 2004 13:29:48 GMT
Viewed: 
3806 times
  
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.

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.

So what is your opinion on that points?

Michael



Message has 4 Replies:
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
(...) I agree. I like the ini file solution over the environmet varible (...) 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 (...) (21 years ago, 28-Feb-04, to lugnet.cad.dev)
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
(...) I agree (although I did point something out in a response to Orion's response). Unix (and Unix-like) environments do often use the environment to control things, but they also use dot files. And while it wouldn't make sense to have an (...) (21 years ago, 28-Feb-04, to lugnet.cad.dev)
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
(...) I'm only willing to abandon environment variables if you're willing to go the distance and really try to work out a standard that we all can use. I, like Lars, was quite disappointed when you got impatient and cut short the previous discussion (...) (21 years ago, 1-Mar-04, to lugnet.cad.dev, lugnet.cad.dev.mac)
  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 (...) (21 years ago, 5-Mar-04, to lugnet.cad.dev)

Message is in Reply To:
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
(...) Sure, I just chose | because ; is allowed in filenames. /Lars (21 years ago, 10-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