[NONE] Adjust download site to renamed GEF 3.x drop files and urls.
diff --git a/downloads/index.php b/downloads/index.php
index 4aaa9dc..828df32 100755
--- a/downloads/index.php
+++ b/downloads/index.php
@@ -109,7 +109,7 @@
$showAll = (isset ( $_GET ["showAll"] ) && preg_match ( "/^(1)$/", $_GET ["showAll"], $regs ) ? $regs [1] : "0");
$showMax = (isset ( $_GET ["showMax"] ) && preg_match ( "/^(\d+)$/", $_GET ["showMax"], $regs ) ? $regs [1] : "5");
-$GEF_DROPS_DIR = getPWD ( "downloads/drops" ); // see scripts.php
+$GEF3_DROPS_DIR = getPWD ( "gef3/downloads/drops" ); // see scripts.php
$GEF4_DROPS_DIR = getPWD ( "gef4/downloads/drops" ); // see scripts.php
$downloadScript = getDownloadScript ();
@@ -122,12 +122,12 @@
print "<p>All deployed GEF and GEF4 artifacts can be consumed from our releases, milestones, integration, and CI <a href=\"https://projects.eclipse.org/projects/tools.gef/downloads\">update-sites</a>.</p>";
// collect which branches (3.9.101, 3.10.0, etc.) of GEF and GEF4 exist in the drop dirs
-$branches = array_unique ( array_merge ( loadDirSimple ( $GEF_DROPS_DIR, ".*", "d" ), loadDirSimple ( $GEF4_DROPS_DIR, ".*", "d" ) ) );
+$branches = array_unique ( array_merge ( loadDirSimple ( $GEF3_DROPS_DIR, ".*", "d" ), loadDirSimple ( $GEF4_DROPS_DIR, ".*", "d" ) ) );
sort ( $branches );
// $buildtypes is configured in _projectCommon.php to be R, S, I, here statically all build types are created for each branch
$buildTypes = getBuildTypes ( $branches, $buildtypes );
-$gefBuilds = getBuildsFromDirs ( $GEF_DROPS_DIR );
+$gefBuilds = getBuildsFromDirs ( $GEF3_DROPS_DIR );
$gef4Builds = getBuildsFromDirs ( $GEF4_DROPS_DIR );
print "<h3>Update-Site Archives</h3>";
@@ -155,7 +155,7 @@
}
// output GEF builds
if (array_key_exists ( $branch, $gefBuilds ) && array_key_exists ( $type, $gefBuilds [$branch] )) {
- showBuilds ( "gef", $GEF_DROPS_DIR, $branch, $gefBuilds [$branch] [$type], "Draw2d/GEF (MVC) 3.x, Zest 1.x - GEF ", "GEF", $gef_dls, $c );
+ showBuilds ( "gef/gef3", $GEF3_DROPS_DIR, $branch, $gefBuilds [$branch] [$type], "Draw2d/GEF (MVC) 3.x, Zest 1.x - GEF ", "GEF3", $gef_dls, $c );
}
print "</ul>\n";
}