Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Williams2016-04-25 20:18:55 +0000
committerDavid Williams2016-04-25 20:18:55 +0000
commitdfeaa967879a2132ab98dfc05bd8d8c0d6867d3b (patch)
tree24da7dd048c46749dd7fd4360977d5b4982491a6 /production/sdk/miscTools
parent8c73859f8e2f17374df41fbad78b69709f6fabcc (diff)
downloadeclipse.platform.releng.aggregator-dfeaa967879a2132ab98dfc05bd8d8c0d6867d3b.tar.gz
eclipse.platform.releng.aggregator-dfeaa967879a2132ab98dfc05bd8d8c0d6867d3b.tar.xz
eclipse.platform.releng.aggregator-dfeaa967879a2132ab98dfc05bd8d8c0d6867d3b.zip
[releng] Misc cleanup and clarification
Diffstat (limited to 'production/sdk/miscTools')
-rwxr-xr-xproduction/sdk/miscTools/cptestConfigs.sh10
-rw-r--r--production/sdk/miscTools/mainDLCheck.html452
-rw-r--r--production/sdk/miscTools/proxyRelated/getBaseBuilderAndTools.xml261
-rwxr-xr-xproduction/sdk/miscTools/proxyRelated/getSettings.sh29
-rw-r--r--production/sdk/miscTools/proxyRelated/platformSpecific.properties26
-rwxr-xr-xproduction/sdk/miscTools/stripVersions.sh175
-rwxr-xr-xproduction/sdk/miscTools/syncWebFiles/pullDLSite.sh81
-rwxr-xr-xproduction/sdk/miscTools/syncWebFiles/pushDLSite.sh86
-rwxr-xr-xproduction/sdk/miscTools/utilityCronJobs/checkCronRebuilds52
-rwxr-xr-xproduction/sdk/miscTools/utilityCronJobs/cleanup.sh117
10 files changed, 0 insertions, 1289 deletions
diff --git a/production/sdk/miscTools/cptestConfigs.sh b/production/sdk/miscTools/cptestConfigs.sh
deleted file mode 100755
index f7e0cb45a..000000000
--- a/production/sdk/miscTools/cptestConfigs.sh
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/usr/bin/env bash
-# I am not sure what this is for?
-for file in drops4/*
-do
- if [[ -d $file ]]
- then
- echo "copying testConfigs.php to $file/"
- cp testConfigs.php $file/
- fi
-done
diff --git a/production/sdk/miscTools/mainDLCheck.html b/production/sdk/miscTools/mainDLCheck.html
deleted file mode 100644
index 5248881bf..000000000
--- a/production/sdk/miscTools/mainDLCheck.html
+++ /dev/null
@@ -1,452 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
- <head>
- <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
- <title>
- [Valid]
- Markup Validation of http://davidw.com/eclipse/downloads/createIndex4x.php - W3C Markup Validator</title>
- <link rel="icon" href="data:image/png,%89PNG%0D%0A%1A%0A%00%00%00%0DIHDR%00%00%00%10%00%00%00%10%08%02%00%00%00%90%91h6%00%00%00%19IDAT(%91c%0C%DD%10%C5%40%0A%60%22I%F5%A8%86Q%0DCJ%03%00dy%01%7F%0C%9F0%7D%00%00%00%00IEND%AEB%60%82" type="image/png" />
- <link rev="made" href="mailto:www-validator@w3.org" />
- <link rev="start" href="./" title="Home Page" />
- <style type="text/css" media="all">@import "./style/base";
- @import "./style/results";</style>
- <meta name="keywords" content="HTML, HyperText Markup Language, Validation,
- W3C Markup Validation Service" />
- <meta name="description" content="W3C's easy-to-use
- markup validation service, based on SGML and XML parsers." />
- </head>
- <body>
-
- <div id="banner">
- <h1 id="title">
- <a href="http://www.w3.org/"><img alt="W3C" width="110" height="61" id="logo" src="./images/w3c.png" /></a>
- <a href="./"><span>Markup Validation Service</span></a>
- </h1>
- <p id="tagline">Check the markup (HTML, XHTML, …) of Web documents</p>
- </div>
-
-
-<div id="results_container">
-
-
-
- <ul class="navbar" id="jumpbar">
- <li><strong>Jump To:</strong></li>
-
- <li><a href="#preparse_warnings">Notes and Potential Issues</a></li>
-
-
- <li><a title="Result of Validation" href="#result">Validation Output</a></li>
-
-
- <li><a title="Information on validation, Icons" href="#congrats">Congratulations &middot; Icons</a></li>
-
-
-
-
-
- </ul>
-
-<!-- valid/invalid header and revalidation table -->
-
-
- <h2 class="valid">This document was successfully checked as
- HTML5!</h2>
-
-
-
-
-
-
-
- <form id="form" method="get" action="check">
-
-
- <table class="header">
- <tr>
- <th>Result:</th>
-
- <td colspan="2" class="valid">
-
- Passed, <strong class="has_warnings">2 warning(s)</strong>
-
-
- </td>
- </tr>
- <tr>
-
-
- <th><label title="Address of Page to Validate" for="uri">Address</label>:</th>
- <td colspan="2"><input type="text" id="uri" name="uri" value="http://davidw.com/eclipse/downloads/createIndex4x.php" size="50" /></td>
-
-
- </tr>
-
-
-
- <tr>
- <th><label title="Character Encoding" for="charset">Encoding</label>:</th>
- <td>utf-8</td><td><select name="charset" id="charset">
- <option value="(detect automatically)">(detect automatically)</option>
- <option value="utf-8" >utf-8 (Unicode, worldwide)</option>
- <option value="utf-16" >utf-16 (Unicode, worldwide)</option>
- <option value="iso-8859-1" >iso-8859-1 (Western Europe)</option>
- <option value="iso-8859-2" >iso-8859-2 (Central Europe)</option>
- <option value="iso-8859-3" >iso-8859-3 (Southern Europe)</option>
- <option value="iso-8859-4" >iso-8859-4 (North European)</option>
- <option value="iso-8859-5" >iso-8859-5 (Cyrillic)</option>
- <option value="iso-8859-6-i" >iso-8859-6-i (Arabic)</option>
- <option value="iso-8859-7" >iso-8859-7 (Greek)</option>
- <option value="iso-8859-8" >iso-8859-8 (Hebrew, visual)</option>
- <option value="iso-8859-8-i" >iso-8859-8-i (Hebrew, logical)</option>
- <option value="iso-8859-9" >iso-8859-9 (Turkish)</option>
- <option value="iso-8859-10" >iso-8859-10 (Latin 6)</option>
- <option value="iso-8859-11" >iso-8859-11 (Latin/Thai)</option>
- <option value="iso-8859-13" >iso-8859-13 (Latin 7, Baltic Rim)</option>
- <option value="iso-8859-14" >iso-8859-14 (Latin 8, Celtic)</option>
- <option value="iso-8859-15" >iso-8859-15 (Latin 9)</option>
- <option value="iso-8859-16" >iso-8859-16 (Latin 10)</option>
- <option value="us-ascii" >us-ascii (basic English)</option>
- <option value="euc-jp" >euc-jp (Japanese, Unix)</option>
- <option value="shift_jis" >shift_jis (Japanese, Win/Mac)</option>
- <option value="iso-2022-jp" >iso-2022-jp (Japanese, email)</option>
- <option value="euc-kr" >euc-kr (Korean)</option>
- <option value="gb2312" >gb2312 (Chinese, simplified)</option>
- <option value="gb18030" >gb18030 (Chinese, simplified)</option>
- <option value="big5" >big5 (Chinese, traditional)</option>
- <option value="big5-HKSCS" >Big5-HKSCS (Chinese, Hong Kong)</option>
- <option value="tis-620" >tis-620 (Thai)</option>
- <option value="koi8-r" >koi8-r (Russian)</option>
- <option value="koi8-u" >koi8-u (Ukrainian)</option>
- <option value="iso-ir-111" >iso-ir-111 (Cyrillic KOI-8)</option>
- <option value="macintosh" >macintosh (MacRoman)</option>
- <option value="windows-1250" >windows-1250 (Central Europe)</option>
- <option value="windows-1251" >windows-1251 (Cyrillic)</option>
- <option value="windows-1252" >windows-1252 (Western Europe)</option>
- <option value="windows-1253" >windows-1253 (Greek)</option>
- <option value="windows-1254" >windows-1254 (Turkish)</option>
- <option value="windows-1255" >windows-1255 (Hebrew)</option>
- <option value="windows-1256" >windows-1256 (Arabic)</option>
- <option value="windows-1257" >windows-1257 (Baltic Rim)</option>
-</select>
-</td>
- </tr>
-
-
- <tr>
- <th><label for="doctype" title="Document Type">Doctype</label>:</th>
- <td>HTML5</td><td><select id="doctype" name="doctype">
- <option value="Inline">(detect automatically)</option>
- <option value="HTML5">HTML5 (experimental)</option>
- <option value="XHTML 1.0 Strict">XHTML 1.0 Strict</option>
- <option value="XHTML 1.0 Transitional" >XHTML 1.0 Transitional</option>
- <option value="XHTML 1.0 Frameset" >XHTML 1.0 Frameset</option>
- <option value="HTML 4.01 Strict" >HTML 4.01 Strict</option>
- <option value="HTML 4.01 Transitional" >HTML 4.01 Transitional</option>
- <option value="HTML 4.01 Frameset" >HTML 4.01 Frameset</option>
- <option value="HTML 4.01 + RDFa 1.1" >HTML 4.01 + RDFa 1.1</option>
- <option value="HTML 3.2" >HTML 3.2</option>
- <option value="HTML 2.0" >HTML 2.0</option>
- <option value="ISO/IEC 15445:2000 (&quot;ISO HTML&quot;)" >ISO/IEC 15445:2000 ("ISO HTML")</option>
- <option value="XHTML 1.1" >XHTML 1.1</option>
- <option value="XHTML + RDFa" >XHTML + RDFa</option>
- <option value="XHTML Basic 1.0" >XHTML Basic 1.0</option>
- <option value="XHTML Basic 1.1" >XHTML Basic 1.1</option>
- <option value="XHTML Mobile Profile 1.2" >XHTML Mobile Profile 1.2</option>
- <option value="XHTML-Print 1.0" >XHTML-Print 1.0</option>
- <option value="XHTML 1.1 plus MathML 2.0" >XHTML 1.1 plus MathML 2.0</option>
- <option value="XHTML 1.1 plus MathML 2.0 plus SVG 1.1" >XHTML 1.1 plus MathML 2.0 plus SVG 1.1</option>
- <option value="MathML 2.0" >MathML 2.0</option>
- <option value="SVG 1.0" >SVG 1.0</option>
- <option value="SVG 1.1" >SVG 1.1</option>
- <option value="SVG 1.1 Tiny" >SVG 1.1 Tiny</option>
- <option value="SVG 1.1 Basic" >SVG 1.1 Basic</option>
- <option value="SMIL 1.0" >SMIL 1.0</option>
- <option value="SMIL 2.0" >SMIL 2.0</option>
-</select>
-</td>
- </tr>
-
-
- <tr>
- <th>Root Element:</th>
- <td colspan="2">html</td>
- </tr>
-
-
-
- </table>
-
-<div id="w3c-include">
- <script type="text/javascript" src="http://www.w3.org/QA/Tools/w3c-include.js"></script>
-</div>
-
- <fieldset id="revalidate_opts">
- <legend>Options</legend>
-
- <table class="header">
- <tr>
- <td><input type="checkbox" value="1" id="ss" name="ss"
-
- /><label title="Show Page Source" for="ss">Show&nbsp;Source</label></td>
- <td><input type="checkbox" value="1" id="outline" name="outline"
-
- /><label title="Show an Outline of the document" for="outline">Show&nbsp;Outline</label></td>
- <td><input type="radio" name="group" id="group_no" value="0"
-
- checked="checked"
-
- /><label for="group_no">List Messages Sequentially</label>
- <input type="radio" name="group" id="group_yes" value="1"
-
- /><label for="group_yes">Group Error Messages by Type</label></td>
- </tr>
- <tr>
- <td><input type="checkbox" value="1" id="No200" name="No200"
-
- /><label title="Validate also pages for which the HTTP status code indicates an error" for="No200">Validate&nbsp;error&nbsp;pages</label></td>
- <td><input type="checkbox" value="1" id="verbose" name="verbose"
-
- /><label title="Show Verbose Output" for="verbose">Verbose&nbsp;Output</label></td>
- <td><input id="st" name="st" type="checkbox" value="1"
-
- /><label for="st">Clean up Markup with HTML-Tidy</label></td>
- </tr>
-
- </table>
- <p class="moreinfo">
- <a href="docs/users.html#Options">Help</a> on the options is available.
- </p>
- <div id="revalidate_button" class="submit_button">
- <input type="hidden" value="W3C_Validator/1.3 http://validator.w3.org/services" id="user-agent" name="user-agent" />
- <input type="submit" value="Revalidate" title="Validate this document again" />
- </div>
- </fieldset>
-</form>
-
-
-
-
- <div id="result">
-
-
- <h3 id="preparse_warnings">Notes and Potential Issues</h3>
-<p>The following notes and warnings highlight missing or conflicting information which caused the validator to perform some guesswork prior to validation, or other things affecting the output below. If the guess or fallback is incorrect, it could make validation results entirely incoherent. It is <em>highly recommended</em>
-to check these potential issues, and, if necessary, fix them and re-validate the document.</p>
-<ol id="warnings">
-
-
- <li class="msg_warn" id="W00">
- <p><span class="err_type"><img src="images/info_icons/info.png" alt="Info" title="Info" /></span> <span class="msg"> Using experimental feature:
- <em>HTML5 Conformance Checker</em>.</span></p>
- <p>The validator checked your document with an experimental feature:
- <em>HTML5 Conformance Checker</em>. This feature has been
- made available for your convenience, but be aware that it may be unreliable, or not perfectly
- up to date with the latest development of some cutting-edge technologies. If you find any issues
- with this feature, please <a href="feedback.html">report them</a>. Thank you.
- </p>
- </li>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-</ol><!-- End of "warnings". -->
-
-
-
-
-<h3 id="warning_loop">Validation Output: 2 Warnings
- </h3>
- <p>
- Below is a list of the warning message(s) produced when checking your document.
- </p>
-
- <ol id="error_loop">
-
- <li class="msg_warn">
- <span class="err_type"><img src="images/info_icons/warning.png" alt="Warning" title="Warning" /></span>
-
- <em>Line 235,
- Column 69</em>:
- <span class="msg">Section lacks heading. Consider using h2-h6 elements to add identifying headings to all sections.</span>
- <pre><code class="input"> &#60;section id=&#34;breadcrumb&#34; class=&#34;defaut-breadcrumbs hidden-print&#34;<strong title="Position where error was detected.">&#62;</strong></code></pre>
- <p class="helpwanted">
- <a
- href="feedback.html?uri=http%3A%2F%2Fdavidw.com%2Feclipse%2Fdownloads%2FcreateIndex4x.php;errmsg_id=html5#errormsg"
- title="Suggest improvements on this error message through our feedback channels"
- >&#x2709;</a>
- </p>
-
- </li>
-
-</ol>
-
-<p class="backtop"><a href="#jumpbar">&uarr; Top</a></p>
-
-
-
-
-<h3 id="congrats">Congratulations</h3>
- <p>
-
-
- The document located at
- &lt;<a href="http://davidw.com/eclipse/downloads/createIndex4x.php">http://davidw.com/eclipse/downloads/createIndex4x.php</a>&gt;
-
-
-
- was successfully checked as
-
- HTML5.
-
- This means that the resource in question identified itself as
- "HTML5" and that we successfully
- performed a formal validation of it.
-
-
- The parser implementations we used for this check are based on
-
-
- <a href="http://validator.nu/">validator.nu</a> (HTML5).
-
- </p>
-
-
-
-<h4>Linking to this result</h4>
- <p>
- If you would like to create a link to <em>this</em> page (i.e., this
- validation result) to make it easier to revalidate this page in the
- future or to allow others to validate your page, the URI is
- &lt;<a href="http://validator.w3.org/check?uri=http%3A%2F%2Fdavidw.com%2Feclipse%2Fdownloads%2FcreateIndex4x.php">http://validator.w3.org/check?uri=http%3A%2F%2Fdavidw.com%2Feclipse%2Fdownloads%2FcreateIndex4x.php</a>&gt;
- (or you can just add the current page to your bookmarks or hotlist).
- </p>
-
-
-<h4>Validating CSS Style Sheets</h4>
- <p>
- If you use <a href="http://www.w3.org/Style/CSS/">CSS</a> in your document,
- you can
-
-
- <a title="Validate CSS at the W3C CSS Validator"
- href="http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fdavidw.com%2Feclipse%2Fdownloads%2FcreateIndex4x.php">check
- it</a>
-
-
- using the W3C
- <a href="http://jigsaw.w3.org/css-validator/">CSS Validation Service</a>.
- </p>
-
-
-<p class="backtop"><a href="#jumpbar">&uarr; Top</a></p>
-
-</div><!-- end of "result" -->
-
-
-
-
-
-
-
-
-
-</div><!-- results_container-->
-
-<ul class="navbar" id="menu">
- <li><a href="./" accesskey="1" title="Go to the Home Page for The W3C Markup Validation Service">Home</a><span> | </span></li>
- <li><a href="./about.html" title="Information About this Service">About...</a><span> | </span></li>
-
- <li><a href="./whatsnew.html" title="The changes made to this service recently">News</a><span> | </span></li>
- <li><a href="./docs/" accesskey="3" title="Documentation for this Service">Docs</a><span> | </span></li>
- <li><a href="./docs/help.html" title="Help and answers to frequently asked questions">Help&nbsp;&amp;&nbsp;<acronym title="Frequently Asked Questions">FAQ</acronym></a><span> | </span></li>
- <li><a href="./feedback.html" accesskey="4" title="How to provide feedback on this service">Feedback</a><span> | </span></li>
- <li><a href="./contribute.html" title="How to contribute to the validator project">Contribute</a><span> | </span></li>
-</ul>
-<div id="footer">
-
- <p id="activity_logos">
- <a href="http://www.w3.org/Status" title="W3C's Open Source, bringing you free Web quality tools and more"><img src="http://www.w3.org/Icons/WWW/w3c_home_nb" alt="W3C" width="72" height="47" /><img src="./images/opensource-55x48.png" alt="Open-Source" title="We are building certified Open Source/Free Software. - see www.opensource.org" width="55" height="48" /></a>
- </p>
-
- <p id="support_logo">
- <a href="http://www.w3.org/QA/Tools/Donate">
- <img src="http://www.w3.org/QA/Tools/I_heart_validator" alt="I heart Validator logo" title=" Validators Donation Program" width="80" height="15" />
- </a>
- </p>
- <p id="version_info">
- This service runs the W3C Markup Validator, <a href="whatsnew.html#v13"><abbr title="version">v</abbr>1.3</a>.
- </p>
-
- <p class="copyright">
- <a rel="Copyright" href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> &copy; 1994-2012
- <a href="http://www.w3.org/"><acronym title="World Wide Web Consortium">W3C</acronym></a>&reg;
-
- (<a href="http://www.csail.mit.edu/"><acronym title="Massachusetts Institute of Technology">MIT</acronym></a>,
- <a href="http://www.ercim.eu/"><acronym title="European Research Consortium for Informatics and Mathematics">ERCIM</acronym></a>,
- <a href="http://www.keio.ac.jp/">Keio</a>),
- All Rights Reserved.
- W3C <a href="http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>,
- <a href="http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks">trademark</a>,
- <a rel="Copyright" href="http://www.w3.org/Consortium/Legal/copyright-documents">document use</a>
-
- and <a rel="Copyright" href="http://www.w3.org/Consortium/Legal/copyright-software">software licensing</a>
-
- rules apply. Your interactions with this site are in accordance
- with our <a href="http://www.w3.org/Consortium/Legal/privacy-statement#Public">public</a> and
- <a href="http://www.w3.org/Consortium/Legal/privacy-statement#Members">Member</a> privacy
- statements.
- </p>
-</div><!-- footer -->
- </body>
-
-</html>
-
-
-
diff --git a/production/sdk/miscTools/proxyRelated/getBaseBuilderAndTools.xml b/production/sdk/miscTools/proxyRelated/getBaseBuilderAndTools.xml
deleted file mode 100644
index 375a51c73..000000000
--- a/production/sdk/miscTools/proxyRelated/getBaseBuilderAndTools.xml
+++ /dev/null
@@ -1,261 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- A utility ant script which gets the Eclipse Platform binary from 'archive' server then uses it to
- install additional tools and utilities from several p2 repositories: from 'downloads', the 'build' machine,
- and one that is on an 'external' site, to actually test that proxies work. (The external one is a "real" project,
- so this script should not be ran so often to "stress" that site, or throw off their download statistics.)
-
- Hudson jobs (or builds) can call a script like this one from generic ant
- as one of it first build steps to get the eclipse tools or applications, such as antRunner.
--->
-<project
- name="getBaseBuilder"
- default="getBaseBuilder"
- basedir=".">
-
-
- <target
- name="init"
- unless="getBaseBuilderInitialized">
-
- <property environment="env" />
-
- <!-- this property file is optional. It's primarily used to set
- the "proxy setting preferences" for Eclpse. -->
- <property file="platformSpecific.properties" />
-
- <!-- jvm usually set in the platformSpecific.properties file, but if not, we
- will force one possibly valid value. -->
- <property
- name="jvm"
- value="/shared/common/jdk1.8.0_x64-latest/bin" />
-
-
- <condition
- property="TMP"
- value="${env.TMP_DIR}">
- <isset property="env.TMP_DIR" />
- </condition>
- <condition
- property="TMP"
- value="${TMP_DIR}">
- <isset property="TMP_DIR" />
-
- </condition>
- <condition
- property="TMP"
- value="${env.BUILD_ROOT}/tmp">
- <isset property="${env.BUILD_ROOT}" />
-
- </condition>
- <condition
- property="TMP"
- value="${BUILD_ROOT}/tmp">
- <isset property="${BUILD_ROOT}" />
- </condition>
-
- <property
- name="TMP"
- value="${basedir}/tmp" />
-
- <fail
- unless="TMP"
- message="TMP not defined, since TMP_DIR nor BUILD_ROOT was defined" />
- <echo message="TMP: ${TMP}" />
-
- <mkdir dir="${TMP}" />
-
- <condition
- property="downloadHost"
- value="${env.DOWNLOAD_HOST}"
- else="archive.eclipse.org">
- <isset property="env.DOWNLOAD_HOST" />
- </condition>
- <!--
- TODO: need make platform independent, as in test.xml, to compute right one.
- (and, pass in?)
- (and make "version" variable)
- -->
- <property
- name="platformURL"
- value="http://${downloadHost}/eclipse/downloads/drops4/R-4.5.2-201602121500" />
- <!--
- We used to use binary platform, since smaller, but moved to SDK, to be able to use API Tools.
- But then moved back to Platform, after having some cases where we need to pick up new fixes from
- API tools.
- -->
- <property
- name="platformFile"
- value="eclipse-platform-4.5.2-linux-gtk-x86_64.tar.gz" />
-
- <property
- name="eclipserun-repo"
- value="http://download.eclipse.org/eclipse/updates/4.5/R-4.5.2-201602121500" />
- <echo message="eclipserun-repo: ${eclipserun-repo}" />
-
- <property
- name="apiTools.repository"
- value="${eclipserun-repo}" />
- <property
- name="apiTools.iu"
- value="org.eclipse.pde.api.tools" />
- <!-- since we specify specific repo for api tools, we can leave version to "hightest" -->
- <property
- name="apiTools.iu.version"
- value="" />
-
- <property
- name="buildTools.repository"
- value="http://build.eclipse.org/eclipse/buildtools/" />
- <property
- name="buildTools.feature"
- value="org.eclipse.releng.build.tools.feature.feature.group" />
- <!-- Here, even though not specific repo, we always want the "latest". But, if that ever changes,
- we can specify a concrete version here.
- -->
- <property
- name="buildTools.feature.version"
- value="" />
-
- <property
- name="buildTools.derby.feature"
- value="org.apache.derby.core.feature.feature.group" />
- <property
- name="buildTools.derby.feature.version"
- value="" />
-
- <property
- name="webtools.repository"
- value="http://download.eclipse.org/webtools/releng/repository/" />
- <property
- name="webtools.feature"
- value="org.eclipse.wtp.releng.tools.feature.feature.group" />
- <property
- name="webtools.feature.version"
- value="1.2.0.v201102200505-21-7w312213311616" />
-
- <!-- Have included this "external" site, just to give a true
- test of the proxies themselves. I got this site from "marketplace"
- and because this is a "real" project for someone, we should not
- overuse the "test" aspect, or will throw off their numbers.
- If it is ever desired to "run this test" ever day, or similar,
- then a better "test site" should be found or created. -->
- <property
- name="external.repository"
- value=" http://fabrizioiannetti.github.io/p2/" />
- <property
- name="external.feature"
- value="com.github.fabeclipse.textedgrep_feature.feature.group" />
- <property
- name="external.feature.version"
- value="" />
-
- <!-- assign default WORKSPACE if not on hudson, for local testing if nothing else -->
- <property
- name="WORKSPACE"
- value="${basedir}" />
- <echo message="WORKSPACE: ${WORKSPACE}" />
-
- <!--
- The desired folder name (made to stay consistent with history.
- -->
- <property
- name="folderName"
- value="org.eclipse.releng.basebuilder" />
-
- <property
- name="getBaseBuilderInitialized"
- value="true" />
- </target>
-
-
- <target
- name="getBaseBuilder"
- depends="init">
- <!-- remove old one, if there, and make sure one exists for eventual checkout/copy/globmapper -->
- <delete dir="${WORKSPACE}/${folderName}" />
- <mkdir dir="${WORKSPACE}/${folderName}" />
- <antcall target="fetchBasePlatform" />
- </target>
-
- <target
- name="fetchBasePlatform"
- depends="init"
- if="platformURL">
- <get
- dest="${TMP}/${platformFile}"
- src="${platformURL}/${platformFile}"
- usetimestamp="true" />
- <!-- untar is broken in Ant 1.9.4. See https://bz.apache.org/bugzilla/show_bug.cgi?id=56641
- <untar
- compression="gzip"
- src="${TMP}/${platformFile}"
- dest="${TMP}">
- </untar>
- -->
- <exec
- executable="/bin/tar"
- dir="${TMP}">
- <arg value="-xf" />
- <arg value="${TMP}/${platformFile}" />
- </exec>
-
- <chmod perm="ugo+x">
- <fileset dir="${TMP}/eclipse">
- <include name="eclipse" />
- <include name="*.so*" />
- </fileset>
- </chmod>
-
- <antcall target="installSettings" />
-
- <exec
- dir="${TMP}/eclipse"
- failonerror="true"
- executable="${TMP}/eclipse/eclipse">
- <arg value="-nosplash" />
- <arg value="-debug" />
- <arg value="-consolelog" />
- <arg value="-data" />
- <arg value="${WORKSPACE}/workspace-toolsinstall" />
- <arg value="-application" />
- <arg value="org.eclipse.equinox.p2.director" />
- <arg value="-repository" />
- <arg value="${eclipserun-repo},${buildTools.repository},${webtools.repository},${external.repository}" />
- <arg value="-installIU" />
- <arg
- value="${apiTools.iu}/${apiTools.iu.version},${buildTools.feature}/${buildTools.feature.version},${webtools.feature}/${webtools.feature.version},${buildTools.derby.feature}/${buildTools.derby.feature.version},${external.feature}/${external.feature.version}" />
- <arg value="-vm" />
- <arg value="${jvm}" />
- <!-- vmargs must come last -->
- <arg value="-vmargs" />
- <arg value="-Djava.io.tmpdir=${TMP}" />
- </exec>
-
- <!-- we "move" so the directory structure so it flat under basebuilder ...
- for compatibility to very old code/scripts -->
- <move todir="${WORKSPACE}/${folderName}">
- <fileset dir="${TMP}/eclipse/" />
- </move>
-
- <echo
- message="platform and tools installed. platformURL: ${platformURL} platform: ${platformFile}, fetched using getBaseBuilderAndTools.xml" />
-
- <echo message="The following were the properties in effect:" />
- <echoproperties />
- </target>
-
- <target
- name="installSettings"
- if="org.eclipse.core.net.prefs">
- <property
- name="settingsDir"
- value="org.eclipse.releng.basebuilder/configuration/.settings" />
-
- <mkdir dir="${settingsDir}" />
- <echo
- message="${org.eclipse.core.net.prefs}"
- file="${settingsDir}/org.eclipse.core.net.prefs" />
- </target>
-
-</project>
diff --git a/production/sdk/miscTools/proxyRelated/getSettings.sh b/production/sdk/miscTools/proxyRelated/getSettings.sh
deleted file mode 100755
index 3ced0d849..000000000
--- a/production/sdk/miscTools/proxyRelated/getSettings.sh
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env bash
-
-function getconf ()
-{
- key=$1
- if [[ -n "${key}" ]]
- then
- value=$(gconftool-2 --get "${key}")
- echo -e "${key} \t\t${value}"
- fi
-}
-
-getconf /system/http_proxy/use_http_proxy
-getconf /system/http_proxy/use_authentication
-getconf /system/http_proxy/host
-getconf /system/http_proxy/authentication_user
-getconf /system/http_proxy/authentication_password
-getconf /system/http_proxy/port
-getconf /system/proxy/socks_host
-getconf /system/proxy/mode
-getconf /system/proxy/ftp_host
-getconf /system/proxy/secure_host
-getconf /system/proxy/socks_port
-getconf /system/proxy/ftp_port
-getconf /system/proxy/secure_port
-getconf /system/proxy/no_proxy_for
-getconf /system/proxy/gopher_host
-getconf /system/proxy/gopher_port
-
diff --git a/production/sdk/miscTools/proxyRelated/platformSpecific.properties b/production/sdk/miscTools/proxyRelated/platformSpecific.properties
deleted file mode 100644
index 0ba80620d..000000000
--- a/production/sdk/miscTools/proxyRelated/platformSpecific.properties
+++ /dev/null
@@ -1,26 +0,0 @@
-
-# This properties file contains items that are specific to the platform being tested,
-# Typically includes items dependent on exact OS, architecture, and location of files.
-
-# This is the VM to use to run the tests, if one prefers
-# to use a different one from the one that stared the whole process.
-jvm=/shared/common/jdk1.8.0_x64-latest/bin/
-
-# This value gets written to the "preference file", named org.eclipse.core.net.prefs.
-# We implement as a property string, since eventually we may test multiple proxy settings.
-# These listed here are for tests running on build.eclipse.org, to access files outside
-# eclipse.org infrastructure.
-# was: 172.30.206.*
-org.eclipse.core.net.prefs=\
-eclipse.preferences.version=1\n\
-org.eclipse.core.net.hasMigrated=true\n\
-proxiesEnabled=true\n\
-systemProxiesEnabled=true\n\
-nonProxiedHosts=*.eclipse.org\n\
-proxyData/HTTP/hasAuth=false\n\
-proxyData/HTTP/host=proxy.eclipse.org\n\
-proxyData/HTTP/port=9898\n\
-proxyData/HTTPS/hasAuth=false\n\
-proxyData/HTTPS/host=proxy.eclipse.org\n\
-proxyData/HTTPS/port=9898\n
-
diff --git a/production/sdk/miscTools/stripVersions.sh b/production/sdk/miscTools/stripVersions.sh
deleted file mode 100755
index cd1d40c6c..000000000
--- a/production/sdk/miscTools/stripVersions.sh
+++ /dev/null
@@ -1,175 +0,0 @@
-#!/usr/bin/env bash
-
-# Utility bash script to "strip" buildIds and version numbers out of directories and
-# bundles names, in order to make it more meaningful to compare two "installs",
-# or repositories.
-# It also "unzips" any bundled jars, so subsequent "diff" commands will be
-# comparing files to files.
-
-# It allows "directory" to be passed in on command line, which should the the directory
-# that contains both "plugins" and "features" directories. Contents of those
-# two directories will be "stripped".
-# It leaves given input unchanged, but puts results in subdirectories of features and
-# plugins, named "stripped".
-
-OUTPUT_DIR_SEGMENT="stripped"
-DEBUG_PARSE="true"
-DEBUG_VERBOSE_FILE_OPS="false"
-# DEBUG function is used in abbreviated form.
-# return 0 to have debug statements printed.
-# non-zero (1) to not print debug statements
-function DEBUG
-{
- return 1;
-}
-function VERBOSE
-{
- return 1;
-}
-
-DIRNAME=$1
-
-if [[ -z "${DIRNAME}" ]]
-then
- DIRNAME="${PWD}"
- echo -e "\n\tDirectory not specified on command line, assuming current directory of"
- echo -e "\t${DIRNAME}\n"
-else
- echo -e "\n\tDirectory specified on command line:"
- echo -e "\t${DIRNAME}\n"
-fi
-
-if [[ ! "${DIRNAME:0:1}" = "/" ]]
-then
- printf "\n\t%s %s\n\t%s\n\t%s\n" "DIRNAME argument, " "${DIRNAME}, " "was not absolute, so assuming it is a child of current working directory, " "${PWD}."
- DIRNAME="${PWD}/${DIRNAME}"
-fi
-PLUGINS_DIR="${DIRNAME}/plugins"
-FEATURES_DIR="${DIRNAME}/features"
-
-if [[ ! -e "${PLUGINS_DIR}" || ! -e "${FEATURES_DIR}" ]]
-then
- echo -e "\n\tERROR: 'plugins' or 'features' directory (or both) did not exist under DIRNAME."
- echo -e "\n\t\tPlease check DIRNAME and re-enter."
- echo -e "\n\t\tDIRNAME: \t${DIRNAME}"
- exit 1
-fi
-
-function cleanStripped ()
-{
- printf "\n\t%s\n" "Removing any existing directories named '${OUTPUT_DIR_SEGMENT}'; assuming left over from previous runs."
- find $WORK_DIR -name ${OUTPUT_DIR_SEGMENT} -type d -exec rm -fr '{}' \;
-}
-
-function processDirectory ()
-{
-
- WORK_DIR=$1
- if [[ ! -e "${WORK_DIR}" ]]
- then
- echo -e "\n\tPROGRAM ERROR: WORK_DIR did not exist, even after earlier checking?\n"
- exit 1
- fi
-
- OUTPUTDIR="${WORK_DIR}/${OUTPUT_DIR_SEGMENT}"
- mkdir -p "${OUTPUTDIR}"
- DEBUG && echo "DEBUG: OUTPUTDIR: ${OUTPUTDIR}"
- VERSION_PATTERN="(([[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+)(\.{1}([0-9A-Za-z_\-]+){1})?)"
- NAME_PATTERN="^.*/(.*)_${VERSION_PATTERN}(\.jar)?$"
-
- for filename in ${WORK_DIR}/*
- do
- # no sense checking the literal WORK_DIR itself,
- # just to avoid noise in log.
- if [[ "${filename}" == "${OUTPUTDIR}" ]]
- then
- continue
- fi
- OLDFILENAME="$filename"
- DEBUG && echo -e "DEBUG: Starting loop with ${OLDFILENAME}"
- if [[ "${OLDFILENAME}" =~ $NAME_PATTERN ]]
- then
- if [[ "${DEBUG_PARSE}" == "true" ]]
- then
- printf "\n%s\n" "MATCH"
- printf "\t%s\n" "${OLDFILENAME}"
- #printf "\t%s\n\n" "${BASH_REMATCH[@]}"
- for ((i=1; i < ${#BASH_REMATCH[*]}; i++))
- do
- printf "%u \t%s\n" ${i} "${BASH_REMATCH[${i}]}"
- done
- fi
- NEWFILENAME="${BASH_REMATCH[1]}${BASH_REMATCH[7]}"
- NEWFILEBASENAME=$NEWFILENAME
- if [[ "${NEWFILEBASENAME}" =~ ^(.*)\.jar ]]
- then
- NEWFILEBASENAME="${BASH_REMATCH[1]}"
- fi
- NEWSTRIPPEDDIR="${OUTPUTDIR}/${NEWFILEBASENAME}"
- DEBUG && echo -e "DEBUG: will copy or unzip \n\t${OLDFILENAME} to \n\t${NEWSTRIPPEDDIR}"
- if [[ -d ${OLDFILENAME} && ! -L "${OLDFILENAME}" ]]
- then
- DEBUG && echo "DEBUG: OLDFILENAME is a directory: ${OLDFILENAME}"
- mkdir -p "${NEWSTRIPPEDDIR}"
- DEBUG && echo "DEBUG: Made dir ${NEWSTRIPPEDDIR}"
- R_VERBOSE=
- if [[ "${DEBUG_VERBOSE_FILE_OPS}" == "true" ]]
- then
- R_VERBOSE="-v"
- fi
- VERBOSE && printf "\n\t%s\n\t%s\n\t%s\n\t%s\n" "copying" "${OLDFILENAME}" "to" "${NEWSTRIPPEDDIR}"
- #remember, no quotes around options!
- rsync -r --safe-links ${R_VERBOSE} "${OLDFILENAME}/" "${NEWSTRIPPEDDIR}/"
- RC=$?
- if [[ ! $RC == 0 ]]
- then
- echo -e "[ERROR] Return from rsync was non-zero.RC: $RC"
- fi
- elif [[ -f "${OLDFILENAME}" ]]
- then
- DEBUG && echo "DEBUG: OLDFILENAME is a file: ${OLDFILENAME}"
- # TODO: To handle "multiples", such as org.eclipse.jdt.annotations,
- # and remember, in some repos, may be multiples that differ only in
- # suffix, we will add arbitrary "__1", "__2", etc., based on the order
- # encountered on file system. (We limit it to "10" duplicates, since
- # more than 3 or 5 is highly unlikely, and a sign of an error if there
- # are more than that.
- MULTIPLES_SUFFIX=1
- if [[ -e "${NEWSTRIPPEDDIR}" ]]
- then
- MULTIPLES_SUFFIX=1
- NEWSTRIPPEDDIR_SUFFIXED=${NEWSTRIPPEDDIR}__${MULTIPLES_SUFFIX}
- while [[ -e "${NEWSTRIPPEDDIR_SUFFIXED}" && ${MULTIPLES_SUFFIX} -lt 10 ]]
- do
- ((MULTIPLES_SUFFIX++))
- DEBUG && echo "DEBUG: MULTIPLLES_SUFFIX INCREMENTED: ${MULTIPLES_SUFFIX}"
- NEWSTRIPPEDDIR_SUFFIXED=${NEWSTRIPPEDDIR}__${MULTIPLES_SUFFIX}
- done
- NEWSTRIPPEDDIR=$NEWSTRIPPEDDIR_SUFFIXED
- fi
- Z_VERBOSE=
- if [[ ! "${DEBUG_VERBOSE_FILE_OPS}" == "true" ]]
- then
- Z_VERBOSE="-q"
- fi
- VERBOSE && printf "\n\t%s\n\t%s\n\t%s\n\t%s\n" "unzipping" "${OLDFILENAME}" "to" "${NEWSTRIPPEDDIR}"
- unzip ${Z_VERBOSE} -n "${OLDFILENAME}" -d "${NEWSTRIPPEDDIR}"
- else
- echo -e "A matching pattern was neither a file, nor a directory?!\n"
- fi
- else
- if [[ "${DEBUG_PARSE}" == "true" ]]
- then
- echo -e "\nNO MATCH\n"
- echo -e "${OLDFILENAME}\n did not match pattern of \n${NAME_PATTERN}\n"
- fi
- fi
- done
-}
-
-
-# remove earlier versions of "stripped" directories
-cleanStripped
-
-processDirectory "${PLUGINS_DIR}"
-processDirectory "${FEATURES_DIR}"
diff --git a/production/sdk/miscTools/syncWebFiles/pullDLSite.sh b/production/sdk/miscTools/syncWebFiles/pullDLSite.sh
deleted file mode 100755
index 7896b8567..000000000
--- a/production/sdk/miscTools/syncWebFiles/pullDLSite.sh
+++ /dev/null
@@ -1,81 +0,0 @@
-#!/usr/bin/env bash
-
-function usage ()
-{
- printf "\n\t%s\n" "This utlity is to pull web files (but not drop artifacts) down to client machine, for local testing."
- printf "\t%s\n" "Care is needed since it can delete files on client, for the goal of making contents equal."
- printf "\t%s\n" "Thus, at least one parameter is needed: -f or -s; for 'full' or 'synchronize'"
- printf "\t\t%s\t%s\n" "-f" "Does a full copy from remote host to local client".
- printf "\t\t%s\t%s\n" "-s" "Copies files from remote host to local client, but also deletes files on client, that are not on host."
- printf "\t\t%s\t%s\n" "-r" "All operations are 'dry-runs' unless '-r' ('run') is specified."
-}
-
-doit="--dry-run"
-verbose=""
-delete=""
-trailing=""
-full=""
-sync=""
-while getopts 'fsrvh' OPTION
-do
- case $OPTION in
- h) usage
- exit 1
- ;;
- f) delete=""
- full="true"
- ;;
- s) delete="--delete"
- sync="true"
- ;;
- v) verbose="--verbose"
- ;;
- r) doit=""
- ;;
- # ?) usage
- # exit 2
- # ;;
- esac
-done
-
-# We do not currently use trailing arguments,
-# but for safety/sanity checks, issue "error" if found.
-shift $(($OPTIND - 1))
-trailing="$@"
-
-if [[ -n "${trailing}" ]]
-then
- printf "\n\tERROR: \t%s\n" "Unexpected trailing arguments were found, so exiting."
- usage
- exit 1
-fi
-
-# if BOTH f and s specified, it is an error.
-# if NEITHER f nor s is specified, it is a "no op", but we can treat as a "--dry-run" of full copy?
-
-if [[ "${full}" == "true" && "${sync}" == "true" ]]
-then
- printf "\n\tERROR: \t%s\n" "Both full and sync were specified."
- usage
- exit 1
-fi
-
-if [[ -z "${full}" && -z "${sync}" && -z "${doit}" ]]
-then
- printf "\n\tERROR: \t%s\n" "Neither full nor sync were specified, but 'run' was."
- usage
- exit 1
-fi
-
-# we exclude 'index.html' since that is a "derived" file, and is specific to what is in "drop directories".
-# we excldue the drop directories since they can be massive, and do not need them to do web development.
-rsync ${doit} ${verbose} ${delete} -P -e ssh -a --eclude index.html --exclude **/downloads/drops4/** --exclude **/downloads/drops/** build:~/downloads/eclipse/downloads .
-
-if [[ -z $full && -z $sync ]]
-then
- printf "\n\tWARNING: \t%s\n" "Neither full nor sync were specified, so symply did full (dry-run) list of what would be copied."
- usage
- exit 0
-fi
-
-
diff --git a/production/sdk/miscTools/syncWebFiles/pushDLSite.sh b/production/sdk/miscTools/syncWebFiles/pushDLSite.sh
deleted file mode 100755
index b8b936df9..000000000
--- a/production/sdk/miscTools/syncWebFiles/pushDLSite.sh
+++ /dev/null
@@ -1,86 +0,0 @@
-#!/usr/bin/env bash
-
-function usage ()
-{
- printf "\n\t%s\n" "This utlity is to push web files (but not drop artifacts) up host machine, after local testing and development."
- printf "\t%s\n" "Care is needed since it can delete files on host, for the goal of making contents equal."
- printf "\t%s\n" "Thus, at least one parameter is needed: -f or -s; for 'full' or 'synchronize'"
- printf "\t%s\n" "-f (full) should be rarely needed; only when just getting started, or similar."
- printf "\t\t%s\t%s\n" "-f" "Does a full copy from remote host to local client".
- printf "\t\t%s\t%s\n" "-s" "Copies files from remote host to local client, but also deletes files on client, that are not on host."
- printf "\t\t%s\t%s\n" "-r" "All operations are 'dry-runs' unless '-r' ('run') is specified."
- printf "\t\t%s\t%s\n" "-v" "verbose output."
- printf "\t\t%s\t%s\n" "-h" "Displays this 'usage' information."
-
-}
-
-doit="--dry-run"
-verbose=""
-delete=""
-trailing=""
-full=""
-sync=""
-while getopts 'fsrvh' OPTION
-do
- case $OPTION in
- h) usage
- exit 1
- ;;
- f) delete=""
- full="true"
- ;;
- s) delete="--delete"
- sync="true"
- ;;
- v) verbose="--verbose"
- ;;
- r) doit=""
- ;;
- # ?) usage
- # exit 2
- # ;;
- esac
-done
-
-# We do not currently use trailing arguments,
-# but for safety/sanity checks, issue "error" if found.
-shift $(($OPTIND - 1))
-trailing="$@"
-
-if [[ -n "${trailing}" ]]
-then
- printf "\n\tERROR: \t%s\n" "Unexpected trailing arguments were found, so exiting."
- usage
- exit 1
-fi
-
-# if BOTH f and s specified, it is an error.
-# if NEITHER f nor s is specified, it is a "no op", but we can treat as a "--dry-run" of full copy?
-
-if [[ "${full}" == "true" && "${sync}" == "true" ]]
-then
- printf "\n\tERROR: \t%s\n" "Both full and sync were specified."
- usage
- exit 1
-fi
-
-if [[ -z "${full}" && -z "${sync}" && -z "${doit}" ]]
-then
- printf "\n\tERROR: \t%s\n" "Neither full nor sync were specified, but 'run' was."
- usage
- exit 1
-fi
-
-# we exclude 'index.html' since that is a "derived" file, and is specific to what is in "drop directories".
-# we excldue the drop directories since they can be massive, and do not need them to do web development.
-# repeating --itemize-changes is intentional, and causes unchanged files to also be listed.
-rsync ${doit} ${verbose} ${delete} --itemize-changes --itemize-changes -P -e ssh -a --exclude /index.html --exclude /drops4/ ./downloads/ build:~/downloads/eclipse/downloads/
-
-if [[ -z $full && -z $sync ]]
-then
- printf "\n\tWARNING: \t%s\n" "Neither full nor sync were specified, so symply did full (dry-run) list of what would be copied."
- usage
- exit 0
-fi
-
-
diff --git a/production/sdk/miscTools/utilityCronJobs/checkCronRebuilds b/production/sdk/miscTools/utilityCronJobs/checkCronRebuilds
deleted file mode 100755
index 8d1978524..000000000
--- a/production/sdk/miscTools/utilityCronJobs/checkCronRebuilds
+++ /dev/null
@@ -1,52 +0,0 @@
-#!/usr/bin/env bash
-
-# simply utility to show, and save current cronjobs
-#
-# not a bad idea to save a complete copy before making
-# changes
-
-# must be run from "current user id
-
-OUTPUTDIR=/opt/buildhomes/e4Build/cronjobs
-
-timestamp=$( date +%Y%m%d-%H%M )
-outfilename=${OUTPUTDIR}/crontab-${timestamp}.txt
-crontab -l > $outfilename
-
-# following line if for interactive jobs.
-#printf "\n\tlisting of crontab saved to %s \n\n" ${outfilename}
-
-# check for "rebuilds" that are still enabled, and if found, send
-# an eamil. Since we are running from a cronjob, we'll set it's
-# email parametes to send to right person "on error" (which
-# includes anything written to stderr.
-
-# this depends on certain conventions, such as using the comment
-# of '# rebuilds' immediately before an entry to do the job.
-# So, if the line following '# rebuilds' begins with blank for # we
-# can assume "ok". If that line begins with a digit, then it is
-# still scheduled, when it probably should not be.
-
-rebuildPattern="^# rebuild"
-okPattern="^#"
-notOkPattern="^[ \t]*[0-9\*]+"
-while read LINE
-do
-
-if [[ "${LINE}" =~ $rebuildPattern ]]
-then
-# echo "DEBUG: $LINE"
- read NEXTLINE
-# echo "DEBUG: $NEXTLINE"
- if [[ "${NEXTLINE}" =~ $notOkPattern ]]
- then
- printf "%s\n" "A rebuild job appears to still be scheduled. Please comment it out unless still needed." >&2
- printf "%s\n" "For $USER on $HOSTNAME, see " >&2
- printf "%s\n" "$outfilename" >&2
- printf "%s\n" "Such as, the following (may be more than one on system)." >&2
- printf "%s\n" "$NEXTLINE" >&2
- exit 1
- fi
-fi
-done < "$outfilename"
-exit 0
diff --git a/production/sdk/miscTools/utilityCronJobs/cleanup.sh b/production/sdk/miscTools/utilityCronJobs/cleanup.sh
deleted file mode 100755
index bbb30e122..000000000
--- a/production/sdk/miscTools/utilityCronJobs/cleanup.sh
+++ /dev/null
@@ -1,117 +0,0 @@
-#!/bin/bash
-
-#*******************************************************************************
-# Copyright (c) 2011 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
-#*******************************************************************************
-
-baseBuilder=/shared/eclipse/e4/build/e4/org.eclipse.releng.basebuilder
-launcherJar=$( find $baseBuilder/ -name "org.eclipse.equinox.launcher_*.jar" | sort | head -1 )
-java=/shared/common/jdk-1.5.0-22.x86_64/jre/bin/java
-
-remoteBase=/home/data/httpd/download.eclipse.org
-
-e4Builds=/shared/eclipse/e4/build/e4/downloads/drops/4.0.0
-sdkBuilds=/shared/eclipse/e4/build/e4/downloads/drops/4.0.0/40builds
-orionBuilds=/shared/eclipse/e4/orion
-
-generateCleanupXML() {
- dash=""
- if [ ! -z "$1" ]; then
- dash=$1
- fi
-
- cat > cleanupScript.xml << "EOF"
-<project>
- <target name="cleanup">
- <p2.composite.repository destination="file:${compositeRepo}">
- <remove>
-EOF
- for f in $builds; do
- d=${f:0:9}
- t=${f:9}
- echo " <repository location=\"$d$dash$t\" />" >> cleanupScript.xml
- done
-cat >> cleanupScript.xml << "EOF"
- </remove>
- </p2.composite.repository>
- </target>
-</project>
-EOF
-
-}
-
-clean() {
- project=$1
- prefix=$2
- compositeRepo=$3
-
- user=pwebster
- drops=drops
- createIndex=createIndex.php
- case "$project" in
- "e4")
- buildDir=$e4Builds
- p2RepoRoot=e4/updates
- urlFragment=e4/downloads;;
- "sdk")
- buildDir=$sdkBuilds
- p2RepoRoot=eclipse/updates
- drops=drops4
- createIndex=createIndex4x.php
- urlFragment=eclipse/downloads;;
- "orion")
- buildDir=$orionBuilds
- user=aniefer
- p2RepoRoot=orion/updates
- urlFragment=orion;;
- esac
-
- pushd $buildDir
-
- builds=$( ls --format=single-column -d $prefix* | sort | head -n-3 )
-
- if [[ ! -z $builds ]]; then
- #remove from p2 composite repository
- generateCleanupXML
- $java -jar $launcherJar -data "/opt/buildhomes/e4Build/cleanupworkspaces/workspace-cleanup" -application org.eclipse.ant.core.antRunner -f cleanupScript.xml cleanup -DcompositeRepo=$compositeRepo
-
- for f in $builds; do
- rm -rf $f #delete from build directory
- ssh $user@build.eclipse.org rm -rf $remoteBase/$urlFragment/$drops/$f #delete from dev.eclipse.org drops
- rm -rf $compositeRepo/$f #delete from composite repo
-
- case "$project" in
- "e4")
- rm -rf targets/$f targets/$f-p2;;
- "sdk")
- rm -rf /shared/eclipse/e4/sdk/$f $sdkBuilds/targets/helios-repo-$f;;
- "orion")
- d=${f:0:9}
- t=${f:9}
- rm -rf tests/$d-$t $compositeRepo/$d-$t;;
- esac
- done
-
- #update website index and rsync the repo
- if [[ $project != "orion" ]]; then
- wget -O index.txt http://download.eclipse.org/$urlFragment/$createIndex
- scp index.txt $user@build.eclipse.org:$remoteBase/$urlFragment/index.html
- rm index.txt
- fi
- rsync --delete --recursive $compositeRepo $user@build.eclipse.org:$remoteBase/$p2RepoRoot
- fi
- popd
-}
-
-clean e4 I $e4Builds/targets/updates/0.12-I-builds
-clean e4 M $e4Builds/targets/updates/0.11-I-builds
-clean sdk I $e4Builds/targets/updates/4.2-I-builds
-clean sdk M $e4Builds/targets/updates/4.1-I-builds
-clean orion I $orionBuilds/target/integration

Back to the top