Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titleDirectory resolution
file = if ${user.home}/.ignitecfg exists
           ${user.home}/.igniterc
       else if ${system.default}/.ignitecfg exists
           ${system.default}/.ignitercignitecfg
       else
           None

if file is None {
    libsDir = ${user.home}/ignite-bin
    workDir = ${user.home}/ignite-work
} else {
    libsDir, workDir = read from file
}

...

A default directory structure of installing Ignite 3.0.1 and then upgrading to Ignite 3.0.2 will look as follows:

Code Block
/
+|
+---+Library/Ignite                 ignite
|    +|                                 +|
|    +---+-3.0.1                        |
|    |    +|                            |
|    |    +---+-ignite-3.0.1            |
|    |                                 |
|    +---+-3.0.2                        |
|         +|                            |
|         +----+ignite-3.0.2 <----------+
|
+---+-Users/John
     +|
     +----+ignite-bin
     |    +|
     |    +---+-3.0.1
     |    |    +|
     |    |    +---+-ignite-core-3.0.1.jar
     |    |    |
     |    |    +----+plugin-cli-0.0.1.jar
     |    |
     |    +---+3.0.2
     |         +|
     |         +---+-ignite-core-3.0.2.jar
     |         |
     |         +----+plugin-cli-0.0.1.jar
     |
     +---+-ignite-work
          +|
          +----+ignite.modules={ignite-core,plugin-cli:0.0.1}
          |
          +---+-ignite.classpath={ignite-core-3.0.2.jar:plugin-cli-0.0.1.jar}

...