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 // =============================================================================
8 // <-- JVM NOT MANDATORY -->
10 load("SCI/modules/atoms/macros/atoms_internals/lib");
14 // Do not use the autoload system
15 config_autoload = atomsGetConfig("autoloadAddAfterInstall");
16 config_Verbose = atomsGetConfig("Verbose");
17 atomsSetConfig("autoloadAddAfterInstall","False");
18 atomsSetConfig("Verbose" ,"False");
20 // Load the 1st scenario : See scene1.test.atoms.scilab.org.txt
21 atomsRepositorySetOfl("http://scene1.test.atoms.scilab.org");
22 atomsGetTOOLBOXES(%T);
25 atomsInstall("toolbox_5");
27 // Show the dependency tree
28 atomsDepTreeShow("toolbox_5");
30 // Load the 2nd scenario : See scene2.test.atoms.scilab.org.txt
31 atomsRepositorySetOfl("http://scene2.test.atoms.scilab.org");
32 atomsGetTOOLBOXES(%T);
37 // Show the dependency tree
38 atomsDepTreeShow("toolbox_5");
41 atomsRemove("toolbox_5");
43 // Restore original values
44 // =============================================================================
45 atomsSetConfig("autoloadAddAfterInstall",config_autoload);
46 atomsSetConfig("Verbose" ,config_Verbose);
47 atomsRepositorySetOfl("http://atoms.scilab.org");