To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.dev.macOpen lugnet.cad.dev.mac in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / Macintosh / 589
588  |  590
Subject: 
Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
Newsgroups: 
lugnet.cad.dev.mac, lugnet.cad.dev
Date: 
Mon, 1 Mar 2004 17:56:20 GMT
Viewed: 
4704 times
  
In lugnet.cad.dev.mac, James Reynolds wrote:
One other thing.  Environment variables work too, but only serious
Unixy Mac OS X people actually modify them--that is, some developers,
but no one else.  Normal users would even know what they are.  Heck,
even I don't modify mine.  For my l3p and ldglite launcher apps, I grab
the ldrawdir from the prefs, then I modify the environment variable
before it is launched.   But the variable is wiped out once the app is
quit.

Actually Environment variables work pretty well on OS X because they've
set up a standard place to put them, and it's one of those plist files.
See here for details.

  http://ldglite.sourceforge.net/osxinstall.html

It would be nice though to have a standard fallback location for the
LDRAWDIR and LDRAWSEARCH paths.  Somewhere generic like:

/Library/Preferences/org.ldraw.mac.plist

  or

~/Library/Preferences/org.ldraw.mac.plist

I'll have to go back and see what we said about it over the summer.

Don



Message has 1 Reply:
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
(...) Oh. I didn't know it was as easy as: ~/MacOSX/environment.plist I guess that is one route. In Cocoa, which is what Andrew and I are both developing in now, it is really easy to grab prefs that have a unique name for the application. It isn't (...) (21 years ago, 1-Mar-04, to lugnet.cad.dev.mac, lugnet.cad.dev)

Message is in Reply To:
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
One other thing. Environment variables work too, but only serious Unixy Mac OS X people actually modify them--that is, some developers, but no one else. Normal users would even know what they are. Heck, even I don't modify mine. For my l3p and (...) (21 years ago, 1-Mar-04, to lugnet.cad.dev.mac, 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