Difference between revisions of "Slicer3:Extensions:Directories"

From Slicer Wiki
Jump to: navigation, search
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''TemporaryDirectory''' is user-defined via Application Settings, defaults to /Users/$USER/Slicer3$USER
+
'''TemporaryDirectory''' is user-defined via Application Settings (defaults to /Users/$USER/Slicer3$USER on a Mac)
  
 
'''ExtensionsInstallPath''' is user-defined via Application Settings,  defaults to value of TemporaryDirectory if not set by user
 
'''ExtensionsInstallPath''' is user-defined via Application Settings,  defaults to value of TemporaryDirectory if not set by user
 
    
 
    
 
* Zip files downloaded to TemporaryDirectory
 
* Zip files downloaded to TemporaryDirectory
* Extensions installed to Slicer3 SVN Revision-based subdirectory of ExtensionsInstallPath (default: /Users/$USER/Slicer3$USER/@SVN@)
+
* Extensions installed to Slicer3 SVN Revision-based subdirectory of ExtensionsInstallPath (for example, /Users/$USER/Slicer3$USER/@SVN@)
 +
* After download and install of the new extension,  ExtensionsInstallPath/@SVN@/$ExtensionName is added to the Application's ModulePaths.
 +
*  @SVN@ is the svn revision number of the repository from Slicer3Version.txt for the build.
 
* Slicer3 "default" extensions in Slicer3_INSTALL_MODULES_LIB_DIR
 
* Slicer3 "default" extensions in Slicer3_INSTALL_MODULES_LIB_DIR
 +
* On startup, Slicer3 will search all potential module paths, substituting @SVN@ with the value recorded in Slicer3Version.txt
  
Extension manager will store to ExtensionsInstallPath/@SVN@  Where @SVN@ is the svn revision number of the repository from Slicer3Version.txt for the build.
 
  
This path is appended to PotentialModulePaths.
+
TODO:
  
TODO:
 
On startup, Slicer3 will search all potential module paths, substituting @SVN@ with the value recorded in Slicer3Version.txt
 
 
Check all subdirectories of the ExtensionsInstallPath and see if a previous version had downloaded an extension and if it's not available in the current version, then query the user to download it.
 
Check all subdirectories of the ExtensionsInstallPath and see if a previous version had downloaded an extension and if it's not available in the current version, then query the user to download it.

Latest revision as of 02:43, 30 July 2009

Home < Slicer3:Extensions:Directories

TemporaryDirectory is user-defined via Application Settings (defaults to /Users/$USER/Slicer3$USER on a Mac)

ExtensionsInstallPath is user-defined via Application Settings, defaults to value of TemporaryDirectory if not set by user

  • Zip files downloaded to TemporaryDirectory
  • Extensions installed to Slicer3 SVN Revision-based subdirectory of ExtensionsInstallPath (for example, /Users/$USER/Slicer3$USER/@SVN@)
  • After download and install of the new extension, ExtensionsInstallPath/@SVN@/$ExtensionName is added to the Application's ModulePaths.
  • @SVN@ is the svn revision number of the repository from Slicer3Version.txt for the build.
  • Slicer3 "default" extensions in Slicer3_INSTALL_MODULES_LIB_DIR
  • On startup, Slicer3 will search all potential module paths, substituting @SVN@ with the value recorded in Slicer3Version.txt


TODO:

Check all subdirectories of the ExtensionsInstallPath and see if a previous version had downloaded an extension and if it's not available in the current version, then query the user to download it.