1 // =============================================================================
2 // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 // Copyright (C) 2009 - DIGITEO - Pierre MARECHAL <pierre.marechal@scilab.org>
5 // This file is distributed under the same license as the Scilab package.
6 // =============================================================================
7 // <-- JVM NOT MANDATORY -->
8 load("SCI/modules/atoms/macros/atoms_internals/lib");
9 // Do not use the autoload system
10 config_autoload = atomsGetConfig("autoloadAddAfterInstall");
11 config_Verbose = atomsGetConfig("Verbose");
12 atomsSetConfig("autoloadAddAfterInstall","False");
13 atomsSetConfig("Verbose" ,"False");
14 // Load the 1st scenario : See scene1.test.atoms.scilab.org.txt
15 atomsRepositorySetOfl("http://scene1.test.atoms.scilab.org");
16 atomsGetTOOLBOXES(%T);
18 atomsInstall("toolbox_5");
19 // Show the dependency tree
20 atomsDepTreeShow("toolbox_5");
26 // Load the 2nd scenario : See scene2.test.atoms.scilab.org.txt
27 atomsRepositorySetOfl("http://scene2.test.atoms.scilab.org");
28 atomsGetTOOLBOXES(%T);
31 // Show the dependency tree
32 atomsDepTreeShow("toolbox_5");
39 atomsRemove("toolbox_5");
40 // Restore original values
41 // =============================================================================
42 atomsSetConfig("autoloadAddAfterInstall",config_autoload);
43 atomsSetConfig("Verbose" ,config_Verbose);
44 atomsRepositorySetOfl("http://atoms.scilab.org");