Bug 546528 - Download Directory/File browsing service
Change-Id: I4d14dcf8c657efc82d437dc6984a6244b78a5e37
Signed-off-by: Denis Roy <denis.roy@eclipse-foundation.org>
diff --git a/archive.eclipse.org/403.html b/archive.eclipse.org/403.html
new file mode 100644
index 0000000..d071463
--- /dev/null
+++ b/archive.eclipse.org/403.html
@@ -0,0 +1,12 @@
+<html>
+ <head>
+ <title>Access Forbidden</title>
+ </head>
+ <body>
+ <h1>Access Forbidden</h1>
+ <p>The file permissions are either wrong, or there is no default index file for
+ this directory.<br /><br />
+ Please consider filing <a href="https://bugs.eclipse.org/bugs/">a bug</a>
+ against the project to let them know.</p>
+ </body>
+</html>
\ No newline at end of file
diff --git a/archive.eclipse.org/404.html b/archive.eclipse.org/404.html
new file mode 100644
index 0000000..7b819f8
--- /dev/null
+++ b/archive.eclipse.org/404.html
@@ -0,0 +1,298 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <!-- Google Tag Manager -->
+ <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
+ new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
+ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
+ 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
+ })(window,document,'script','dataLayer','GTM-5WLCZXC');
+ </script>
+ <!-- End Google Tag Manager -->
+ <base href="https://archive.eclipse.org/" />
+ <meta name="author" content="Christopher Guindon"/>
+ <meta name="keywords" content="eclipse.org, Eclipse Foundation"/>
+ <link rel="shortcut icon" href="https://www.eclipse.org/eclipse.org-common/themes/solstice/public/images/favicon.ico"/>
+ <title>Project download area | The Eclipse Foundation</title>
+ <link rel="stylesheet" href="https://www.eclipse.org/eclipse.org-common/themes/solstice/public/stylesheets/quicksilver.min.css?v1.3"/>
+ <meta name="description" content="The Eclipse Foundation - home to a global community, the Eclipse IDE, Jakarta EE and over 360 open source projects, including runtimes, tools and frameworks."/>
+ <meta property="og:description" content="The Eclipse Foundation - home to a global community, the Eclipse IDE, Jakarta EE and over 360 open source projects, including runtimes, tools and frameworks."/>
+ <meta property="og:image" content="https://www.eclipse.org/eclipse.org-common/themes/solstice/public/images/logo/eclipse-foundation-200x200.png"/>
+ <meta property="og:title" content="Project download area | The Eclipse Foundation"/>
+ <meta property="og:image:width" content="200"/>
+ <meta property="og:image:height" content="200"/>
+ <meta itemprop="name" content="Project download area | The Eclipse Foundation"/>
+ <meta itemprop="description" content="The Eclipse Foundation - home to a global community, the Eclipse IDE, Jakarta EE and over 360 open source projects, including runtimes, tools and frameworks."/>
+ <meta itemprop="image" content="https://www.eclipse.org/eclipse.org-common/themes/solstice/public/images/logo/eclipse-foundation-400x400.png"/>
+ <meta name="twitter:site" content="@EclipseFdn"/>
+ <meta name="twitter:card" content="summary"/>
+ <meta name="twitter:title" content="Project download area | The Eclipse Foundation"/>
+ <meta name="twitter:url" content="https://www.eclipse.org"/>
+ <meta name="twitter:description" content="The Eclipse Foundation - home to a global community, the Eclipse IDE, Jakarta EE and over 360 open source projects, including runtimes, tools and frameworks."/>
+ <meta name="twitter:image" content="https://www.eclipse.org/eclipse.org-common/themes/solstice/public/images/logo/eclipse-foundation-400x400.png"/>
+ <link href="//fonts.googleapis.com/css?family=Libre+Franklin:400,700,300,600,100" rel="stylesheet" type="text/css"/>
+ <script> var eclipse_org_common = {"settings":{"cookies_class":{"name":"eclipse_settings","enabled":1}}}</script>
+ </head>
+ <body id="body_solstice">
+ <!-- Google Tag Manager (noscript) -->
+ <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-5WLCZXC"
+ height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
+ <!-- End Google Tag Manager (noscript) --> <a class="sr-only" href="#content">Skip to main content</a>
+ <header class="header-wrapper" id="header-wrapper">
+ <div class="clearfix toolbar-container-wrapper">
+ <div class="container">
+ <div class="text-right toolbar-row row hidden-print">
+ <div class="col-md-24 row-toolbar-col">
+ <ul class="list-inline">
+ <li><a class="toolbar-link" href="https://accounts.eclipse.org/user/login/?takemeback=https%3A%2F%2Fwww.eclipse.org%2Fcontribute%2F"><i class="fa fa-sign-in"></i> Log in</a></li>
+ <li><a class="toolbar-link toolbar-manage-cookies dropdown-toggle"><i class="fa fa-wrench"></i> Manage Cookies</a></li>
+ </ul>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div class="container">
+ <div class="row" id="header-row">
+ <div class="col-sm-5 col-md-4" id="header-left">
+ <div class="wrapper-logo-default"><a href="https://www.eclipse.org/"><img class="logo-eclipse-default hidden-xs" alt="logo" width="160" src="https://www.eclipse.org/eclipse.org-common/themes/solstice/public/images/logo/eclipse-foundation-white-orange.svg"/></a></div>
+ </div>
+ <div class="col-sm-19 col-md-20 margin-top-10" id="main-menu-wrapper">
+ <div class="float-right hidden-xs" id="btn-call-for-action"><a href="/downloads/" class="btn btn-huge btn-warning"><i class="fa fa-download"></i> Download</a></div>
+ <div class="navbar yamm float-sm-right" id="main-menu">
+ <div class="navbar-collapse collapse" id="navbar-main-menu">
+ <ul class="nav navbar-nav">
+ <li><a href="https://www.eclipse.org/membership/" target="_self">Members</a></li>
+ <li><a href="https://www.eclipse.org/org/workinggroups/" target="_self">Working Groups</a></li>
+ <li><a href="https://www.eclipse.org/projects/" target="_self">Projects</a></li>
+ <li class="dropdown visible-xs">
+ <a href="#" data-toggle="dropdown" class="dropdown-toggle">Community <b class="caret"></b></a>
+ <ul class="dropdown-menu">
+ <li><a href="http://marketplace.eclipse.org">Marketplace</a></li>
+ <li><a href="http://events.eclipse.org">Events</a></li>
+ <li><a href="http://www.planeteclipse.org/">Planet Eclipse</a></li>
+ <li><a href="https://www.eclipse.org/community/eclipse_newsletter/">Newsletter</a></li>
+ <li><a href="https://www.youtube.com/user/EclipseFdn">Videos</a></li>
+ <li><a href="https://blogs.eclipse.org">Blogs</a></li>
+ </ul>
+ </li>
+ <li class="dropdown visible-xs">
+ <a href="#" data-toggle="dropdown" class="dropdown-toggle">Participate <b class="caret"></b></a>
+ <ul class="dropdown-menu">
+ <li><a href="https://bugs.eclipse.org/bugs/">Report a Bug</a></li>
+ <li><a href="https://www.eclipse.org/forums/">Forums</a></li>
+ <li><a href="https://www.eclipse.org/mail/">Mailing Lists</a></li>
+ <li><a href="https://wiki.eclipse.org/">Wiki</a></li>
+ <li><a href="https://wiki.eclipse.org/IRC">IRC</a></li>
+ <li><a href="https://www.eclipse.org/org/research/">Research</a></li>
+ </ul>
+ </li>
+ <li class="dropdown visible-xs">
+ <a href="#" data-toggle="dropdown" class="dropdown-toggle">Eclipse IDE <b class="caret"></b></a>
+ <ul class="dropdown-menu">
+ <li><a href="https://www.eclipse.org/downloads">Download</a></li>
+ <li><a href="https://www.eclipse.org/eclipseide">Learn More</a></li>
+ <li><a href="https://help.eclipse.org">Documentation</a></li>
+ <li><a href="https://www.eclipse.org/getting_started">Getting Started / Support</a></li>
+ <li><a href="https://www.eclipse.org/contribute/">How to Contribute</a></li>
+ <li><a href="https://www.eclipse.org/ide/">IDE and Tools</a></li>
+ <li><a href="https://www.eclipse.org/forums/index.php/f/89/">Newcomer Forum</a></li>
+ </ul>
+ </li>
+ <!-- More -->
+ <li class="dropdown eclipse-more hidden-xs">
+ <a data-toggle="dropdown" class="dropdown-toggle" role="button">More<b class="caret"></b></a>
+ <ul class="dropdown-menu">
+ <li>
+ <!-- Content container to add padding -->
+ <div class="yamm-content">
+ <div class="row">
+ <ul class="col-sm-8 list-unstyled">
+ <li>
+ <p><strong>Community</strong></p>
+ </li>
+ <li><a href="http://marketplace.eclipse.org">Marketplace</a></li>
+ <li><a href="http://events.eclipse.org">Events</a></li>
+ <li><a href="http://www.planeteclipse.org/">Planet Eclipse</a></li>
+ <li><a href="https://www.eclipse.org/community/eclipse_newsletter/">Newsletter</a></li>
+ <li><a href="https://www.youtube.com/user/EclipseFdn">Videos</a></li>
+ <li><a href="https://blogs.eclipse.org">Blogs</a></li>
+ </ul>
+ <ul class="col-sm-8 list-unstyled">
+ <li>
+ <p><strong>Participate</strong></p>
+ </li>
+ <li><a href="https://bugs.eclipse.org/bugs/">Report a Bug</a></li>
+ <li><a href="https://www.eclipse.org/forums/">Forums</a></li>
+ <li><a href="https://www.eclipse.org/mail/">Mailing Lists</a></li>
+ <li><a href="https://wiki.eclipse.org/">Wiki</a></li>
+ <li><a href="https://wiki.eclipse.org/IRC">IRC</a></li>
+ <li><a href="https://www.eclipse.org/org/research/">Research</a></li>
+ </ul>
+ <ul class="col-sm-8 list-unstyled">
+ <li>
+ <p><strong>Eclipse IDE</strong></p>
+ </li>
+ <li><a href="https://www.eclipse.org/downloads">Download</a></li>
+ <li><a href="https://www.eclipse.org/eclipseide">Learn More</a></li>
+ <li><a href="https://help.eclipse.org">Documentation</a></li>
+ <li><a href="https://www.eclipse.org/getting_started">Getting Started / Support</a></li>
+ <li><a href="https://www.eclipse.org/contribute/">How to Contribute</a></li>
+ <li><a href="https://www.eclipse.org/ide/">IDE and Tools</a></li>
+ <li><a href="https://www.eclipse.org/forums/index.php/f/89/">Newcomer Forum</a></li>
+ </ul>
+ </div>
+ </div>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ </div>
+ <div class="navbar-header">
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar-main-menu">
+ <span class="sr-only">Toggle navigation</span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </button>
+ <div class="wrapper-logo-mobile"><a class="navbar-brand visible-xs" href="https://www.eclipse.org/"><img class="logo-eclipse-default-mobile img-responsive" alt="logo" width="160" src="https://www.eclipse.org/eclipse.org-common/themes/solstice/public/images/logo/eclipse-foundation-white-orange.svg"/></a></div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </header>
+ <section class="default-breadcrumbs hidden-print" id="breadcrumb">
+ <div class="container">
+ <h3 class="sr-only">Breadcrumbs</h3>
+ <div class="row">
+ <div class="col-sm-24">
+ <ol class="breadcrumb">
+ <li><a href="/">Home</a></li>
+ <li><a href="http://eclipse.org/downloads/">Downloads</a></li>
+ <li>Project Download Area</li>
+ </ol>
+ </div>
+ </div>
+ </div>
+ </section>
+ <!-- /#breadcrumb -->
+ <main class="margin-bottom-50">
+ <div class="novaContent container" id="novaContent">
+ <div class="row">
+ <div class="col-md-18">
+ <h1>Eclipse Downloads</h1>
+ <p>This page is not designed to be web-accessible, as the project has not created a web page here. You can try the following:</p>
+ <ul>
+ <li>Contact the project members on their user <a href="//eclipse.org/forums">forum</a>.</li>
+ <li>Browse the directory contents to find the file you're looking for.</li>
+ <li>Go to the <a href="//eclipse.org/downloads/">main Downloads page</a>.</li>
+ </ul>
+ <!-- DNR:FILE -->
+ </div>
+ <div class="col-md-6">
+ <aside class="hidden-sm hidden-xs" id="main-sidebar">
+ <ul id="leftnav" class="ul-left-nav fa-ul hidden-print">
+ <li class="separator">Useful links</li>
+ <li><i class="fa fa-caret-right fa-fw"></i> <a href="//archive.eclipse.org">Eclipse project archives</a></li>
+ <li><i class="fa fa-caret-right fa-fw"></i> <a href="//download.eclipse.org/eclipse/downloads">Eclipse project downloads</a></li>
+ <li><i class="fa fa-caret-right fa-fw"></i> <a href="//eclipse.org">Eclipse home</a></li>
+ <li><i class="fa fa-caret-right fa-fw"></i> <a href="//eclipse.org/downloads">Downloads home</a></li>
+ <li><i class="fa fa-caret-right fa-fw"></i> <a href="mailto:webmaster@eclipse.org">Email the webmaster</a></li>
+ </ul>
+ </aside>
+ </div>
+ </div>
+ </div>
+ </main>
+ <footer id="solstice-footer">
+ <div class="container">
+ <div class="row">
+ <section class="col-sm-6 hidden-print" id="footer-eclipse-foundation">
+ <h2 class="section-title">Eclipse Foundation</h2>
+ <ul class="nav">
+ <li><a href="https://www.eclipse.org/org/">About Us</a></li>
+ <li><a href="https://www.eclipse.org/org/foundation/contact.php">Contact Us</a></li>
+ <li><a href="https://www.eclipse.org/donate">Donate</a></li>
+ <li><a href="https://www.eclipse.org/org/documents/">Governance</a></li>
+ <li><a href="https://www.eclipse.org/artwork/">Logo and Artwork</a></li>
+ <li><a href="https://www.eclipse.org/org/foundation/directors.php">Board of Directors</a></li>
+ </ul>
+ </section>
+ <section class="col-sm-6 hidden-print" id="footer-legal">
+ <h2 class="section-title">Legal</h2>
+ <ul class="nav">
+ <li><a href="https://www.eclipse.org/legal/privacy.php">Privacy Policy</a></li>
+ <li><a href="https://www.eclipse.org/legal/termsofuse.php">Terms of Use</a></li>
+ <li><a href="https://www.eclipse.org/legal/copyright.php">Copyright Agent</a></li>
+ <li><a href="https://www.eclipse.org/legal/epl-2.0/">Eclipse Public License</a></li>
+ <li><a href="https://www.eclipse.org/legal/">Legal Resources </a></li>
+ </ul>
+ </section>
+ <section class="col-sm-6 hidden-print" id="footer-useful-links">
+ <h2 class="section-title">Useful Links</h2>
+ <ul class="nav">
+ <li><a href="https://bugs.eclipse.org/bugs/">Report a Bug</a></li>
+ <li><a href="//help.eclipse.org/">Documentation</a></li>
+ <li><a href="https://www.eclipse.org/contribute/">How to Contribute</a></li>
+ <li><a href="https://www.eclipse.org/mail/">Mailing Lists</a></li>
+ <li><a href="https://www.eclipse.org/forums/">Forums</a></li>
+ <li><a href="//marketplace.eclipse.org">Marketplace</a></li>
+ </ul>
+ </section>
+ <section class="col-sm-6 hidden-print" id="footer-other">
+ <h2 class="section-title">Other</h2>
+ <ul class="nav">
+ <li><a href="https://www.eclipse.org/ide/">IDE and Tools</a></li>
+ <li><a href="https://www.eclipse.org/projects">Community of Projects</a></li>
+ <li><a href="https://www.eclipse.org/org/workinggroups/">Working Groups</a></li>
+ <li><a href="https://www.eclipse.org/org/research/">Research@Eclipse</a></li>
+ <li><a href="https://status.eclipse.org">Service Status</a></li>
+ </ul>
+ </section>
+ <div class="col-sm-24 margin-top-20">
+ <div class="row">
+ <div id="copyright" class="col-md-16">
+ <p id="copyright-text">Copyright © Eclipse Foundation, Inc. All Rights Reserved.</p>
+ </div>
+ <div class="col-md-8 social-media">
+ <ul class="list-inline">
+ <li>
+ <a class="social-media-link fa-stack fa-lg" href="https://twitter.com/EclipseFdn">
+ <i class="fa fa-circle-thin fa-stack-2x"></i>
+ <i class="fa fa-twitter fa-stack-1x"></i>
+ </a>
+ </li>
+ <li>
+ <a class="social-media-link fa-stack fa-lg" href="https://www.facebook.com/eclipse.org">
+ <i class="fa fa-circle-thin fa-stack-2x"></i>
+ <i class="fa fa-facebook fa-stack-1x"></i>
+ </a>
+ </li>
+ <li>
+ <a class="social-media-link fa-stack fa-lg" href="https://www.youtube.com/user/EclipseFdn">
+ <i class="fa fa-circle-thin fa-stack-2x"></i>
+ <i class="fa fa-youtube fa-stack-1x"></i>
+ </a>
+ </li>
+ <li>
+ <a class="social-media-link fa-stack fa-lg" href="https://www.linkedin.com/company/eclipse-foundation">
+ <i class="fa fa-circle-thin fa-stack-2x"></i>
+ <i class="fa fa-linkedin fa-stack-1x"></i>
+ </a>
+ </li>
+ </ul>
+ </div>
+ </div>
+ </div>
+ <a href="#" class="scrollup">Back to the top</a>
+ </div>
+ </div>
+ </footer>
+ <!-- Placed at the end of the document so the pages load faster -->
+ <script src="https://www.eclipse.org/eclipse.org-common/themes/solstice/public/javascript/main.min.js?var=1.2"></script>
+ </body>
+</html>
diff --git a/archive.eclipse.org/404.php b/archive.eclipse.org/404.php
new file mode 100644
index 0000000..b1d2fec
--- /dev/null
+++ b/archive.eclipse.org/404.php
@@ -0,0 +1,124 @@
+<?php
+/*******************************************************************************
+ * Copyright (c) 2013 Eclipse Foundation, Inc.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Eclipse Foundation - initial API and implementation
+ *******************************************************************************/
+ $dir = $_SERVER['DOCUMENT_ROOT'] . urldecode(strtok($_SERVER['REQUEST_URI'], "?"));
+ $archive_dir = str_replace("download.eclipse.org", "archive.eclipse.org", $dir);
+ if(is_file($archive_dir)) {
+ header("HTTP/1.1 301 Moved Permanently");
+ header("Location: " . (empty($_SERVER['HTTPS']) ? "http" : "https") . "://archive.eclipse.org" . $_SERVER['REQUEST_URI']);
+ exit;
+ }
+
+
+ $browser = $_SERVER['HTTP_USER_AGENT'];
+ # Send short 404 for non-human browsers
+ if(
+ strpos($browser, "Jakarta") !== FALSE
+ || strpos($browser, "Java/") !== FALSE
+ || strpos($browser, "Slurp") !== FALSE
+ || stripos($browser, "bot") !== FALSE
+ || strpos($browser, "bing") !== FALSE
+ || strpos($browser, "p2/") !== FALSE
+ || strpos($browser, "Wget") !== FALSE
+ || strpos($browser, "Googlebot/") !== FALSE
+ || strpos($browser, "apacheHttpClient") !== FALSE
+ || strpos($browser, "Apache-HttpClient/") !== FALSE
+ || stripos($browser, "spider") !== FALSE
+ || strpos($browser, "Apache-Maven/") !== FALSE
+ || strpos($browser, "Apache Ivy/") !== FALSE
+ || strpos($browser, "HTTP-Tiny/") !== FALSE
+ || strpos($browser, "Archiva") !== FALSE
+ || strpos($browser, "Artifactory/") !== FALSE
+ || strpos($browser, "Gradle/") !== FALSE
+ || strpos($browser, "Finjan") !== FALSE
+ || strpos($browser, "Aether") !== FALSE
+ || strpos($browser, "m2e/") !== FALSE
+ || strpos($browser, "Debian APT/") !== FALSE
+ || strpos($browser, "developer fusion") !== FALSE
+ || strpos($browser, "Genuitec") !== FALSE
+ || strpos($browser, "netBeans") !== FALSE
+ ) {
+ echo "404 Not Found";
+ }
+ else {
+ $_SERVER['REQUEST_URI'] = str_replace("?d", "", $_SERVER['REQUEST_URI']);
+ $dir = $_SERVER['DOCUMENT_ROOT'] . urldecode($_SERVER['REQUEST_URI']);
+ $dir_html = "";
+ $is_p2 = false;
+
+ if(is_dir($dir)) {
+ $files = array();
+ $dirs = array();
+ if ($dh = opendir($dir)) {
+ $dir_html = "<p><strong>Directory Contents</strong></p><div id='dirlist'>";
+ while (($file = readdir($dh)) !== false) {
+ if (filetype($dir . $file) == "dir") {
+ $dirs[] = $file;
+ }
+ else {
+ $files[] = $file;
+
+ if(strpos($file, "artifacts.jar") !== FALSE
+ || strpos($file, "artifacts.xml") !== FALSE
+ || strpos($file, "compositeArtifacts.jar") !== FALSE
+ || strpos($file, "compositeArtifacts.xml") !== FALSE) {
+ # p2 repo
+ $is_p2 = true;
+ }
+ }
+ }
+ closedir($dh);
+ asort($dirs);
+ asort($files);
+
+ foreach ($dirs as $directory) {
+ if($directory != "." ) {
+ $dir_html .= "<img src='//dev.eclipse.org/small_icons/places/folder.png'><a href='" . $_SERVER['REQUEST_URI'] . "$directory/'> " . $directory . "</a><br />\n";
+ }
+ }
+ foreach ($files as $file) {
+ $dir_html .= "<img src='//dev.eclipse.org/small_icons/actions/edit-copy.png'><a href='" . $_SERVER['REQUEST_URI'] . "$file'> " . $file . "</a><br />\n";
+ }
+
+ $dir_html .= "</div>";
+ }
+ if($is_p2) {
+ # p2
+ $html = file_get_contents("404_p2.html");
+ }
+ else {
+ $html = file_get_contents("404.html");
+ }
+ $html = str_replace("<!-- DNR:FILE -->", $dir_html, $html);
+ }
+ else {
+ # Check archives
+ $html = file_get_contents("404_nodoc.html");
+ $message_html = "<h1>Not Found</h1>";
+ $message_html .= "<p>We're sorry, the page or file cannot be found. Here are some reasons why:</p>";
+ $message_html .= "<ul><li>A file may have moved to the archives. Please contact the project members on their user <a href='//eclipse.org/forums'>forum</a>.<br /></li>";
+ $message_html .= "<li>Your file was part of a nightly or integration build which is no longer there. Simply download the latest version.</li><li>The project is uploading a new build, and this file is not there yet. Try again later.</li></ul>";
+ $archive_dir = str_replace("download.eclipse.org", "archive.eclipse.org", $dir);
+ if(is_dir($archive_dir)) {
+ $message_html = "<h1>Moved to archives</h1>";
+ $message_html .= "<p>It appears this content was moved to the archives. You can try accessing this URL instead:<br /><br />";
+ $message_html .= "    <a href=\"http://archive.eclipse.org" . $_SERVER['REQUEST_URI'] . "\">http://archive.eclipse.org" . $_SERVER['REQUEST_URI'] . "</a></p>";
+
+ # doc title
+ $html = str_replace("<title>Not Found</title>", "<title>Moved</title>", $html);
+
+ # breadcrumb
+ $html = str_replace("<li class=\"active\">Not Found</li>", "<li class=\"active\">Moved</li>", $html);
+ }
+ $html = str_replace("<!-- DNR:FILE -->", $message_html, $html);
+ }
+ echo $html;
+ }
diff --git a/archive.eclipse.org/404.php.bak b/archive.eclipse.org/404.php.bak
new file mode 100644
index 0000000..8c87fb1
--- /dev/null
+++ b/archive.eclipse.org/404.php.bak
@@ -0,0 +1,115 @@
+<?php
+/*******************************************************************************
+ * Copyright (c) 2013 Eclipse Foundation, Inc.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Eclipse Foundation - initial API and implementation
+ *******************************************************************************/
+ $browser = $_SERVER['HTTP_USER_AGENT'];
+ # Send short 404 for non-human browsers
+ if(
+ strpos($browser, "Jakarta") !== FALSE
+ || strpos($browser, "Java/") !== FALSE
+ || strpos($browser, "Slurp") !== FALSE
+ || stripos($browser, "bot") !== FALSE
+ || strpos($browser, "bing") !== FALSE
+ || strpos($browser, "p2/") !== FALSE
+ || strpos($browser, "Wget") !== FALSE
+ || strpos($browser, "Googlebot/") !== FALSE
+ || strpos($browser, "apacheHttpClient") !== FALSE
+ || strpos($browser, "Apache-HttpClient/") !== FALSE
+ || stripos($browser, "spider") !== FALSE
+ || strpos($browser, "Apache-Maven/") !== FALSE
+ || strpos($browser, "Apache Ivy/") !== FALSE
+ || strpos($browser, "HTTP-Tiny/") !== FALSE
+ || strpos($browser, "Archiva") !== FALSE
+ || strpos($browser, "Artifactory/") !== FALSE
+ || strpos($browser, "Gradle/") !== FALSE
+ || strpos($browser, "Finjan") !== FALSE
+ || strpos($browser, "Aether") !== FALSE
+ || strpos($browser, "m2e/") !== FALSE
+ || strpos($browser, "Debian APT/") !== FALSE
+ || strpos($browser, "developer fusion") !== FALSE
+ || strpos($browser, "Genuitec") !== FALSE
+ || strpos($browser, "netBeans") !== FALSE
+ ) {
+ echo "404 Not Found";
+ }
+ else {
+ $_SERVER['REQUEST_URI'] = str_replace("?d", "", $_SERVER['REQUEST_URI']);
+ $dir = $_SERVER['DOCUMENT_ROOT'] . urldecode($_SERVER['REQUEST_URI']);
+ $dir_html = "";
+ $is_p2 = false;
+
+ if(is_dir($dir)) {
+ $files = array();
+ $dirs = array();
+ if ($dh = opendir($dir)) {
+ $dir_html = "<p><strong>Directory Contents</strong></p><div id='dirlist'>";
+ while (($file = readdir($dh)) !== false) {
+ if (filetype($dir . $file) == "dir") {
+ $dirs[] = $file;
+ }
+ else {
+ $files[] = $file;
+
+ if(strpos($file, "artifacts.jar") !== FALSE
+ || strpos($file, "artifacts.xml") !== FALSE
+ || strpos($file, "compositeArtifacts.jar") !== FALSE
+ || strpos($file, "compositeArtifacts.xml") !== FALSE) {
+ # p2 repo
+ $is_p2 = true;
+ }
+ }
+ }
+ closedir($dh);
+ asort($dirs);
+ asort($files);
+
+ foreach ($dirs as $directory) {
+ if($directory != "." ) {
+ $dir_html .= "<img src='https://dev.eclipse.org/small_icons/places/folder.png'><a href='" . $_SERVER['REQUEST_URI'] . "$directory/?d'> " . $directory . "</a><br />\n";
+ }
+ }
+ foreach ($files as $file) {
+ $dir_html .= "<img src='https://dev.eclipse.org/small_icons/actions/edit-copy.png'><a href='" . $_SERVER['REQUEST_URI'] . "$file'> " . $file . "</a><br />\n";
+ }
+
+ $dir_html .= "</div>";
+ }
+ if($is_p2) {
+ # p2
+ $html = file_get_contents("404_p2.html");
+ }
+ else {
+ $html = file_get_contents("404.html");
+ }
+ $html = str_replace("<!-- DNR:FILE -->", $dir_html, $html);
+ }
+ else {
+ # Check archives
+ $html = file_get_contents("404_nodoc.html");
+ $message_html = "<h1>Not Found</h1>";
+ $message_html .= "<p>We're sorry, the page or file cannot be found. Here are some reasons why:</p>";
+ $message_html .= "<ul><li>A file may have moved to the archives. Please contact the project members on their user <a href='https://www.eclipse.org/forums'>forum</a>.<br /></li>";
+ $message_html .= "<li>Your file was part of a nightly or integration build which is no longer there. Simply download the latest version.</li><li>The project is uploading a new build, and this file is not there yet. Try again later.</li></ul>";
+ $archive_dir = str_replace("download.eclipse.org", "archive.eclipse.org", $dir);
+ if(is_dir($archive_dir)) {
+ $message_html = "<h1>Moved to archives</h1>";
+ $message_html .= "<p>It appears this content was moved to the archives. You can try accessing this URL instead:<br /><br />";
+ $message_html .= "    <a href=\"https://archive.eclipse.org" . $_SERVER['REQUEST_URI'] . "\">https://archive.eclipse.org" . $_SERVER['REQUEST_URI'] . "</a></p>";
+
+ # doc title
+ $html = str_replace("<title>Not Found</title>", "<title>Moved</title>", $html);
+
+ # breadcrumb
+ $html = str_replace("<li class=\"active\">Not Found</li>", "<li class=\"active\">Moved</li>", $html);
+ }
+ $html = str_replace("<!-- DNR:FILE -->", $message_html, $html);
+ }
+ echo $html;
+ }
diff --git a/archive.eclipse.org/404_nodoc.html b/archive.eclipse.org/404_nodoc.html
new file mode 100644
index 0000000..65a8135
--- /dev/null
+++ b/archive.eclipse.org/404_nodoc.html
@@ -0,0 +1,292 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <!-- Google Tag Manager -->
+ <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
+ new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
+ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
+ 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
+ })(window,document,'script','dataLayer','GTM-5WLCZXC');
+ </script>
+ <!-- End Google Tag Manager -->
+ <base href="http://download.eclipse.org/" />
+ <meta name="author" content="Christopher Guindon"/>
+ <meta name="keywords" content="eclipse.org, Eclipse Foundation"/>
+ <link rel="shortcut icon" href="https://www.eclipse.org/eclipse.org-common/themes/solstice/public/images/favicon.ico"/>
+ <title>Not Found | The Eclipse Foundation</title>
+ <link rel="stylesheet" href="https://www.eclipse.org/eclipse.org-common/themes/solstice/public/stylesheets/quicksilver.min.css?v1.3"/>
+ <meta name="description" content="The Eclipse Foundation - home to a global community, the Eclipse IDE, Jakarta EE and over 360 open source projects, including runtimes, tools and frameworks."/>
+ <meta property="og:description" content="The Eclipse Foundation - home to a global community, the Eclipse IDE, Jakarta EE and over 360 open source projects, including runtimes, tools and frameworks."/>
+ <meta property="og:image" content="https://www.eclipse.org/eclipse.org-common/themes/solstice/public/images/logo/eclipse-foundation-200x200.png"/>
+ <meta property="og:title" content="Not Found | The Eclipse Foundation"/>
+ <meta property="og:image:width" content="200"/>
+ <meta property="og:image:height" content="200"/>
+ <meta itemprop="name" content="Not Found | The Eclipse Foundation"/>
+ <meta itemprop="description" content="The Eclipse Foundation - home to a global community, the Eclipse IDE, Jakarta EE and over 360 open source projects, including runtimes, tools and frameworks."/>
+ <meta itemprop="image" content="https://www.eclipse.org/eclipse.org-common/themes/solstice/public/images/logo/eclipse-foundation-400x400.png"/>
+ <meta name="twitter:site" content="@EclipseFdn"/>
+ <meta name="twitter:card" content="summary"/>
+ <meta name="twitter:title" content="Not Found | The Eclipse Foundation"/>
+ <meta name="twitter:url" content="https://www.eclipse.org"/>
+ <meta name="twitter:description" content="The Eclipse Foundation - home to a global community, the Eclipse IDE, Jakarta EE and over 360 open source projects, including runtimes, tools and frameworks."/>
+ <meta name="twitter:image" content="https://www.eclipse.org/eclipse.org-common/themes/solstice/public/images/logo/eclipse-foundation-400x400.png"/>
+ <link href="//fonts.googleapis.com/css?family=Libre+Franklin:400,700,300,600,100" rel="stylesheet" type="text/css"/>
+ <script> var eclipse_org_common = {"settings":{"cookies_class":{"name":"eclipse_settings","enabled":1}}}</script>
+ </head>
+
+ <body id="body_solstice">
+ <!-- Google Tag Manager (noscript) -->
+ <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-5WLCZXC"
+ height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
+ <!-- End Google Tag Manager (noscript) --> <a class="sr-only" href="#content">Skip to main content</a>
+ <header class="header-wrapper" id="header-wrapper">
+ <div class="clearfix toolbar-container-wrapper">
+ <div class="container">
+ <div class="text-right toolbar-row row hidden-print">
+ <div class="col-md-24 row-toolbar-col">
+ <ul class="list-inline">
+ <li><a class="toolbar-link" href="https://accounts.eclipse.org/user/login/?takemeback=https%3A%2F%2Fwww.eclipse.org%2Fcontribute%2F"><i class="fa fa-sign-in"></i> Log in</a></li>
+ <li><a class="toolbar-link toolbar-manage-cookies dropdown-toggle"><i class="fa fa-wrench"></i> Manage Cookies</a></li>
+ </ul>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div class="container">
+ <div class="row" id="header-row">
+ <div class="col-sm-5 col-md-4" id="header-left">
+ <div class="wrapper-logo-default"><a href="https://www.eclipse.org/"><img class="logo-eclipse-default hidden-xs" alt="logo" width="160" src="//www.eclipse.org/eclipse.org-common/themes/solstice/public/images/logo/eclipse-foundation-white-orange.svg"/></a></div>
+ </div>
+ <div class="col-sm-19 col-md-20 margin-top-10" id="main-menu-wrapper">
+ <div class="float-right hidden-xs" id="btn-call-for-action"><a href="/downloads/" class="btn btn-huge btn-warning"><i class="fa fa-download"></i> Download</a></div>
+ <div class="navbar yamm float-sm-right" id="main-menu">
+ <div class="navbar-collapse collapse" id="navbar-main-menu">
+ <ul class="nav navbar-nav">
+ <li><a href="https://www.eclipse.org/membership/" target="_self">Members</a></li>
+ <li><a href="https://www.eclipse.org/org/workinggroups/" target="_self">Working Groups</a></li>
+ <li><a href="https://www.eclipse.org/projects/" target="_self">Projects</a></li>
+ <li class="dropdown visible-xs">
+ <a href="#" data-toggle="dropdown" class="dropdown-toggle">Community <b class="caret"></b></a>
+ <ul class="dropdown-menu">
+ <li><a href="http://marketplace.eclipse.org">Marketplace</a></li>
+ <li><a href="http://events.eclipse.org">Events</a></li>
+ <li><a href="http://www.planeteclipse.org/">Planet Eclipse</a></li>
+ <li><a href="https://www.eclipse.org/community/eclipse_newsletter/">Newsletter</a></li>
+ <li><a href="https://www.youtube.com/user/EclipseFdn">Videos</a></li>
+ <li><a href="https://blogs.eclipse.org">Blogs</a></li>
+ </ul>
+ </li>
+ <li class="dropdown visible-xs">
+ <a href="#" data-toggle="dropdown" class="dropdown-toggle">Participate <b class="caret"></b></a>
+ <ul class="dropdown-menu">
+ <li><a href="https://bugs.eclipse.org/bugs/">Report a Bug</a></li>
+ <li><a href="https://www.eclipse.org/forums/">Forums</a></li>
+ <li><a href="https://www.eclipse.org/mail/">Mailing Lists</a></li>
+ <li><a href="https://wiki.eclipse.org/">Wiki</a></li>
+ <li><a href="https://wiki.eclipse.org/IRC">IRC</a></li>
+ <li><a href="https://www.eclipse.org/org/research/">Research</a></li>
+ </ul>
+ </li>
+ <li class="dropdown visible-xs">
+ <a href="#" data-toggle="dropdown" class="dropdown-toggle">Eclipse IDE <b class="caret"></b></a>
+ <ul class="dropdown-menu">
+ <li><a href="https://www.eclipse.org/downloads">Download</a></li>
+ <li><a href="https://www.eclipse.org/eclipseide">Learn More</a></li>
+ <li><a href="https://help.eclipse.org">Documentation</a></li>
+ <li><a href="https://www.eclipse.org/getting_started">Getting Started / Support</a></li>
+ <li><a href="https://www.eclipse.org/contribute/">How to Contribute</a></li>
+ <li><a href="https://www.eclipse.org/ide/">IDE and Tools</a></li>
+ <li><a href="https://www.eclipse.org/forums/index.php/f/89/">Newcomer Forum</a></li>
+ </ul>
+ </li>
+ <!-- More -->
+ <li class="dropdown eclipse-more hidden-xs">
+ <a data-toggle="dropdown" class="dropdown-toggle" role="button">More<b class="caret"></b></a>
+ <ul class="dropdown-menu">
+ <li>
+ <!-- Content container to add padding -->
+ <div class="yamm-content">
+ <div class="row">
+ <ul class="col-sm-8 list-unstyled">
+ <li>
+ <p><strong>Community</strong></p>
+ </li>
+ <li><a href="http://marketplace.eclipse.org">Marketplace</a></li>
+ <li><a href="http://events.eclipse.org">Events</a></li>
+ <li><a href="http://www.planeteclipse.org/">Planet Eclipse</a></li>
+ <li><a href="https://www.eclipse.org/community/eclipse_newsletter/">Newsletter</a></li>
+ <li><a href="https://www.youtube.com/user/EclipseFdn">Videos</a></li>
+ <li><a href="https://blogs.eclipse.org">Blogs</a></li>
+ </ul>
+ <ul class="col-sm-8 list-unstyled">
+ <li>
+ <p><strong>Participate</strong></p>
+ </li>
+ <li><a href="https://bugs.eclipse.org/bugs/">Report a Bug</a></li>
+ <li><a href="https://www.eclipse.org/forums/">Forums</a></li>
+ <li><a href="https://www.eclipse.org/mail/">Mailing Lists</a></li>
+ <li><a href="https://wiki.eclipse.org/">Wiki</a></li>
+ <li><a href="https://wiki.eclipse.org/IRC">IRC</a></li>
+ <li><a href="https://www.eclipse.org/org/research/">Research</a></li>
+ </ul>
+ <ul class="col-sm-8 list-unstyled">
+ <li>
+ <p><strong>Eclipse IDE</strong></p>
+ </li>
+ <li><a href="https://www.eclipse.org/downloads">Download</a></li>
+ <li><a href="https://www.eclipse.org/eclipseide">Learn More</a></li>
+ <li><a href="https://help.eclipse.org">Documentation</a></li>
+ <li><a href="https://www.eclipse.org/getting_started">Getting Started / Support</a></li>
+ <li><a href="https://www.eclipse.org/contribute/">How to Contribute</a></li>
+ <li><a href="https://www.eclipse.org/ide/">IDE and Tools</a></li>
+ <li><a href="https://www.eclipse.org/forums/index.php/f/89/">Newcomer Forum</a></li>
+ </ul>
+ </div>
+ </div>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ </div>
+ <div class="navbar-header">
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar-main-menu">
+ <span class="sr-only">Toggle navigation</span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </button>
+ <div class="wrapper-logo-mobile"><a class="navbar-brand visible-xs" href="https://www.eclipse.org/"><img class="logo-eclipse-default-mobile img-responsive" alt="logo" width="160" src="//www.eclipse.org/eclipse.org-common/themes/solstice/public/images/logo/eclipse-foundation-white-orange.svg"/></a></div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </header>
+ <section class="default-breadcrumbs hidden-print" id="breadcrumb">
+ <div class="container">
+ <h3 class="sr-only">Breadcrumbs</h3>
+ <div class="row">
+ <div class="col-sm-24">
+ <ol class="breadcrumb">
+ <li><a href="/">Home</a></li>
+ <li><a href="http://eclipse.org/downloads/">Downloads</a></li>
+ <li>Not Found</li>
+ </ol>
+ </div>
+ </div>
+ </div>
+ </section>
+ <!-- /#breadcrumb -->
+ <main class="margin-bottom-50">
+ <div class="novaContent container" id="novaContent">
+ <div class="row">
+ <div class="col-md-18">
+ <!-- DNR:FILE -->
+ </div>
+ <div class="col-md-6">
+ <aside class="hidden-sm hidden-xs" id="main-sidebar">
+ <ul id="leftnav" class="ul-left-nav fa-ul hidden-print">
+ <li class="separator">Useful links</li>
+ <li><i class="fa fa-caret-right fa-fw"></i> <a href="//archive.eclipse.org">Eclipse project archives</a></li>
+ <li><i class="fa fa-caret-right fa-fw"></i> <a href="//download.eclipse.org/eclipse/downloads">Eclipse project downloads</a></li>
+ <li><i class="fa fa-caret-right fa-fw"></i> <a href="//eclipse.org">Eclipse home</a></li>
+ <li><i class="fa fa-caret-right fa-fw"></i> <a href="//eclipse.org/downloads">Downloads home</a></li>
+ <li><i class="fa fa-caret-right fa-fw"></i> <a href="mailto:webmaster@eclipse.org">Email the webmaster</a></li>
+ </ul>
+ </aside>
+ </div>
+ </div>
+ </div>
+ </main>
+ <footer id="solstice-footer">
+ <div class="container">
+ <div class="row">
+ <section class="col-sm-6 hidden-print" id="footer-eclipse-foundation">
+ <h2 class="section-title">Eclipse Foundation</h2>
+ <ul class="nav">
+ <li><a href="https://www.eclipse.org/org/">About Us</a></li>
+ <li><a href="https://www.eclipse.org/org/foundation/contact.php">Contact Us</a></li>
+ <li><a href="https://www.eclipse.org/donate">Donate</a></li>
+ <li><a href="https://www.eclipse.org/org/documents/">Governance</a></li>
+ <li><a href="https://www.eclipse.org/artwork/">Logo and Artwork</a></li>
+ <li><a href="https://www.eclipse.org/org/foundation/directors.php">Board of Directors</a></li>
+ </ul>
+ </section>
+ <section class="col-sm-6 hidden-print" id="footer-legal">
+ <h2 class="section-title">Legal</h2>
+ <ul class="nav">
+ <li><a href="https://www.eclipse.org/legal/privacy.php">Privacy Policy</a></li>
+ <li><a href="https://www.eclipse.org/legal/termsofuse.php">Terms of Use</a></li>
+ <li><a href="https://www.eclipse.org/legal/copyright.php">Copyright Agent</a></li>
+ <li><a href="https://www.eclipse.org/legal/epl-2.0/">Eclipse Public License</a></li>
+ <li><a href="https://www.eclipse.org/legal/">Legal Resources </a></li>
+ </ul>
+ </section>
+ <section class="col-sm-6 hidden-print" id="footer-useful-links">
+ <h2 class="section-title">Useful Links</h2>
+ <ul class="nav">
+ <li><a href="https://bugs.eclipse.org/bugs/">Report a Bug</a></li>
+ <li><a href="//help.eclipse.org/">Documentation</a></li>
+ <li><a href="https://www.eclipse.org/contribute/">How to Contribute</a></li>
+ <li><a href="https://www.eclipse.org/mail/">Mailing Lists</a></li>
+ <li><a href="https://www.eclipse.org/forums/">Forums</a></li>
+ <li><a href="//marketplace.eclipse.org">Marketplace</a></li>
+ </ul>
+ </section>
+ <section class="col-sm-6 hidden-print" id="footer-other">
+ <h2 class="section-title">Other</h2>
+ <ul class="nav">
+ <li><a href="https://www.eclipse.org/ide/">IDE and Tools</a></li>
+ <li><a href="https://www.eclipse.org/projects">Community of Projects</a></li>
+ <li><a href="https://www.eclipse.org/org/workinggroups/">Working Groups</a></li>
+ <li><a href="https://www.eclipse.org/org/research/">Research@Eclipse</a></li>
+ <li><a href="https://status.eclipse.org">Service Status</a></li>
+ </ul>
+ </section>
+ <div class="col-sm-24 margin-top-20">
+ <div class="row">
+ <div id="copyright" class="col-md-16">
+ <p id="copyright-text">Copyright © Eclipse Foundation, Inc. All Rights Reserved.</p>
+ </div>
+ <div class="col-md-8 social-media">
+ <ul class="list-inline">
+ <li>
+ <a class="social-media-link fa-stack fa-lg" href="https://twitter.com/EclipseFdn">
+ <i class="fa fa-circle-thin fa-stack-2x"></i>
+ <i class="fa fa-twitter fa-stack-1x"></i>
+ </a>
+ </li>
+ <li>
+ <a class="social-media-link fa-stack fa-lg" href="https://www.facebook.com/eclipse.org">
+ <i class="fa fa-circle-thin fa-stack-2x"></i>
+ <i class="fa fa-facebook fa-stack-1x"></i>
+ </a>
+ </li>
+ <li>
+ <a class="social-media-link fa-stack fa-lg" href="https://www.youtube.com/user/EclipseFdn">
+ <i class="fa fa-circle-thin fa-stack-2x"></i>
+ <i class="fa fa-youtube fa-stack-1x"></i>
+ </a>
+ </li>
+ <li>
+ <a class="social-media-link fa-stack fa-lg" href="https://www.linkedin.com/company/eclipse-foundation">
+ <i class="fa fa-circle-thin fa-stack-2x"></i>
+ <i class="fa fa-linkedin fa-stack-1x"></i>
+ </a>
+ </li>
+ </ul>
+ </div>
+ </div>
+ </div>
+ <a href="#" class="scrollup">Back to the top</a>
+ </div>
+ </div>
+ </footer>
+ <!-- Placed at the end of the document so the pages load faster -->
+ <script src="https://www.eclipse.org/eclipse.org-common/themes/solstice/public/javascript/main.min.js?var=1.2"></script>
+ </body>
+</html>
\ No newline at end of file
diff --git a/archive.eclipse.org/404_p2.html b/archive.eclipse.org/404_p2.html
new file mode 100644
index 0000000..089e205
--- /dev/null
+++ b/archive.eclipse.org/404_p2.html
@@ -0,0 +1,296 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <!-- Google Tag Manager -->
+ <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
+ new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
+ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
+ 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
+ })(window,document,'script','dataLayer','GTM-5WLCZXC');
+ </script>
+ <!-- End Google Tag Manager -->
+ <base href="//archive.eclipse.org/" />
+ <meta name="author" content="Christopher Guindon"/>
+ <meta name="keywords" content="eclipse.org, Eclipse Foundation"/>
+ <link rel="shortcut icon" href="https://www.eclipse.org/eclipse.org-common/themes/solstice/public/images/favicon.ico"/>
+ <title>Eclipse software repository | The Eclipse Foundation</title>
+ <link rel="stylesheet" href="https://www.eclipse.org/eclipse.org-common/themes/solstice/public/stylesheets/quicksilver.min.css?v1.3"/>
+ <meta name="description" content="The Eclipse Foundation - home to a global community, the Eclipse IDE, Jakarta EE and over 360 open source projects, including runtimes, tools and frameworks."/>
+ <meta property="og:description" content="The Eclipse Foundation - home to a global community, the Eclipse IDE, Jakarta EE and over 360 open source projects, including runtimes, tools and frameworks."/>
+ <meta property="og:image" content="https://www.eclipse.org/eclipse.org-common/themes/solstice/public/images/logo/eclipse-foundation-200x200.png"/>
+ <meta property="og:title" content="Eclipse software repository | The Eclipse Foundation"/>
+ <meta property="og:image:width" content="200"/>
+ <meta property="og:image:height" content="200"/>
+ <meta itemprop="name" content="Eclipse software repository | The Eclipse Foundation"/>
+ <meta itemprop="description" content="The Eclipse Foundation - home to a global community, the Eclipse IDE, Jakarta EE and over 360 open source projects, including runtimes, tools and frameworks."/>
+ <meta itemprop="image" content="https://www.eclipse.org/eclipse.org-common/themes/solstice/public/images/logo/eclipse-foundation-400x400.png"/>
+ <meta name="twitter:site" content="@EclipseFdn"/>
+ <meta name="twitter:card" content="summary"/>
+ <meta name="twitter:title" content="Eclipse software repository | The Eclipse Foundation"/>
+ <meta name="twitter:url" content="https://www.eclipse.org"/>
+ <meta name="twitter:description" content="The Eclipse Foundation - home to a global community, the Eclipse IDE, Jakarta EE and over 360 open source projects, including runtimes, tools and frameworks."/>
+ <meta name="twitter:image" content="https://www.eclipse.org/eclipse.org-common/themes/solstice/public/images/logo/eclipse-foundation-400x400.png"/>
+ <link href="//fonts.googleapis.com/css?family=Libre+Franklin:400,700,300,600,100" rel="stylesheet" type="text/css"/>
+ <script> var eclipse_org_common = {"settings":{"cookies_class":{"name":"eclipse_settings","enabled":1}}}</script>
+ </head>
+ <body id="body_solstice">
+ <!-- Google Tag Manager (noscript) -->
+ <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-5WLCZXC"
+ height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
+ <!-- End Google Tag Manager (noscript) --> <a class="sr-only" href="#content">Skip to main content</a>
+ <header class="header-wrapper" id="header-wrapper">
+ <div class="clearfix toolbar-container-wrapper">
+ <div class="container">
+ <div class="text-right toolbar-row row hidden-print">
+ <div class="col-md-24 row-toolbar-col">
+ <ul class="list-inline">
+ <li><a class="toolbar-link" href="https://accounts.eclipse.org/user/login/?takemeback=https%3A%2F%2Fwww.eclipse.org%2Fcontribute%2F"><i class="fa fa-sign-in"></i> Log in</a></li>
+ <li><a class="toolbar-link toolbar-manage-cookies dropdown-toggle"><i class="fa fa-wrench"></i> Manage Cookies</a></li>
+ </ul>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div class="container">
+ <div class="row" id="header-row">
+ <div class="col-sm-5 col-md-4" id="header-left">
+ <div class="wrapper-logo-default"><a href="https://www.eclipse.org/"><img class="logo-eclipse-default hidden-xs" alt="logo" width="160" src="//www.eclipse.org/eclipse.org-common/themes/solstice/public/images/logo/eclipse-foundation-white-orange.svg"/></a></div>
+ </div>
+ <div class="col-sm-19 col-md-20 margin-top-10" id="main-menu-wrapper">
+ <div class="float-right hidden-xs" id="btn-call-for-action"><a href="/downloads/" class="btn btn-huge btn-warning"><i class="fa fa-download"></i> Download</a></div>
+ <div class="navbar yamm float-sm-right" id="main-menu">
+ <div class="navbar-collapse collapse" id="navbar-main-menu">
+ <ul class="nav navbar-nav">
+ <li><a href="https://www.eclipse.org/membership/" target="_self">Members</a></li>
+ <li><a href="https://www.eclipse.org/org/workinggroups/" target="_self">Working Groups</a></li>
+ <li><a href="https://www.eclipse.org/projects/" target="_self">Projects</a></li>
+ <li class="dropdown visible-xs">
+ <a href="#" data-toggle="dropdown" class="dropdown-toggle">Community <b class="caret"></b></a>
+ <ul class="dropdown-menu">
+ <li><a href="http://marketplace.eclipse.org">Marketplace</a></li>
+ <li><a href="http://events.eclipse.org">Events</a></li>
+ <li><a href="http://www.planeteclipse.org/">Planet Eclipse</a></li>
+ <li><a href="https://www.eclipse.org/community/eclipse_newsletter/">Newsletter</a></li>
+ <li><a href="https://www.youtube.com/user/EclipseFdn">Videos</a></li>
+ <li><a href="https://blogs.eclipse.org">Blogs</a></li>
+ </ul>
+ </li>
+ <li class="dropdown visible-xs">
+ <a href="#" data-toggle="dropdown" class="dropdown-toggle">Participate <b class="caret"></b></a>
+ <ul class="dropdown-menu">
+ <li><a href="https://bugs.eclipse.org/bugs/">Report a Bug</a></li>
+ <li><a href="https://www.eclipse.org/forums/">Forums</a></li>
+ <li><a href="https://www.eclipse.org/mail/">Mailing Lists</a></li>
+ <li><a href="https://wiki.eclipse.org/">Wiki</a></li>
+ <li><a href="https://wiki.eclipse.org/IRC">IRC</a></li>
+ <li><a href="https://www.eclipse.org/org/research/">Research</a></li>
+ </ul>
+ </li>
+ <li class="dropdown visible-xs">
+ <a href="#" data-toggle="dropdown" class="dropdown-toggle">Eclipse IDE <b class="caret"></b></a>
+ <ul class="dropdown-menu">
+ <li><a href="https://www.eclipse.org/downloads">Download</a></li>
+ <li><a href="https://www.eclipse.org/eclipseide">Learn More</a></li>
+ <li><a href="https://help.eclipse.org">Documentation</a></li>
+ <li><a href="https://www.eclipse.org/getting_started">Getting Started / Support</a></li>
+ <li><a href="https://www.eclipse.org/contribute/">How to Contribute</a></li>
+ <li><a href="https://www.eclipse.org/ide/">IDE and Tools</a></li>
+ <li><a href="https://www.eclipse.org/forums/index.php/f/89/">Newcomer Forum</a></li>
+ </ul>
+ </li>
+ <!-- More -->
+ <li class="dropdown eclipse-more hidden-xs">
+ <a data-toggle="dropdown" class="dropdown-toggle" role="button">More<b class="caret"></b></a>
+ <ul class="dropdown-menu">
+ <li>
+ <!-- Content container to add padding -->
+ <div class="yamm-content">
+ <div class="row">
+ <ul class="col-sm-8 list-unstyled">
+ <li>
+ <p><strong>Community</strong></p>
+ </li>
+ <li><a href="http://marketplace.eclipse.org">Marketplace</a></li>
+ <li><a href="http://events.eclipse.org">Events</a></li>
+ <li><a href="http://www.planeteclipse.org/">Planet Eclipse</a></li>
+ <li><a href="https://www.eclipse.org/community/eclipse_newsletter/">Newsletter</a></li>
+ <li><a href="https://www.youtube.com/user/EclipseFdn">Videos</a></li>
+ <li><a href="https://blogs.eclipse.org">Blogs</a></li>
+ </ul>
+ <ul class="col-sm-8 list-unstyled">
+ <li>
+ <p><strong>Participate</strong></p>
+ </li>
+ <li><a href="https://bugs.eclipse.org/bugs/">Report a Bug</a></li>
+ <li><a href="https://www.eclipse.org/forums/">Forums</a></li>
+ <li><a href="https://www.eclipse.org/mail/">Mailing Lists</a></li>
+ <li><a href="https://wiki.eclipse.org/">Wiki</a></li>
+ <li><a href="https://wiki.eclipse.org/IRC">IRC</a></li>
+ <li><a href="https://www.eclipse.org/org/research/">Research</a></li>
+ </ul>
+ <ul class="col-sm-8 list-unstyled">
+ <li>
+ <p><strong>Eclipse IDE</strong></p>
+ </li>
+ <li><a href="https://www.eclipse.org/downloads">Download</a></li>
+ <li><a href="https://www.eclipse.org/eclipseide">Learn More</a></li>
+ <li><a href="https://help.eclipse.org">Documentation</a></li>
+ <li><a href="https://www.eclipse.org/getting_started">Getting Started / Support</a></li>
+ <li><a href="https://www.eclipse.org/contribute/">How to Contribute</a></li>
+ <li><a href="https://www.eclipse.org/ide/">IDE and Tools</a></li>
+ <li><a href="https://www.eclipse.org/forums/index.php/f/89/">Newcomer Forum</a></li>
+ </ul>
+ </div>
+ </div>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ </div>
+ <div class="navbar-header">
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar-main-menu">
+ <span class="sr-only">Toggle navigation</span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </button>
+ <div class="wrapper-logo-mobile"><a class="navbar-brand visible-xs" href="https://www.eclipse.org/"><img class="logo-eclipse-default-mobile img-responsive" alt="logo" width="160" src="//www.eclipse.org/eclipse.org-common/themes/solstice/public/images/logo/eclipse-foundation-white-orange.svg"/></a></div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </header>
+ <section class="default-breadcrumbs hidden-print" id="breadcrumb">
+ <div class="container">
+ <h3 class="sr-only">Breadcrumbs</h3>
+ <div class="row">
+ <div class="col-sm-24">
+ <ol class="breadcrumb">
+ <li><a href="/">Home</a></li>
+ <li><a href="http://eclipse.org/downloads/">Downloads</a></li>
+ <li>Add Software</li>
+ </ol>
+ </div>
+ </div>
+ </div>
+ </section>
+ <!-- /#breadcrumb -->
+ <main class="margin-bottom-50">
+ <div class="novaContent container" id="novaContent">
+ <div class="row">
+ <div class="col-md-18">
+ <h1>You're close!</h1>
+ <p>This URL is an Eclipse <b>software repository</b>; you must use it in Eclipse (<a href="//help.eclipse.org/topic/org.eclipse.platform.doc.user/tasks/tasks-127.htm">see how</a>).<br /><br /><br /></p>
+ <img align="right" src="/errors/content/eclipse-software-install-win10-v1.png" />
+ <div>
+ <!-- DNR:FILE -->
+ </div>
+ </div>
+ <div class="col-md-6">
+ <aside class="hidden-sm hidden-xs" id="main-sidebar">
+ <ul id="leftnav" class="ul-left-nav fa-ul hidden-print">
+ <li class="separator">Useful links</li>
+ <li><i class="fa fa-caret-right fa-fw"></i> <a href="//archive.eclipse.org">Eclipse project archives</a></li>
+ <li><i class="fa fa-caret-right fa-fw"></i> <a href="//download.eclipse.org/eclipse/downloads">Eclipse project downloads</a></li>
+ <li><i class="fa fa-caret-right fa-fw"></i> <a href="//eclipse.org">Eclipse home</a></li>
+ <li><i class="fa fa-caret-right fa-fw"></i> <a href="//eclipse.org/downloads">Downloads home</a></li>
+ <li><i class="fa fa-caret-right fa-fw"></i> <a href="mailto:webmaster@eclipse.org">Email the webmaster</a></li>
+ </ul>
+ </aside>
+ </div>
+ </div>
+ </div>
+ </main>
+ <footer id="solstice-footer">
+ <div class="container">
+ <div class="row">
+ <section class="col-sm-6 hidden-print" id="footer-eclipse-foundation">
+ <h2 class="section-title">Eclipse Foundation</h2>
+ <ul class="nav">
+ <li><a href="https://www.eclipse.org/org/">About Us</a></li>
+ <li><a href="https://www.eclipse.org/org/foundation/contact.php">Contact Us</a></li>
+ <li><a href="https://www.eclipse.org/donate">Donate</a></li>
+ <li><a href="https://www.eclipse.org/org/documents/">Governance</a></li>
+ <li><a href="https://www.eclipse.org/artwork/">Logo and Artwork</a></li>
+ <li><a href="https://www.eclipse.org/org/foundation/directors.php">Board of Directors</a></li>
+ </ul>
+ </section>
+ <section class="col-sm-6 hidden-print" id="footer-legal">
+ <h2 class="section-title">Legal</h2>
+ <ul class="nav">
+ <li><a href="https://www.eclipse.org/legal/privacy.php">Privacy Policy</a></li>
+ <li><a href="https://www.eclipse.org/legal/termsofuse.php">Terms of Use</a></li>
+ <li><a href="https://www.eclipse.org/legal/copyright.php">Copyright Agent</a></li>
+ <li><a href="https://www.eclipse.org/legal/epl-2.0/">Eclipse Public License</a></li>
+ <li><a href="https://www.eclipse.org/legal/">Legal Resources </a></li>
+ </ul>
+ </section>
+ <section class="col-sm-6 hidden-print" id="footer-useful-links">
+ <h2 class="section-title">Useful Links</h2>
+ <ul class="nav">
+ <li><a href="https://bugs.eclipse.org/bugs/">Report a Bug</a></li>
+ <li><a href="//help.eclipse.org/">Documentation</a></li>
+ <li><a href="https://www.eclipse.org/contribute/">How to Contribute</a></li>
+ <li><a href="https://www.eclipse.org/mail/">Mailing Lists</a></li>
+ <li><a href="https://www.eclipse.org/forums/">Forums</a></li>
+ <li><a href="//marketplace.eclipse.org">Marketplace</a></li>
+ </ul>
+ </section>
+ <section class="col-sm-6 hidden-print" id="footer-other">
+ <h2 class="section-title">Other</h2>
+ <ul class="nav">
+ <li><a href="https://www.eclipse.org/ide/">IDE and Tools</a></li>
+ <li><a href="https://www.eclipse.org/projects">Community of Projects</a></li>
+ <li><a href="https://www.eclipse.org/org/workinggroups/">Working Groups</a></li>
+ <li><a href="https://www.eclipse.org/org/research/">Research@Eclipse</a></li>
+ <li><a href="https://status.eclipse.org">Service Status</a></li>
+ </ul>
+ </section>
+ <div class="col-sm-24 margin-top-20">
+ <div class="row">
+ <div id="copyright" class="col-md-16">
+ <p id="copyright-text">Copyright © Eclipse Foundation, Inc. All Rights Reserved.</p>
+ </div>
+ <div class="col-md-8 social-media">
+ <ul class="list-inline">
+ <li>
+ <a class="social-media-link fa-stack fa-lg" href="https://twitter.com/EclipseFdn">
+ <i class="fa fa-circle-thin fa-stack-2x"></i>
+ <i class="fa fa-twitter fa-stack-1x"></i>
+ </a>
+ </li>
+ <li>
+ <a class="social-media-link fa-stack fa-lg" href="https://www.facebook.com/eclipse.org">
+ <i class="fa fa-circle-thin fa-stack-2x"></i>
+ <i class="fa fa-facebook fa-stack-1x"></i>
+ </a>
+ </li>
+ <li>
+ <a class="social-media-link fa-stack fa-lg" href="https://www.youtube.com/user/EclipseFdn">
+ <i class="fa fa-circle-thin fa-stack-2x"></i>
+ <i class="fa fa-youtube fa-stack-1x"></i>
+ </a>
+ </li>
+ <li>
+ <a class="social-media-link fa-stack fa-lg" href="https://www.linkedin.com/company/eclipse-foundation">
+ <i class="fa fa-circle-thin fa-stack-2x"></i>
+ <i class="fa fa-linkedin fa-stack-1x"></i>
+ </a>
+ </li>
+ </ul>
+ </div>
+ </div>
+ </div>
+ <a href="#" class="scrollup">Back to the top</a>
+ </div>
+ </div>
+ </footer>
+ <!-- Placed at the end of the document so the pages load faster -->
+ <script src="https://www.eclipse.org/eclipse.org-common/themes/solstice/public/javascript/main.min.js?var=1.2"></script>
+ </body>
+</html>
diff --git a/archive.eclipse.org/405.php b/archive.eclipse.org/405.php
new file mode 100644
index 0000000..373c8d0
--- /dev/null
+++ b/archive.eclipse.org/405.php
@@ -0,0 +1,17 @@
+<?php
+ $browser = $_SERVER['HTTP_USER_AGENT'];
+ if (strpos($browser, "Jakarta") !== FALSE
+ || strpos($browser, "Java/") !== FALSE
+ || strpos($browser, "Slurp/") !== FALSE
+ || strpos($browser, "msnbot/") !== FALSE
+ || strpos($browser, "Googlebot/") !== FALSE
+ || strpos($browser, "apacheHttpClient") !== FALSE
+ || strpos($browser, "Baiduspider") !== FALSE
+ || strpos($browser, "Apache-Maven/") !== FALSE
+ ) {
+ echo "404 Not Found";
+ }
+ else {
+ $html = file_get_contents("404.html");
+ echo $html;
+ }
diff --git a/archive.eclipse.org/5megfile b/archive.eclipse.org/5megfile
new file mode 100644
index 0000000..a1c09b2
--- /dev/null
+++ b/archive.eclipse.org/5megfile
Binary files differ
diff --git a/archive.eclipse.org/_projectCommon.php b/archive.eclipse.org/_projectCommon.php
new file mode 100644
index 0000000..6e12430
--- /dev/null
+++ b/archive.eclipse.org/_projectCommon.php
@@ -0,0 +1,7 @@
+<?php
+
+ # Set the theme for your project's web pages.
+ # See the Committer Tools "Phoenix" secion in the How Do I? for list of themes
+ # https://dev.eclipse.org/committers/
+ $theme = "Solstice";
+?>
diff --git a/archive.eclipse.org/content/eclipse-software-install-win10-v1.png b/archive.eclipse.org/content/eclipse-software-install-win10-v1.png
new file mode 100644
index 0000000..0497d88
--- /dev/null
+++ b/archive.eclipse.org/content/eclipse-software-install-win10-v1.png
Binary files differ
diff --git a/archive.eclipse.org/content/en_404.php b/archive.eclipse.org/content/en_404.php
new file mode 100644
index 0000000..9c0f522
--- /dev/null
+++ b/archive.eclipse.org/content/en_404.php
@@ -0,0 +1,51 @@
+<?php
+/*******************************************************************************
+ * Copyright (c) 2014 Eclipse Foundation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Denis Roy (Eclipse Foundation)
+ * Christopher Guindon (Eclipse Foundation)
+ *******************************************************************************/
+//if name of the file requested is the same as the current file, the script will exit directly.
+if(basename(__FILE__) == basename($_SERVER['PHP_SELF'])){exit();}
+?>
+<div id="fullcolumn">
+ <div id="midcolumn">
+ <h1><?php print $pageTitle; ?></h1>
+ <p>We're sorry, the page you requested cannot be found. Here are some reasons why:</p>
+ <ul>
+ <li>
+ A file may have moved to the archives. You can try the link below:<br />
+ <script language="javascript">
+ var str = document.location.toString();
+ str = str.replace(/download.eclipse.org/, "archive.eclipse.org");
+ document.write("<a href='" + str + "'>" + str + "</a>");
+ </script>
+ </li>
+ <li>This is an Eclipse <b>Update site</b>; you must access it from Eclipse (<a href="http://help.eclipse.org/topic//org.eclipse.platform.doc.user/tasks/tasks-127.htm">see how</a>).
+ <li>Your file was part of a Nightly build which is no longer there. Simply download the latest version.</li>
+ <li>The project is uploading a new build, and this file is not there yet. Try again in 30 minutes.</li>
+ </ul>
+ <h2>Other useful links</h2>
+ <ul>
+ <li><a href="//eclipse.org">Eclipse home</a> | <a href="//eclipse.org/downloads">Downloads Home</a></li>
+ <li><a href="//eclipse.org/legal">Legal documents</a></li>
+ <li><a href="//wiki.eclipse.org/index.php/Webmaster_FAQ">webmaster FAQ</a></li>
+ <li><a href="mailto:webmaster@eclipse.org">Email the webmaster</a></li>
+ </ul>
+ <br /><br />
+ </div>
+ <div id="rightcolumn">
+ <div class="sideitem">
+ <h6>Useful links</h6>
+ <ul>
+ <li><a href="//archive.eclipse.org">Eclipse project archives</a></li>
+ <li><a href="//download.eclipse.org/eclipse/downloads">Eclipse project downloads</a></li>
+ </ul>
+ </div>
+ </div>
+</div>
\ No newline at end of file
diff --git a/archive.eclipse.org/denied.html b/archive.eclipse.org/denied.html
new file mode 100644
index 0000000..e93bc2c
--- /dev/null
+++ b/archive.eclipse.org/denied.html
@@ -0,0 +1,10 @@
+<html>
+ <head>
+ <title>Access Denied</title>
+ </head>
+ <body>
+ <h1>Access Denied</h1>
+ <p>Your access to this server has been denied because of abuse.
+ Please contact webmaster@eclipse.org.</p>
+ </body>
+</html>
\ No newline at end of file
diff --git a/archive.eclipse.org/js.js b/archive.eclipse.org/js.js
new file mode 100644
index 0000000..714e191
--- /dev/null
+++ b/archive.eclipse.org/js.js
@@ -0,0 +1,10 @@
+ function fnToggleDirList() {
+ if(document.getElementById('dirlist').style.display == "none") {
+ document.getElementById('dirlist').style.display = "inline";
+ document.getElementById('togglelabel').innerHTML = "Hide Directory Contents.";
+ }
+ else {
+ document.getElementById('dirlist').style.display = "none";
+ document.getElementById('togglelabel').innerHTML = "Show Directory Contents."
+ }
+ }
diff --git a/archive.eclipse.org/toobusy.html b/archive.eclipse.org/toobusy.html
new file mode 100644
index 0000000..1b10b62
--- /dev/null
+++ b/archive.eclipse.org/toobusy.html
@@ -0,0 +1,9 @@
+<html>
+ <head>
+ <title>Too Busy</title>
+ </head>
+ <body>
+ <h1>Server too busy</h1>
+ <p>Please pick a mirror site for your download.</p>
+ </body>
+</html>
\ No newline at end of file