22// usually the newest version will be loaded instead if you remove them!
33// SO: first remove them from configs/conf* then remove them from here.
44updatePackageIndex();
5+ if not installPackage(Modelica, "3.1.0", exactMatch=true) then
6+ print("Modelica 3.1.0 " + getErrorString() + "\n");
7+ exit(1);
8+ end if;
59if not installPackage(Modelica, "4.1.0-beta.om", exactMatch=true) then
610 print("Modelica 4.1.0-beta.om" + getErrorString() + "\n");
711 exit(1);
@@ -10,17 +14,13 @@ if not installPackage(ModelicaServices, "4.1.0-beta.om", exactMatch=true) then
1014 print("ModelicaServices 4.1.0-beta.om" + getErrorString() + "\n");
1115 exit(1);
1216end if;
13- if not installPackage(ModelicaServices, "trunk", exactMatch=true) then
14- print("ModelicaServices trunk" + getErrorString() + "\n");
15- exit(1);
16- end if;
17- for v in {"3.2.3","4.1.0-beta.om"} loop
17+ for v in {"3.2.1","3.2.2","3.2.3","4.0.0","4.1.0-beta.om","trunk"} loop
1818 if not installPackage(ModelicaTest, v, exactMatch=true) then
1919 print("ModelicaTest " + v + " " + getErrorString() + "\n");
2020 exit(1);
2121 end if;
2222end for;
23- for v in {"maint.11.x", "maint.12.x", "master"} loop
23+ for v in {"1.6", "3.0.0", "maint.7.0.x", "maint.8.1.x", "maint.9.1.x", "maint.10.0.x", " maint.11.x", "maint.12.x", "master"} loop
2424 if not installPackage(Buildings, v) then
2525 print("Buildings " + v + " " + getErrorString() + "\n");
2626 exit(1);
@@ -90,11 +90,9 @@ end for;
9090
9191print("Did install:" + getErrorString() + "\n");
9292
93- /* do not upgrade as it will reinstall libs!
9493if not upgradeInstalledPackages() then
9594 print("Failed upgrade:\n" + getErrorString() + "\n");
9695 exit(1);
9796end if;
9897
9998print("Did upgrade:\n" + getErrorString() + "\n");
100- */
0 commit comments