Previous Next         Current Page: NeXtMidas Training / Option Trees / Using an Option Tree / Linking to Option Trees / Unix Only
Start Here   
Background   
Common Midas Concepts   
Getting Started   
Working with Files   
Option Trees   
   + Overview   
   - Using an Option Tree   
      - The Path   
         - Using PATH   
         - Using OPTION   
      - Linking to Option Trees   
         - Unix Only   
      - Using NMD   
      - Using HOMEPATH   
   + Lab 1   
   + Creating an Option Tree   
   + Command Dictionary   
   + Building an Option Tree   
   + Lab 2   
Macros - Part 1 (Basics)   
Macros - Part 2 (Graphics)   
Primitives   
Installing NeXtMidas   
Applets & WebStart   
Mapping (NeXtEarth)   
Remote Midas InterFace (RMIF)   
Using NetBeans   
X-Midas Interoperability   
Remoting an X-Midas App.   


  • Linking to Option Trees
    • Some Unix-Only methods:
      The Symbolic-Link Way (Unix Only)
      This is a variant of The Put-It-Under-NMROOT Way where the option tree remains outside of the NeXtMidas installation and a link to it is placed in $NMROOT/nxm.
      This is extremely common on Linux since the option trees are outside of the NeXtMidas baseline but still get picked up automatically (without using OPTION).
      The directory structure would look like:
      $NMROOT/nxm
        +- sys
        +- myopt -> /home/student/myopt123
        +- ucl
      
      /home/student/myopt123
        +- cfg
        +- prim
        +- mcr
        +-  :
      The Back-Link Way (Unix Only)
      This is a variant of The Normal Way that compresses the directory structure slightly by using a recursive symbolic link.
      Use of this method is discouraged. This method causes serious problems for many IDEs (Integrated Development Environments).
      For example:
      nM> option myopt /home/student/myopt123
      In this example the option tree would be named MYOPT and the directory structure would look like:
      /home/student/myopt123
        +- nxm
        |   +- myopt -> ..
        +- cfg
        +- prim
        +- mcr
        +-  :