Changes for 2018-09
Change-Id: I09698a2c6894b5fa12641a233df0df7552824714
Signed-off-by: Denis Roy <denis.roy@eclipse-foundation.org>
diff --git a/content/en_download.php b/content/en_download.php
index bcd5aa9..76bd2fc 100644
--- a/content/en_download.php
+++ b/content/en_download.php
@@ -36,7 +36,7 @@
);
# Load up distros program if file selected is a Oxygen/SDK package
-$packageName = getPackageFromFilename($_file, "photon");
+$packageName = getPackageFromFilename($_file, "2018-09");
$osName = getOsFromFilename($_file);
$companies = array();
diff --git a/distros/distros.php b/distros/distros.php
index 497c9f3..64032a4 100644
--- a/distros/distros.php
+++ b/distros/distros.php
@@ -15,7 +15,7 @@
$BLUAGE = new companyInfo(
"BLU AGE",
"ba_legacy_110x80_opt.jpg",
- "4.7.4",
+ "2018-09",
"jee,sdk,java,cpp,modeling,reporting,rcp,automotive,mobile,scout,testing,parallel,committers, installer",
"Free and fast direct Eclipse downloads. Get more BLU AGE Eclipse plugins for your Legacy Application Modernization, Reverse Modeling and Forward Engineering.",
"http://eclipse.org/go/BLUAGE_DISTRO",
@@ -42,7 +42,7 @@
$IBM = new companyInfo (
"IBM",
"ibm-cloud-logo.jpg",
- "4.7.4",
+ "2018-09",
"jee,committers,java,cpp,php,installer,javascript",
"Blazingly fast downloads hosted by IBM Cloud.",
"http://eclipse.org/go/DISTRO_IBM",
@@ -92,7 +92,7 @@
$rValue = array();
global $companyinfo;
foreach ($companyinfo as $company) {
- if(strpos($company->projects, $_package) !== false && $company->version == "4.7.4") {
+ if(strpos($company->projects, $_package) !== false && $company->version == "2018-09") {
$rValue[] = $company;
}
}
diff --git a/download.php b/download.php
index c97411a..7881a13 100755
--- a/download.php
+++ b/download.php
@@ -641,11 +641,10 @@
# /technology/epp/downloads/release/galileo/R/eclipse-rcp-galileo-RC4-win32.zip
# /eclipse/downloads/drops/R-3.4-200806172000/eclipse-SDK-3.4-solaris-gtk.zip
# technology/epp/downloads/release/kepler/R/eclipse-reporting-kepler-
-
if(preg_match(",^/technology/epp/downloads/release/($trainname)/R/eclipse-($packageList)-($trainname),", $filename, $matches)) {
$rValue = $matches[2];
}
- elseif(preg_match(",^/oomph/epp/photon/R/eclipse-inst-,", $filename)) {
+ elseif(preg_match(",^/oomph/epp/($trainname)/R/eclipse-inst-,", $filename)) {
$rValue = "installer";
}
return $rValue;