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");
12 // Load the 1st scenario : See scene1.test.atoms.scilab.org.txt
13 atomsRepositorySetOfl("http://scene1.test.atoms.scilab.org");
14 atomsGetTOOLBOXES(%T);
16 // Do not use the autoload system
17 config_autoload = atomsGetConfig("autoload");
18 atomsSetConfig("autoload","False");
21 // Install the toolbox 5
22 // =============================================================================
24 atomsInstall("toolbox_5");
26 // Check if the module is really installed
27 if ~atomsIsInstalled(["toolbox_5" "1.0"]) then pause, end
28 if ~atomsIsInstalled(["toolbox_4" "1.0"]) then pause, end
29 if ~atomsIsInstalled(["toolbox_2" "1.0"]) then pause, end
30 if ~atomsIsInstalled(["toolbox_1" "1.0"]) then pause, end
32 // Load the 1st scenario : See scene1.test.atoms.scilab.org.txt
33 atomsRepositorySetOfl("http://scene2.test.atoms.scilab.org");
34 atomsGetTOOLBOXES(%T);
38 if ~atomsIsInstalled(["toolbox_5" "1.0"]) then pause, end
40 if atomsIsInstalled(["toolbox_4" "1.0"]) then pause, end
41 if ~atomsIsInstalled(["toolbox_4" "1.1"]) then pause, end
43 if ~atomsIsInstalled(["toolbox_2" "1.0"]) then pause, end
44 if ~atomsIsInstalled(["toolbox_1" "1.0"]) then pause, end
47 atomsRemove("toolbox_5");