diff options
author | Jonah Graham | 2022-09-30 22:15:22 +0000 |
---|---|---|
committer | Jonah Graham | 2022-09-30 22:15:22 +0000 |
commit | a7766982b8e5c5b5b22c3ed8d2763a7a0f6b0c3a (patch) | |
tree | 438e3873547826ded2803ddb679b7d0bfd5439d4 | |
parent | 19ffc06ec2a76b402ce27f77da1c4b17e2524f4f (diff) | |
download | orbit-staging.tar.gz orbit-staging.tar.xz orbit-staging.zip |
Redirect orbit to download.eclipse.orgstaging
Remove stale content from the Orbit website and re-direct to
the important stuff on download.eclipse.org.
See https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/issues/1850
Change-Id: If83494edd337de89401d51d1ba641bb6c5641fe8
-rw-r--r-- | .project | 11 | ||||
-rw-r--r-- | .settings/org.eclipse.core.resources.prefs | 2 | ||||
-rw-r--r-- | .settings/org.eclipse.core.runtime.prefs | 2 | ||||
-rw-r--r-- | _projectCommon.php | 9 | ||||
-rw-r--r-- | description.php | 42 | ||||
-rw-r--r-- | documents/RCP_Chapter20.pdf | bin | 640989 -> 0 bytes | |||
-rw-r--r-- | documents/index.php | 63 | ||||
-rw-r--r-- | documents/minutes-061024.php | 146 | ||||
-rw-r--r-- | global-links.html | 17 | ||||
-rw-r--r-- | index.php | 75 | ||||
-rw-r--r-- | ip_log/classes.php | 53 | ||||
-rw-r--r-- | ip_log/constants.php | 42 | ||||
-rw-r--r-- | ip_log/index.php | 46 | ||||
-rw-r--r-- | ip_log/ip_log_code.php | 94 | ||||
-rw-r--r-- | ip_log/org.apache.xerces.ip_log | 70 | ||||
-rw-r--r-- | ip_log/org.apache.xmlrpc.ip_log | 52 | ||||
-rw-r--r-- | ip_log/parse_dom.php | 174 | ||||
-rw-r--r-- | ip_log/toc.txt | 2 | ||||
-rw-r--r-- | overview.php | 88 | ||||
-rw-r--r-- | project-info/maillist | 1 | ||||
-rw-r--r-- | project-info/newsgroup | 1 | ||||
-rw-r--r-- | project-info/project-info.xml | 22 | ||||
-rw-r--r-- | resources/index.php | 96 | ||||
-rw-r--r-- | scripts/README | 3 | ||||
-rw-r--r-- | test.php | 21 |
25 files changed, 7 insertions, 1125 deletions
diff --git a/.project b/.project deleted file mode 100644 index 6a1743a..0000000 --- a/.project +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<projectDescription> - <name>orbit</name> - <comment></comment> - <projects> - </projects> - <buildSpec> - </buildSpec> - <natures> - </natures> -</projectDescription> diff --git a/.settings/org.eclipse.core.resources.prefs b/.settings/org.eclipse.core.resources.prefs deleted file mode 100644 index 99f26c0..0000000 --- a/.settings/org.eclipse.core.resources.prefs +++ /dev/null @@ -1,2 +0,0 @@ -eclipse.preferences.version=1 -encoding/<project>=UTF-8 diff --git a/.settings/org.eclipse.core.runtime.prefs b/.settings/org.eclipse.core.runtime.prefs deleted file mode 100644 index 5a0ad22..0000000 --- a/.settings/org.eclipse.core.runtime.prefs +++ /dev/null @@ -1,2 +0,0 @@ -eclipse.preferences.version=1 -line.separator=\n diff --git a/_projectCommon.php b/_projectCommon.php deleted file mode 100644 index c63adab..0000000 --- a/_projectCommon.php +++ /dev/null @@ -1,9 +0,0 @@ -<?php - - # set default theme - $theme = "solstice"; - - # Define your project-wide Nav bars here. - # Format is Link text, link URL (can be http://www.someothersite.com/), target (_self, _blank), level (1, 2 or 3) - #$Nav->addNavSeparator("Orbit Home", "/orbit"); -?> diff --git a/description.php b/description.php index 481d844..d14b106 100644 --- a/description.php +++ b/description.php @@ -1,41 +1 @@ -<?php require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/app.class.php"); require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/nav.class.php"); require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/menu.class.php"); $App = new App(); -//$Nav = new Nav(); -$Nav = NULL; -$Menu = new Menu(); -include($App->getProjectCommon()); - - #***************************************************************************** - # - # - #**************************************************************************** - - # - # Begin: page-specific settings. Change these. - $pageTitle = "Orbit"; - $pageKeywords = "orbit, bundles, third party, code, equinox, osgi, framework, runtime"; - - # Add page-specific Nav bars here - # Format is Link text, link URL (can be http://www.someothersite.com/), target (_self, _blank), level (1, 2 or 3) - # $Nav->addNavSeparator("My Page Links", "downloads.php"); - # $Nav->addCustomNav("My Link", "mypage.php", "_self", 3); - # $Nav->addCustomNav("Google", "http://www.google.com/", "_blank", 3); - - # End: page-specific settings - # - - # Paste your HTML content between the markers! -ob_start(); - -?> - - <div id="midcolumn"> - <p>This project will provide a repository of bundled versions of third party - libraries that are approved for use in one or more Eclipse projects.</p> - </div> - -<?php - $html = ob_get_clean(); - - # Generate the web page - $App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html); -?> +<?php header('Location: https://download.eclipse.org/tools/orbit/'); ?> diff --git a/documents/RCP_Chapter20.pdf b/documents/RCP_Chapter20.pdf Binary files differdeleted file mode 100644 index f402281..0000000 --- a/documents/RCP_Chapter20.pdf +++ /dev/null diff --git a/documents/index.php b/documents/index.php deleted file mode 100644 index 0d5aa5c..0000000 --- a/documents/index.php +++ /dev/null @@ -1,63 +0,0 @@ -<?php - -require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/app.class.php"); -require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/nav.class.php"); -require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/menu.class.php"); -$App = new App(); -//$Nav = new Nav(); -$Nav = NULL; -$Menu = new Menu(); -include($App->getProjectCommon()); -$theme = "solstice"; - #***************************************************************************** - # - # - #**************************************************************************** - - # Begin: page-specific settings. Change these. - $pageTitle = "Orbit Documents"; - $pageKeywords = "Orbit, bundles, documents"; - - # Add page-specific Nav bars here - # Format is Link text, link URL (can be http://www.someothersite.com/), target (_self, _blank), level (1, 2 or 3) - # $Nav->addNavSeparator("My Page Links", "downloads.php"); - # $Nav->addCustomNav("My Link", "mypage.php", "_self", 3); - # $Nav->addCustomNav("Google", "http://www.google.com/", "_blank", 3); - - # End: page-specific settings - - # Paste your HTML content between the markers! -ob_start(); -?> - - <div id="midcolumn"> - <h1><?= $pageTitle ?></h1> - <div class="homeitem3col"> - <h2>Documents</h2> - <ul> - <li><a href="RCP_Chapter20.pdf"><i>Integrating Code Libraries</i></a> A chapter from the <a href="http://eclipsercp.org">Eclipse RCP book</a>.</li> - <li><a href="http://eclipse.org/proposals/orbit/">The original Orbit project proposal.</a></li> - </ul> - - <h2>Meeting Minutes</h2> - <ul> - <li> <a href="http://wiki.eclipse.org/index.php/Orbit#Meeting_minutes">Meeting Minutes are on the Orbit Wiki.</a></li> - </ul> - - <h2>Related Documents</h2> - <ul> - <li> <a href="http://osgi.org/osgi_technology/download_specs.asp?section=2">OSGi specifications</a></li> - </ul> - </div> -</div> - -<?php - include ("../global-links.html"); -?> - -<?php - $html = ob_get_clean(); - - # Generate the web page - $App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html); -?> diff --git a/documents/minutes-061024.php b/documents/minutes-061024.php deleted file mode 100644 index af4d53f..0000000 --- a/documents/minutes-061024.php +++ /dev/null @@ -1,146 +0,0 @@ -<?php require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/app.class.php"); require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/nav.class.php"); require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/menu.class.php"); -$App = new App(); -$Nav = new Nav(); -$Menu = new Menu(); -include($App->getProjectCommon()); - - #***************************************************************************** - # - # - #**************************************************************************** - - # - # Begin: page-specific settings. Change these. - $pageTitle = "Orbit Call Minutes 061024"; - $pageKeywords = "Orbit, bundles, documents, minutes"; - - # Add page-specific Nav bars here - # Format is Link text, link URL (can be http://www.someothersite.com/), target (_self, _blank), level (1, 2 or 3) - # $Nav->addNavSeparator("My Page Links", "downloads.php"); - # $Nav->addCustomNav("My Link", "mypage.php", "_self", 3); - # $Nav->addCustomNav("Google", "http://www.google.com/", "_blank", 3); - - # End: page-specific settings - # - - # Paste your HTML content between the markers! -ob_start(); -?> - - <div id="midcolumn"> - <h1><?= $pageTitle ?></h1> - - -Oct 24, 2006 @ 1400ET -<p><b>Jeff:</b> I am terrible at talking, thinking and typing all at the same time so - these notes are rough and I may have misattributed comments etc. Please correct/clarify - as you feel necessary.</p> -<h2>Attendees</h2> -<p> Martin Oberhuber <br> - Bjorn Freeman-Benson<br> - David Williams<br> - Jeff McAffer<br> - Simon Kaegi<br> - Pascal Rapicault</p> -<h2>Discussion</h2> -<p>A relatively free form discussion on issues and thoughts related to Orbit - process and infrastructure.</p> -<p> <strong>Jeff:</strong> Set some context for Orbit, what it is, what it is not and who can/should - participate<br> - <strong>Martin:</strong> He is looking to join and commit Apache ORO and Commons Net. They - are using these for their target management work in an upcoming 1.0 release. - It would be good to leverage the naming conventions etc put forward in Orbit.<br> - <strong>Jeff:</strong> This would be great and we should act on Martin's offer to participate -in the mailing list</p> -<p> <strong>David:</strong> should we have some review of the bundling and form? Having discussions - beforehand would reduce churn.<br> - <strong>Jeff:</strong> This makes sense and can feed into the best practices docs. People -should add sections to the Wiki or open discussions on the mailing list. </p> -<p> <strong>David:</strong> should we separate the pieces of the components we get from Apache - etc. For example, Tomcat comes with several nested bits.<br> - <strong>Jeff:</strong> This is a best practice item. Initial answer yes, we should seek to -componentize as much as possible.</p> -<p> <strong>Simon:</strong> should we use the qualifier segment in the version numbers? There - is a concern that rebuilding will generate new versions with the same content<br> - <strong>David:</strong> that won't happen unless the CVS tag changes. More generally we probably - don't need nightly builds (which would have the characteristic Simon mentioned) -and just do all builds as Integration builds (i.e., identifying version tags)</p> -<p> <strong>Simon:</strong> how should we handle source for the libraries. We can include source - zips in the projects or make a file that as a URL to the source<br> - <strong>Jeff:</strong> The main purpose of having the source is so that people can get/install - it and then use it for development/debugging. Currently that means delivering - the source in bundles (in some form). Note also that the many projects do not - provide source in an easily consumed way so just having a link to a zip on - some server does not help alot.<br> - <strong>Jeff:</strong> We should consider delivering the source in individual bundles and - have them built as part of the build. We may need to tweak the build process - to help but it should not be a major issue.<br> - <strong> Action:</strong> Simon to start a wiki page on how to manage source</p> -<p><strong>David:</strong> how should we build the Orbit bundles? Proposal to build using the - normal PDE build process that many projects are using today. <br> - <strong>Discussion:</strong> how many map files will be needed etc. The challenge - with more than one is how to decide where the entry for a particular bundle - goes. Challenge with one is potential collisions during editing. Concluded - that for now we'll go with just one and see if there are any issues.<br> - <strong>Jeff:</strong> we should use the build infrastructure supplied by the Foundation.<br> - <strong> Action:</strong> David and Bjorn to start setting up the build</p> -<p> <strong>David:</strong> How many features will be needed? One per bundle? One for all of - Orbit? None?<br> - <strong>David:</strong> is there a legal obligation to expose the licensing via features in - the Update workflow. WTP uses one feature per thirdparty lib<br> - <strong>Jeff:</strong> Don't believe there is a legal obligation. The Eclipse project aggregates - the third party license references in the "containing" features and - so does not have a feature per lib<br> - <strong>Action:</strong> Jeff to confirm the legal requirements in this area </p> -<p> <strong>Jeff:</strong> Features are useful if we are going to have an update site. Some discussion - about the uses of an update site.<br> - <strong>David:</strong> Having separate features allows Update Manager to optimize the download - and not download/install the same feature twice.<br> - <strong>Pascal:</strong> Update manager does not duplicate the downloads<br> - <strong>Action:</strong> Pascal to confirm that Update Manager does not download a new copy -of a bundle that is already installed.</p> -<p> <strong>Jeff:</strong> How do people want to consume Orbit bundles<br> - <strong>David:</strong> input into the build. Some people have scripts that suck bundles from - update sites. Project update sites are useful when creating the Europa update -site.<br> - <strong>Jeff:</strong> End users will not go to an Orbit update site. They will use the product - update site (e.g., Europa)<br> - <strong>Conclusion:</strong> For now we will create a download site that includes - individual -JARs as well as one zip of all bundles.</p> -<p><strong>Simon:</strong> should the manifests be locallized?<br> - <strong>??:</strong> Yes.</p> -<p> <strong>David:</strong> We should ensure that the libs being committed here are traceable - back to the Foundation approval. <br> - <strong>Conclusion:</strong> The CVS commit comment should include a reference to the -IPzilla report associated with the library.</p> -<p> <strong>Group:</strong> Brief discussion around using CVS HEAD with different project names - vs. Branches of one project for each version of a lib<br> - <strong>Conclusion:</strong> use branches for now and revisit in a future call.</p> -<p> Call concluded. Jeff to schedule another call in 2-3 weeks. The time should - be about 1100 ET to accomodate west coast and Europe.</p> -<h2>Action Items:</h2> -<p> <strong>Action:</strong> Pascal to confirm that Update Manager does not download a new copy - of a bundle that is already installed.<br> - <strong>Action:</strong> Simon to start a wiki page on how to manage source<br> - <strong>Action:</strong> David and Bjorn to start setting up the build<br> - <strong>Action:</strong> Jeff to confirm the legal requirements in this area <br> - <strong> Action:</strong> Jeff to schedule next call<br> -</p> - - - - - </div> - -<?php - include $_SERVER['DOCUMENT_ROOT'] . "/orbit/global-links.html"; - include "dir-links.html"; -?> - -<?php - $html = ob_get_clean(); - - # Generate the web page - $App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html); -?> diff --git a/global-links.html b/global-links.html deleted file mode 100644 index 2a2aea1..0000000 --- a/global-links.html +++ /dev/null @@ -1,17 +0,0 @@ -<div id="rightcolumn"> - <div> - <p style="text-align: right;"> - <a href="https://www.eclipse.org/orbit/"><img src="https://www.eclipse.org/orbit/coolGears.png" alt="Orbit Gears" style="backgroundColor: #FFFFFF; float: none; width: 120px; height: 120px; margin: 0px;" /></a> - </p> - </div> - <div class="sideitem"> - <h3>Handy links</h3> - <ul> - <li><a href="http://download.eclipse.org/tools/orbit">Orbit Downloads</a></li> - <li><a href="https://wiki.eclipse.org/index.php/Orbit">Orbit Wiki</a></li> - <li><a href="https://eclipse.org/orbit/documents/">Orbit Documents</a></li> - <li><a href="https://eclipse.org/orbit/resources/">Orbit Resources</a></li> - <li><a href="https://wiki.eclipse.org/index.php/Orbit_Faq">Orbit FAQ</a></li> - </ul> - </div> -</div> @@ -1,74 +1 @@ -<?php - $theme = "solstice"; -require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/app.class.php"); -require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/nav.class.php"); -require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/menu.class.php"); -$App = new App(); -//$Nav = new Nav(); -$Nav = NULL; -$Menu = new Menu(); -include($App->getProjectCommon()); - - #***************************************************************************** - # - # - #**************************************************************************** - - - # Begin: page-specific settings. Change these. - $pageTitle = "Orbit"; - $pageKeywords = "orbit, bundles, third party, code, equinox, osgi, framework, runtime"; - - # Add page-specific Nav bars here - # Format is Link text, link URL (can be http://www.someothersite.com/), target (_self, _blank), level (1, 2 or 3) - # $Nav->addNavSeparator("My Page Links", "downloads.php"); - # $Nav->addCustomNav("My Link", "mypage.php", "_self", 3); - # $Nav->addCustomNav("Google", "http://www.google.com/", "_blank", 3); - - # End: page-specific settings - - # Paste your HTML content between the markers! -ob_start(); - -?> - - <div id="midcolumn"> - <h1><?= $pageTitle ?></h1> - <h2>Mission Statement</h2> - <p>This project will provide a repository of bundled versions of third party - libraries that are approved for use in one or more Eclipse projects. The - repository will maintain old versions of such libraries to facilitate rebuilding - historical output. It will also clearly indicate the status of the library - (i.e., the approved scope of use). The repository will be structured such - that the contained bundles are easily obtained and added to a developer's - workspace or target platform.</p> - <p>Read more in the <a href="overview.php">Orbit overview</a>. - <p><b>Note:</b> The Orbit mandate does not allow the project to be used for building or - maintaining third-party libraries that are not approved by the Eclipse foundation for use in - Eclipse projects.</p> - <h2>Getting Started and Getting Involved</h2> - <p>Anyone is welcome to participate in Orbit. Orbit committers are - committers on other Eclipse projects -- since Orbit's mission is to provide third-party libraries - as needed in other Eclipse projects. If you want to become an Orbit committer (which includes the initial commit of - a third party library, with correct OSGi manifest, and any on-going maintenance or bug fixes) then - post a message on the - <a href="mailto:orbit-dev@eclipse.org">Orbit mailing list</a>. Be sure to state which project you are already a - committer on, in addition to which package you want to contribute and maintain.</p> - <p>But you do not need to be a committer to participate. If you see a flaw in a Orbit bundle, open a - bug, state the problem clearly, and preferably submit a patch with an explanation of how it fixes the problem. - (In general, we can only fix what we contribute, if you find a bug in the third-party code itself, you can open a bug - with that third-party project and is then a good idea to open an Orbit bug too, pointing to the third-party bug, so it will - be clearer if/when someone might want to pickup up a fixed version of the library and add it to Orbit.</p> - - </div> - -<?php - include ("global-links.html"); -?> - -<?php - $html = ob_get_clean(); - - # Generate the web page - $App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html); -?> +<?php header('Location: https://download.eclipse.org/tools/orbit/'); ?> diff --git a/ip_log/classes.php b/ip_log/classes.php deleted file mode 100644 index 45ce6a4..0000000 --- a/ip_log/classes.php +++ /dev/null @@ -1,53 +0,0 @@ -<?php -/******************************************************************************* - * Copyright (c) 2007 IBM Corporation 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://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ - -class info { - var $name; - var $origin; - var $reference; - var $repository; - var $location; - var $tag; -} - -class contact { - var $name; - var $email; - var $company; -} - -class legal { - var $ipzilla; - var $license; - var $package; -} - -class license { - var $name; - var $reference; -} - -/* - */ -class project { - // attributes - var $id; - var $version; - var $status; - - // elements - var $info; - var $contact; - var $notes; - var $legal; -} -?>
\ No newline at end of file diff --git a/ip_log/constants.php b/ip_log/constants.php deleted file mode 100644 index 45d49d0..0000000 --- a/ip_log/constants.php +++ /dev/null @@ -1,42 +0,0 @@ -<?php -/******************************************************************************* - * Copyright (c) 2007 IBM Corporation 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://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ - -// XML constants for the element tag names -define("ELEMENT_COMPANY", "company"); -define("ELEMENT_CONTACT", "contact"); -define("ELEMENT_EMAIL", "email"); -define("ELEMENT_INFO", "info"); -define("ELEMENT_IPZILLA", "ipzilla"); -define("ELEMENT_LEGAL", "legal"); -define("ELEMENT_LICENSE", "license"); -define("ELEMENT_LOCATION", "location"); -define("ELEMENT_NAME", "name"); -define("ELEMENT_NOTE", "note"); -define("ELEMENT_NOTES", "notes"); -define("ELEMENT_ORIGIN", "origin"); -define("ELEMENT_PACKAGE", "package"); -define("ELEMENT_PROJECT", "project"); -define("ELEMENT_REFERENCE", "reference"); -define("ELEMENT_REPOSITORY", "repository"); -define("ELEMENT_TAG", "tag"); - -// XML constants for the element attribute key names -define("ATTRIBUTE_BUG_ID", "bug_id"); -define("ATTRIBUTE_ID", "id"); -define("ATTRIBUTE_STATUS", "status"); -define("ATTRIBUTE_VERSION", "version"); - -// XML constants for the element attribute values -define("VALUE_STATUS_DONE", "done"); - -define("STATUS_DONE", 1); -?>
\ No newline at end of file diff --git a/ip_log/index.php b/ip_log/index.php deleted file mode 100644 index 331cece..0000000 --- a/ip_log/index.php +++ /dev/null @@ -1,46 +0,0 @@ -IP Log InfoIP Log Info<?php require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/app.class.php"); require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/nav.class.php"); require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/menu.class.php"); $App = new App(); $Nav = new Nav(); $Menu = new Menu(); include($App->getProjectCommon()); # All on the same line to unclutter the user's desktop' - - #***************************************************************************** - # - # - #**************************************************************************** - - # - # Begin: page-specific settings. Change these. - $pageTitle = "Orbit IP Log Information"; - $pageKeywords = "orbit, bundles, third party, code, equinox, osgi, framework, runtime"; - - # Add page-specific Nav bars here - # Format is Link text, link URL (can be http://www.someothersite.com/), target (_self, _blank), level (1, 2 or 3) - # $Nav->addNavSeparator("My Page Links", "downloads.php"); - # $Nav->addCustomNav("My Link", "mypage.php", "_self", 3); - # $Nav->addCustomNav("Google", "http://www.google.com/", "_blank", 3); - - # End: page-specific settings - # - - # Paste your HTML content between the markers! -ob_start(); -?> - - <div id="midcolumn"> - <h1><?= $pageTitle ?></h1> - Orbit is essentially a repository of bundles containing third-party code. Here is a list - of the bundles currently in Orbit, as well as their associated legal information. - <p> - <!-- INSERT CODE HERE --> - <?php include "ip_log_code.php"?> - - </div> - -<?php - include $_SERVER['DOCUMENT_ROOT'] . "/orbit/global-links.html"; - include "dir-links.html"; -?> - -<?php - $html = ob_get_clean(); - - # Generate the web page - $App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html); -?> diff --git a/ip_log/ip_log_code.php b/ip_log/ip_log_code.php deleted file mode 100644 index d2b10e0..0000000 --- a/ip_log/ip_log_code.php +++ /dev/null @@ -1,94 +0,0 @@ -<?php -/******************************************************************************* - * Copyright (c) 2007 IBM Corporation 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://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ - -include "constants.php"; -include "classes.php"; -include "parse_dom.php"; - -$debug = $_GET[debug]; // are we in debug mode? - -$file_names = array(); -$handle = opendir("."); -while (false !== ($file = readdir($handle))) { - if (is_file($file) && ereg("\.ip_log",$file)) { - array_push($file_names, $file); - } -} -closedir($handle); - -debug("IP Files: ".count($file_names)); - -echo "<table BORDER=0 CELLSPACING=5 CELLPADDING=2 WIDTH=\"100%\" >\n"; -foreach ($file_names as $file) { - $file = trim($file); - debug("Processing file: ".$file); - $project_versions = parse($file); - foreach ($project_versions as $project) { - printProject($project); - } -} -echo "</table>"; - -/* - * Print out the given project as an element in the enclosing table. - */ -function printProject($project) { - echo "<tr>\n"; - echo "<td width=\"2%\" align=RIGHT valign=TOP><img src=\"http://eclipse.org/images/Adarrow.gif\" width=\"16\" height=\"16\" border=\"0\"></td>\n"; - echo "<td width=\"98%\">"; - echo "<strong><a href=\"".$project->info->reference."\">".$project->info->name."</a> version ".$project->version." "; - echo "<a href=\"http://dev.eclipse.org/viewcvs/index.cgi/".$project->info->location."/?root=Tools_Project&pathrev=".$project->info->tag."\" style=\"text-decoration: none\">(".$project->id.")</a> "; - $colour; - switch ($project->status) { - case STATUS_DONE : - $colour=green; - break; - default : - $colour=red; - break; - } - echo " <font color=".$colour.">status:".$colour."</font></strong><br>"; - if (isSet($project->legal)) { - foreach ($project->legal as $legal) { - echo tab()."<strong>License:</strong> "; - if (isSet($legal->package)) { - echo "(".$legal->package.")"; - } - echo " <a href=\"".$legal->license->reference."\">".$legal->license->name."</a>"; - echo " (<a href=\"https://dev.eclipse.org/ipzilla/show_bug.cgi?id=".$legal->ipzilla."\">IPZilla</a>)<br>\n"; - } - } - echo tab()."<strong>Contact:</strong> <a href=\"mailto:".$project->contact->email."\">".$project->contact->name."</a> (".$project->contact->company.")<br>\n"; - foreach ($project->notes as $note) { - echo tab()."<strong>Note:</strong> ".$note."<p>\n"; - } - echo "\n</td>\n"; - echo "</tr>\n"; -} - -/* - * Helper method to return a bunch of spaces. - */ -function tab() { - return " "; -} - -/* - * Print out the given message if we are in debug mode. - * You can get into debug mode by setting ?debug=true in the URL. - */ -function debug($str) { - global $debug; - if (isset($debug)) echo $str."<br>\n"; -} - -?>
\ No newline at end of file diff --git a/ip_log/org.apache.xerces.ip_log b/ip_log/org.apache.xerces.ip_log deleted file mode 100644 index e387e0c..0000000 --- a/ip_log/org.apache.xerces.ip_log +++ /dev/null @@ -1,70 +0,0 @@ -<ip_log version ="1.0"> - <project id="org.apache.xerces" version="2.8.0" status="done"> - <info> - <name>Apache Xerces</name> - <origin>Apache</origin> - <reference>http://xerces.apache.org</reference> - <repository>/cvsroot/tools</repository> - <location>org.eclipse.orbit/org.apache.xerces</location> - <tag>v2_8_0</tag> - </info> - <contact> - <name>Joe Smith</name> - <email>joe@exmample.com</email> - <company>Example Company</company> - </contact> - <notes> - <note>We use this bundle for parsing XML.</note> - </notes> - <legal> - <ipzilla bug_id="103"/> - <license> - <name>Apache License Version 2.0</name> - <reference>http://apache.org/licenses/LICENSE-2.0</reference> - </license> - <package>xerces-apis.jar</package> - </legal> - <legal> - <ipzilla bug_id="1234"/> - <license> - <name>Apache License Version 2.1</name> - <reference>http://apache.org/licenses/LICENSE-2.1</reference> - </license> - <package>xerces-impl.jar</package> - </legal> - </project> - <project id="org.apache.xerces" version="2.8.1" status="done"> - <info> - <name>Apache Xerces</name> - <origin>Apache</origin> - <reference>http://xerces.apache.org</reference> - <repository>/cvsroot/tools</repository> - <location>org.eclipse.orbit/org.apache.xerces</location> - <tag>v2_8_1</tag> - </info> - <contact> - <name>Joe Smith</name> - <email>joe@exmample.com</email> - <company>Example Company</company> - </contact> - <notes> - <note>We use this bundle for parsing XML.</note> - </notes> - <legal> - <ipzilla bug_id="1031"/> - <license> - <name>Apache License Version 2.0</name> - <reference>http://apache.org/licenses/LICENSE-2.0</reference> - </license> - <package>xerces-apis.jar</package> - </legal> - <legal> - <ipzilla bug_id="12341"/> - <license> - <name>Apache License Version 2.1</name> - <reference>http://apache.org/licenses/LICENSE-2.1</reference> - </license> - <package>xerces-impl.jar</package> - </legal> - </project> -</ip_log> diff --git a/ip_log/org.apache.xmlrpc.ip_log b/ip_log/org.apache.xmlrpc.ip_log deleted file mode 100644 index eee2494..0000000 --- a/ip_log/org.apache.xmlrpc.ip_log +++ /dev/null @@ -1,52 +0,0 @@ -<ip_log version ="1.0"> - <project id="org.apache.xmlrpc" version="3.0.0" status="done"> - <info> - <name>Apache XML-RPC</name> - <origin>Apache</origin> - <reference>http://ws.apache.org/xmlrpc/</reference> - <repository>/cvsroot/tools</repository> - <location>org.eclipse.orbit/org.apache.xmlrpc</location> - <tag>v3_0_0</tag> - </info> - <contact> - <name>Joe Smith</name> - <email>joe@exmample.com</email> - <company>Example Company</company> - </contact> - <notes> - <note>This bundle is used for RPC calls over HTTP.</note> - </notes> - <legal> - <ipzilla bug_id="103"/> - <license> - <name>Apache License Version 2.0</name> - <reference>http://apache.org/licenses/LICENSE-2.0</reference> - </license> - </legal> - </project> - <project id="org.apache.xmlrpc" version="3.1.0"> - <info> - <name>Apache XML-RPC</name> - <origin>Apache</origin> - <reference>http://ws.apache.org/xmlrpc/</reference> - <repository>/cvsroot/tools</repository> - <location>org.eclipse.orbit/org.apache.xmlrpc</location> - <tag>v3_1_0</tag> - </info> - <contact> - <name>Joe Smith</name> - <email>joe@exmample.com</email> - <company>Example Company</company> - </contact> - <notes> - <note>This bundle is used for RPC calls over HTTP.</note> - </notes> - <legal> - <ipzilla bug_id="103"/> - <license> - <name>Apache License Version 2.0</name> - <reference>http://apache.org/licenses/LICENSE-2.0</reference> - </license> - </legal> - </project> -</ip_log> diff --git a/ip_log/parse_dom.php b/ip_log/parse_dom.php deleted file mode 100644 index f533cfa..0000000 --- a/ip_log/parse_dom.php +++ /dev/null @@ -1,174 +0,0 @@ -<?php -/******************************************************************************* - * Copyright (c) 2007 IBM Corporation 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://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ - -/* - * Parse the given XML file and return an array with Project objects based on its contents. - */ -function parse($file) { - $result = array(); - $doc = new DOMDocument(); - $doc->load($file); - $root = $doc->documentElement; - - foreach ($root->childNodes as $child) { - if ($child->nodeType != XML_ELEMENT_NODE) continue; - if (strcasecmp($child->nodeName, ELEMENT_PROJECT) != 0) continue; - $project = createProject($child); - if ($project != NULL) array_push($result, $project); - } - return $result; -} - -/* - * Create and return a Project object based on the given DOM node. - */ -function createProject($node) { - $project = new project(); - $project->id =$node->getAttribute(ATTRIBUTE_ID); - $project->version = $node->getAttribute(ATTRIBUTE_VERSION); - $status = $node->getAttribute(ATTRIBUTE_STATUS); - if (strcasecmp($status, VALUE_STATUS_DONE) == 0) { - $project->status = STATUS_DONE; - } - foreach ($node->childNodes as $child) { - if ($child->nodeType != XML_ELEMENT_NODE) continue; - if (strcasecmp($child->nodeName, ELEMENT_INFO) == 0) { - $project->info = createInfo($child); - } else if (strcasecmp($child->nodeName, ELEMENT_CONTACT) == 0) { - $project->contact = createContact($child); - } else if (strcasecmp($child->nodeName, ELEMENT_NOTES) == 0) { - $project->notes = createNotes($child); - } else if (strcasecmp($child->nodeName, ELEMENT_LEGAL) == 0) { - $project->legal[] = createLegal($child); - } else { - // TODO error - } - } - return $project; -} - -/* - * Create and return an Info object based on the given DOM node. - */ -function createInfo($node) { - $info = new info(); - foreach ($node->childNodes as $child) { - if ($child->nodeType != XML_ELEMENT_NODE) continue; - if (strcasecmp($child->nodeName, ELEMENT_NAME) == 0) { - $info->name = getText($child); - } else if (strcasecmp($child->nodeName, ELEMENT_ORIGIN) == 0) { - $info->origin = getText($child); - } else if (strcasecmp($child->nodeName, ELEMENT_REFERENCE) == 0) { - $info->reference = getText($child); - } else if (strcasecmp($child->nodeName, ELEMENT_REPOSITORY) == 0) { - $info->repository = getText($child); - } else if (strcasecmp($child->nodeName, ELEMENT_LOCATION) == 0) { - $info->location = getText($child); - } else if (strcasecmp($child->nodeName, ELEMENT_TAG) == 0) { - $info->tag = getText($child); - } else { - // TODO error - } - } - return $info; -} - -/* - * Return the text from the given node, if any. - */ -function getText($node) { - foreach ($node->childNodes as $child) { - if ($child->nodeType != XML_TEXT_NODE) continue; - return $child->wholeText; - } -} - -/* - * Create and return a Contact object from the given DOM node. - */ -function createContact($node) { - $contact = new contact(); - foreach ($node->childNodes as $child) { - if ($child->nodeType != XML_ELEMENT_NODE) continue; - if (strcasecmp($child->nodeName, ELEMENT_NAME) == 0) { - $contact->name = getText($child); - } else if (strcasecmp($child->nodeName, ELEMENT_EMAIL) == 0) { - $contact->email = getText($child); - } else if (strcasecmp($child->nodeName, ELEMENT_COMPANY) == 0) { - $contact->company = getText($child); - } else { - // TODO error - } - } - return $contact; -} - -/* - * Return an array of strings which represent the notes contained - * in the given <notes> element. - */ -function createNotes($node) { - $result = array(); - $children = $node->childNodes; - foreach ($children as $child) { - if ($child->nodeType != XML_ELEMENT_NODE) continue; - if (strcasecmp($child->nodeName, ELEMENT_NOTE) != 0) continue; - // we have a <note> element so store the text - foreach ($child->childNodes as $sub) { - if ($sub->nodeType != XML_TEXT_NODE) continue; - $result[] = $sub->wholeText; - } - } - return $result; -} - -/* - * Create and return a Legal object based on the given node. - */ -function createLegal($node) { - $legal = new legal(); - $children = $node->childNodes; - foreach ($children as $child) { - if ($child->nodeType != XML_ELEMENT_NODE) continue; - if (strcasecmp($child->nodeName, ELEMENT_IPZILLA) == 0) { - $legal->ipzilla = $child->getAttribute(ATTRIBUTE_BUG_ID); - } else if (strcasecmp($child->nodeName, ELEMENT_LICENSE) == 0) { - $legal->license = createLicense($child); - } else if (strcasecmp($child->nodeName, ELEMENT_PACKAGE) == 0) { - $legal->package = getText($child); - } else { - // TODO error - } - } - return $legal; -} - -/* - * Create and return a License object based on the given DOM node. - */ -function createLicense($node) { - $license = new license(); - $children = $node->childNodes; - foreach ($children as $child) { - if ($child->nodeType != XML_ELEMENT_NODE) continue; - if (strcasecmp($child->nodeName, ELEMENT_NAME) == 0) { - $license->name = getText($child); - } else if (strcasecmp($child->nodeName, ELEMENT_REFERENCE) == 0) { - $license->reference = getText($child); - } else { - // TODO error - } - } - return $license; -} - -?>
\ No newline at end of file diff --git a/ip_log/toc.txt b/ip_log/toc.txt deleted file mode 100644 index 9f58f64..0000000 --- a/ip_log/toc.txt +++ /dev/null @@ -1,2 +0,0 @@ -test01.xml -test02.xml
\ No newline at end of file diff --git a/overview.php b/overview.php index 6bdba18..d14b106 100644 --- a/overview.php +++ b/overview.php @@ -1,87 +1 @@ -<?php - -require_once ($_SERVER ['DOCUMENT_ROOT'] . "/eclipse.org-common/system/app.class.php"); -require_once ($_SERVER ['DOCUMENT_ROOT'] . "/eclipse.org-common/system/nav.class.php"); -require_once ($_SERVER ['DOCUMENT_ROOT'] . "/eclipse.org-common/system/menu.class.php"); -$App = new App (); -//$Nav = new Nav (); -$Nav = NULL; -$Menu = new Menu (); -include ($App->getProjectCommon ()); # All on the same line to unclutter the user's desktop' - - #***************************************************************************** - # - # - #**************************************************************************** - - # - # Begin: page-specific settings. Change these. - $pageTitle = "Orbit overview"; - $pageKeywords = "orbit, bundles, third party, code, equinox, osgi, framework, runtime"; - -// Paste your HTML content between the markers! -ob_start (); -?> - -<div id="midcolumn"> - <h1><?= $pageTitle ?></h1> - <h2>What's this all about?</h2> - <p>The Orbit project provides a repository of bundled versions of - third party libraries that are approved for use in one or more - Eclipse projects. The repository maintains current and old versions - of such libraries to facilitate current builds as well as the - rebuilding of historical output. The contents of Orbit are available - in several different forms (e.g., Update Site, download archives, - ...). As the Eclipse tooling evolves, developers will be able to - easily obtain and add supplied bunldes to their workspace or target - platform.</p> - <p>One of the key issues with bundling third-party libraries is the - inconsistency in naming, versioning and form of the resultant - bundles. Orbit eliminates duplicated work and bundle naming, - structuring and versioning variations but focusing the bundling - effort in one project.</p> - <p>Crucially, no development is carried out in this project. Teams - proposing the use of a third party library for the first time are - able to work with the community developed here and other potential - users of the library to derive an appropriate selection and - packaging of the function they need. For example, a team may start - out with "a need for Jetty". As we have seen, systems like - Jetty often include several JARs and a wide variety of - infrastructure pieces (e.g., Apache Commons Logging). In some cases - this additional function is not needed for the project's use, is - already approved and available or has special packaging needs. - Through this project the teams needing function arrive at a mutually - agreeable form of the required function.</p> - <p>It is important to note that committers on Orbit are not - responsible for doing the packaging work. That responsibility - remains with the teams seeking to use the requested library. In - short, don't open a bug report requesting that "someone bundle - Jetty version X". Open one offering to bundle Jetty version X. - Orbit acts as a hub or focal point for people with needs related to - third party libraries and those with related technical expertise.</p> - <p>The bundled libraries are retained and made available within the - project in various ways (e.g., download zip, update site, ...) for - use in the projects that have received the appropriate approvals. - Note teams seeking to use a library must still follow the IP - process. For example, the current process calls or all third party - code use to be cleared by the Foundation. So even if a library is - approved by the Foundation for use by all projects, project teams - must still fill out a Contribution Questionnaire (CQ) and notify the - Foundation of their intentions to use a library. (There is a "reuse - from Orbit" option, that makes the submission simpler than starting - from scratch). This allows the library use to be tracked and - facilitates version synchronization (e.g., stepping up to new - releases) as well as notification of issues found with approved and - previously distributed libraries.</p> - <p> </p> - -</div> - -<?php -include "global-links.html"; - -$html = ob_get_clean(); - -// Generate the web page -$App->generatePage ( $theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html ); -?> +<?php header('Location: https://download.eclipse.org/tools/orbit/'); ?> diff --git a/project-info/maillist b/project-info/maillist deleted file mode 100644 index d83d24d..0000000 --- a/project-info/maillist +++ /dev/null @@ -1 +0,0 @@ -::orbit-dev::General Orbit discussion
\ No newline at end of file diff --git a/project-info/newsgroup b/project-info/newsgroup deleted file mode 100644 index 0c52cd9..0000000 --- a/project-info/newsgroup +++ /dev/null @@ -1 +0,0 @@ -::eclipse.tools.orbit::Come here to participate in technical and general discussions about Orbit
\ No newline at end of file diff --git a/project-info/project-info.xml b/project-info/project-info.xml deleted file mode 100644 index 1cd5817..0000000 --- a/project-info/project-info.xml +++ /dev/null @@ -1,22 +0,0 @@ -<project> - <bugzilla> - <product name="Bundles"/> - </bugzilla> - <committers url="/orbit/commit.html"/> - <contributors /> - <leaders url="/orbit/team-leaders.html"/> - <cvs repository="/cvsroot/eclipse/" /> - <description paragraph-url="/orbit/project-info/project-page-paragraph.html"/> - <summary paragraph-url="/orbit/project-info/executive-summary.html"/> - <getting-started url="https://www.eclipse.org/orbit/"/> - <ip-log /> - <mailing-lists> - <list name="orbit-dev"/> - </mailing-lists> - <newsgroups> - <newsgroup name="Orbit"/> - </newsgroups> - <project-plan url="/orbit/planning/3.3.html"/> - <releases> - </releases> -</project> diff --git a/resources/index.php b/resources/index.php index 8a4c1d7..489a0bb 100644 --- a/resources/index.php +++ b/resources/index.php @@ -1,95 +1 @@ -<?php - -require_once ($_SERVER ['DOCUMENT_ROOT'] . "/eclipse.org-common/system/app.class.php"); -require_once ($_SERVER ['DOCUMENT_ROOT'] . "/eclipse.org-common/system/nav.class.php"); -require_once ($_SERVER ['DOCUMENT_ROOT'] . "/eclipse.org-common/system/menu.class.php"); -$App = new App (); -//$Nav = new Nav (); -$Nav = NULL; -$Menu = new Menu (); -include ($App->getProjectCommon ()); -$theme = "solstice"; - #***************************************************************************** - # - # - #**************************************************************************** - - # Begin: page-specific settings. Change these. - $pageTitle = "Orbit Resources"; - $pageKeywords = "orbit, bundles, code library, osgi, framework, runtime, resources"; - - # Add page-specific Nav bars here - # Format is Link text, link URL (can be http://www.someothersite.com/), target (_self, _blank), level (1, 2 or 3) - # $Nav->addNavSeparator("My Page Links", "downloads.php"); - # $Nav->addCustomNav("My Link", "mypage.php", "_self", 3); - # $Nav->addCustomNav("Google", "http://www.google.com/", "_blank", 3); - - # End: page-specific settings - - # Paste your HTML content between the markers! -ob_start (); -?> - -<div id="midcolumn"> - <h1><?= $pageTitle ?></h1> - <div class="homeitem3col"> - -<h3>Resources</h3> -<ul> - <li><a href="https://wiki.eclipse.org/index.php/Orbit">The Orbit - project Wiki</a> - <p>Wide collection of technical and policy information entered by - committers and the community.</p></li> - <li><a href="news://news.eclipse.org/eclipse.tools.orbit">Orbit Newsgroup</a> (or, newsgroup via web, <a href="https://www.eclipse.org/forums/index.php/f/84/">Orbit Forum</a>). - <p>Talk to the people using libraries in Orbit.</p></li> - <li><a href="https://dev.eclipse.org/mailman/listinfo/orbit-dev">Mailing - list</a> - <p>Talk to the people working on Orbit.</p></li> - <li><a - href="https://bugs.eclipse.org/bugs/buglist.cgi?query_format=advanced&short_desc_type=allwordssubstr&short_desc=%0F%22uct=Orbit&long_desc_type=allwordssubstr&long_desc=&bug_file_loc_type=allwordssubstr&bug_file_loc=&keywords_type=allwords&keywords=&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&emailtype1=substring&email1=&emailtype2=substring&email2=&bugidtype=include&bug_id=&votes=&chfieldfrom=&chfieldto=Now&chfieldvalue=&cmdtype=doit(%22der=Reuse%2Bsame%2Bsort%2Bas%2Blast%2Btime&field0-0-0=noop&type0-0-0=noop&value0-0-0">Bugs/Issues</a> - <p>Discover the current bugs and issues in Orbit. Note that a large - amount of the activity goes on in Bugzilla. Configure your Bugzilla - account email preferences to watch the one of the Orbit inbox users (e.g., - orbit.bundles-inbox@eclipse.org) to monitor bug activity.</p></li> - <li>The Orbit code in CVS - <p>The Orbit packages (class files, and MANIFEST.MF files we create) are - hosted in the Tools project CVS repository and is available via direct CVS - access, under the <code>org.eclipse.orbit</code> directory.</p> - <p>For direct read access, use anonymous login to the CVS repo:</p> - <blockquote> - <p>:pserver:anonymous@dev.eclipse.org/cvsroot/tools</p> - </blockquote> - <p> - The Orbit work goes on in the org.eclipse.orbit in folders appropriate for - the work being done. Please note that in general the code for a particular - version of a library is held in a <b>branch</b> of the related project. - This is done to accommodate multiple versions of the code library. You - should ensure that you check out the correct branch for your needs. - </p> - </li> - <li><a href="https://www.eclipse.org/orbit/">Website</a> - <p>The Orbit website itself is hosted in a Git repository and mirrored - on a conventional HTTP server every minute or so. This allows use of PHP, - HTML, CSS, JavaScript, etc. The site is open for editing by all Orbit - committers using:</p> - <blockquote> - <p>ssh://<committer_id>@git.eclipse.org/gitroot/www.eclipse.org/orbit.git</p> - </blockquote> - <p>You can use Eclipse to check out the whole site and then edit and - commit. Remember your changes will take a minute or so to be reflected in - the real site.</p></li> -</ul> - - </div> -</div> - -<?php - include ("../global-links.html"); -?> - -<?php - $html = ob_get_clean(); - - # Generate the web page - $App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html); -?> +<?php header('Location: https://projects.eclipse.org/projects/tools.orbit/developer'); ?> diff --git a/scripts/README b/scripts/README new file mode 100644 index 0000000..58b3fb2 --- /dev/null +++ b/scripts/README @@ -0,0 +1,3 @@ +This directory includes the scripts to generate pages like +https://download.eclipse.org/tools/orbit/downloads/drops/R20220830213456/ +which is called from releng/scripts/deploy.sh in the Orbit code repo. diff --git a/test.php b/test.php deleted file mode 100644 index 41b1f64..0000000 --- a/test.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -foreach($_GLOBALS as $variable => $value) { - echo "Variable Name: " . $variable . " Value: $value<br>"; -} - -$dir = $_GET[dir]."/"; -echo("reading dir: ".$dir."<p>"); -if (is_dir($dir)) { - if ($handle = opendir($dir)) { - while (($file = readdir($handle)) !== false) { - echo $file; - if (is_dir($dir . $file)) - echo "/"; - echo "<br>"; - } - closedir($handle); - } -} - -?>
\ No newline at end of file |