Add RTSC basic homepage
diff --git a/_projectCommon.php b/_projectCommon.php
new file mode 100644
index 0000000..db08ad3
--- /dev/null
+++ b/_projectCommon.php
@@ -0,0 +1,138 @@
+<?php
+
+# <modeling variables>
+$PR = "dsdp/rtsc";
+$projectName = "RTSC";
+
+$isEMFserver = (preg_match("/^emf(?:\.torolab\.ibm\.com)$/", $_SERVER["SERVER_NAME"]));
+$isBuildServer = (preg_match("/^(dsdp|build)\.eclipse\.org$/", $_SERVER["SERVER_NAME"])) || $isEMFserver;
+$isBuildDotEclipseServer = $_SERVER["SERVER_NAME"] == "build.eclipse.org";
+$isWWWserver = (preg_match("/^(?:www.|)eclipse.org$/", $_SERVER["SERVER_NAME"]));
+$isEclipseCluster = (preg_match("/^(?:www.||download.|download1.|build.)eclipse.org$/", $_SERVER["SERVER_NAME"]));
+$debug = (isset ($_GET["debug"]) && preg_match("/^\d+$/", $_GET["debug"]) ? $_GET["debug"] : -1);
+$writableRoot = ($isBuildServer ? $_SERVER["DOCUMENT_ROOT"] . "/dsdp/includes/" : "/home/data/httpd/writable/dsdp/");
+$writableBuildRoot = $isBuildDotEclipseServer ? "/opt/public/dsdp" : "/home/www-data";
+
+$rooturl = "http://" . $_SERVER["HTTP_HOST"] . "/$PR";
+$downurl = ($isBuildServer ? "" : "http://www.eclipse.org");
+$bugurl = "https://bugs.eclipse.org";
+
+# Set the theme for your project's web pages.
+# See the Committer Tools "How Do I" for list of themes
+# https://dev.eclipse.org/committers/
+# Optional: defaults to system theme 
+#$theme = "Lazarus";
+if (isset ($_GET["skin"]) && preg_match("/^(Blue|EclipseStandard|Industrial|Lazarus|Miasma|Modern|OldStyle|Phoenix|PhoenixTest|PlainText)$/", $_GET["skin"], $regs))
+{
+	$theme = $regs[1];
+}
+else
+{
+	$theme = "Lazarus";
+}
+
+/* projects/components in cvs */
+/* "proj" => "cvsname" */
+#$cvsprojs = array (); /* should always be empty */
+$cvsprojs = array (
+	"rse" => "org.eclipse.tm.rse"
+);
+
+/* sub-projects/components in cvs for projects/components above (if any) */
+/* "cvsname" => array("shortname" => "cvs-subname") */
+$cvscoms = array(
+	"org.eclipse.tm.core" => array (
+		"terminal" => "terminal",
+		"discovery" => "discovery"
+		/* add more here */
+	)
+);
+
+/* Readable Project names: "bugzilla component" => "shortname" */
+$projects = array(
+	"RSE" => "rse",
+	#"TCF" => "tcf",
+	"Terminal" => "terminal",
+	#"Core" => "discovery",
+);
+
+$bugcoms = array_flip($projects);
+$bugcoms = preg_replace("/ /", "%20", $bugcoms);
+
+$extraprojects = array(); //components with only downloads, no info yet, "prettyname" => "directory"
+$nodownloads = array("coordinated","jcrm","temporality", "emf4net"); //components with only information, no downloads, or no builds available yet, "projectkey"
+$nonewsgroup = array(); //components without newsgroup
+$nomailinglist = array(); //components without mailinglist
+#$incubating = $projects; // ALL components are incubating
+$incubating = array("tcf"); //Only TCF is incubating for now
+$hasmoved = array(
+	"query" => "emf", "transaction" => "emf", "validation" => "emf",
+	"eodm" => "mdt", "ocl" => "mdt",
+	"jet" => "m2t", "jeteditor" => "m2t"); // components which have moved, and to where
+$nomenclature = "Component"; //are we dealing with "components" or "projects"?
+
+include_once $_SERVER["DOCUMENT_ROOT"] . "/dsdp/includes/scripts.php";
+
+$regs = null;
+$proj = (isset($_GET["project"]) && preg_match("/^(" . join("|", $projects) . ")$/", $_GET["project"], $regs) ? $regs[1] : getProjectFromPath($PR));
+$projct= preg_replace("#^/#", "", $proj);
+
+$buildtypes = array(
+	"R" => "Release",
+	"S" => "Stable",
+	"I" => "Integration",
+	"M" => "Maintenance",
+	"N" => "Nightly"
+);
+# </modeling variables>
+
+	# 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)
+	# these are optional
+	#$Nav->addNavSeparator("Target Management", 	"/dsdp/tm/index.php");
+	#$Nav->addCustomNav("About", 		"/dsdp/tm/about.php", 	 "_self", 2);
+	#$Nav->addCustomNav("Downloads", 	"/dsdp/tm/downloads.php", "_self", 2);
+	#$Nav->addCustomNav("Getting Started", "/dsdp/tm/tutorial/index.php",  "_self", 2);
+	#$Nav->addCustomNav("Development", 	"/dsdp/tm/development/index.php", "_self", 2);
+
+	$Nav->setLinkList(array());
+	$branding = <<<EOBRANDING
+<div id="branding">
+<h1><a href="http://eclipse.org/dsdp/tm/">Target Management (RSE)</a></h1>
+</div>
+EOBRANDING;
+
+	$Menu->setProjectBranding($branding);
+	
+	$Nav->addNavSeparator("RTSC", 	"/dsdp/rtsc");
+	$Nav->addCustomNav("About This Project", "http://www.eclipse.org/projects/project_summary.php?projectid=dsdp.rtsc", "_self", 1);
+	#$Nav->addCustomNav("Team", "/dsdp/rtsc/team.php",	"_self", 2);
+	#$Nav->addCustomNav("Demos", "/dsdp/tm/tm-new/demos", "_self", 2);
+	#$Nav->addCustomNav("Wiki", "http://wiki.eclipse.org/DSDP/TM", "_self", 2); 
+
+	$Nav->addNavSeparator("Users", "", "_self", 2);
+	#$Nav->addCustomNav("Getting Started", "/dsdp/tm/tutorial/index.php", "_self", 2);
+	#$Nav->addCustomNav("Downloads", "http://download.eclipse.org/dsdp/tm/downloads/index.php", "_self", 2);
+	$Nav->addCustomNav("FAQ (wiki)", "http://wiki.eclipse.org/DSDP/RTSC", "_self", 2);
+	$Nav->addCustomNav("Newsgroup", "http://www.eclipse.org/newsportal/thread.php?group=eclipse.dsdp.rtsc", "_self", 2);
+	#$Nav->addCustomNav("Report Bugs", "/dsdp/tm/bugs", "_self", 2);
+
+	#$Nav->addNavSeparator("Integrators", "", "_self", 2);
+	#$Nav->addCustomNav("API Plan", "/dsdp/tm/development/plan.php", "_self", 2);
+	#$Nav->addCustomNav("Documents", "/dsdp/tm/doc/", "_self", 2);
+	#$Nav->addCustomNav("Release Notes", "/$PR/news/relnotes.php?project=$proj&amp;version=HEAD", "_self", 2);
+	#$Nav->addCustomNav("Legal", "dsdp/tm/development/tm-log.csv", "_self", 2);
+
+	#$Nav->addNavSeparator("Contributors", "/dsdp/tm/development/contributors.php", "_self", 2);
+	#$Nav->addCustomNav("Contributing (wiki)", "http://wiki.eclipse.org/TM_and_RSE_FAQ#Working_on_TM_.2F_RSE", "_self", 2);
+	#$Nav->addCustomNav("Mailing List", "https://dev.eclipse.org/mailman/listinfo/dsdp-tm-dev", "_self", 2);
+	#$Nav->addCustomNav("CVS", "/dsdp/tm/development/cvs_setup.php", "_self", 2);
+	#$Nav->addCustomNav("Development Tools", "/dsdp/tm/development/", "_self", 2);
+	#$Nav->addCustomNav("Search CVS", "/$PR/searchcvs.php?q=file%3A+org.eclipse.tm%25%2F" . "+days%3A+7", "_self", 2);
+
+	#$collist = "%26query_format%3Dadvanced&amp;column_changeddate=on&amp;column_bug_severity=on&amp;column_priority=on&amp;column_rep_platform=on&amp;column_bug_status=on&amp;column_product=on&amp;column_component=on&amp;column_version=on&amp;column_target_milestone=on&amp;column_short_short_desc=on&amp;splitheader=0";
+	#$Nav->addCustomNav("Open Bugs", "$bugurl/bugs/colchange.cgi?rememberedquery=product%3D" . $projectName . (isset ($bugcoms[$proj]) ? "%26component=$bugcoms[$proj]" : "") . "%26bug_status%3DNEW%26bug_status%3DASSIGNED%26bug_status%3DREOPENED%26order%3Dbugs.bug_status%2Cbugs.target_milestone%2Cbugs.bug_id" . $collist, "_self", 2);
+
+#$App->AddExtraHtmlHeader("<link rel=\"stylesheet\" type=\"text/css\" href=\"/dsdp/includes/common.css\"/>\n");
+unset ($bugcoms);
+?>
diff --git a/index.php b/index.php
new file mode 100644
index 0000000..3451818
--- /dev/null
+++ b/index.php
@@ -0,0 +1,186 @@
+<?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'
+
+	#*****************************************************************************
+	#
+	# index.php
+	#
+	# Author: 		Martin Oberhuber
+	# Date:			2006-02-01
+	#
+	# Description: RTSC main page (cloned from TM)
+	#
+	#
+f	#****************************************************************************
+	
+	#
+	# Begin: page-specific settings.  Change these. 
+	$pageTitle 		= "RTSC Home page";
+	$pageKeywords	= "device, target";
+	$pageAuthor		= "Martin Oberhuber";
+	
+	# 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 EOHTML markers!	
+	$html = <<<EOHTML
+
+<div id="maincontent">
+	<div id="midcolumn">
+		<h1>$pageTitle</h1>
+		The <b>Real-Time Software Components (RTSC)</b> project provides
+		foundational tools and low-level runtime content to enable
+		component-based development using the C language targeting all
+		embedded platforms.
+		<p>
+		While other component technologies exist for embedded systems,
+		RTSC is unique in that it scales down to highly resource constrained
+		embedded systems including DSPs and 16-bit micro-controllers.
+		<ul>
+		<li><a href="http://wiki.eclipse.org/DSDP/RTSC">Project Wiki</a></li>
+		<li><a href="http://www.eclipse.org/proposals/rtsc">Project Proposal (archived)</a></li>
+		</ul>
+		
+		<!--   SAMPLE FROM TM -- RTSC TO EDIT
+		
+		<div class="homeitem">
+			<h3>Quick Links</h3>
+				<ul class="midlist">
+					<li><a href="http://wiki.eclipse.org/DSDP/TM" target="_blank"><b>Wiki</b></a> | We use the Wiki extensively for collaboration. Find ongoing discussions, meeting notes and other "not so official" stuff there.</li>
+					<li><a href="news://news.eclipse.org/eclipse.dsdp.tm" target="_blank"><b>Newsgroup</b></a> | For general questions and community discussion (<a href="http://www.eclipse.org/newsportal/thread.php?group=eclipse.dsdp.tm">Web access</a>, <a href="http://dev.eclipse.org/newslists/news.eclipse.dsdp.tm/maillist.html">archive</a>).</li>
+					<li><a href="http://dev.eclipse.org/mailman/listinfo/dsdp-tm-dev" target="_blank"><b>Mailing List</b></a> | For project development discussions.</li>
+					<li><a href="/dsdp/tm/development/bug_process.php" target="_blank"><b>Bugs</b></a> 
+					   | View <a href="https://bugs.eclipse.org/bugs/buglist.cgi?query_format=advanced&classification=DSDP&product=Target+Management&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&cmdtype=doit">all open</a> issues
+					   | <a target="_top" href="https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Target%20Management&version=unspecified&component=RSE">Submit new</a> bugs
+					   | Request an <a target="_top" href="https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Target%20Management&version=unspecified&component=RSE&rep_platform=All&op_sys=All&priority=P3&bug_severity=enhancement&form_name=enter_bug">enhancement</a>
+					</li>
+					<li><a href="/dsdp/tm/doc/DSDPTM_Use_Cases_v1.1c.pdf"><b>Use cases</b></a> and requirements for Target Management</a></li>
+			    	<li><a href="http://www.eclipse.org/downloads/download.php?file=/dsdp/tm/presentations/2006-9-29_SummitEurope_TMOverview.pdf">
+      					<b>Architectural Overview</b></a>
+    	  				(<a href="http://www.eclipse.org/downloads/download.php?file=/dsdp/tm/presentations/2006-9-29_SummitEurope_TMOverview.ppt">PPT</a>
+    	  				| <a href="http://www.eclipse.org/downloads/download.php?file=/dsdp/tm/presentations/2006-9-29_SummitEurope_TMOverview.pdf">PDF</a>).
+    	  			</li>
+					<li><a href="/dsdp/tm/development/plan.php"><b>TM Project Plan</b></a></li>
+					<li><a href="/dsdp/dsdp-charter.php"><b>DSDP Project Charter</b></a></li>
+		</div>
+		<div class="homeitem">
+			<h3>Events</h3>
+			<ul class="midlist">
+				<li>
+				  <b>March 17-20, 2008</b>: <a href="http://www.eclipsecon.org/2008">EclipseCon 2008</a> - <ul>
+				    <li><a href="http://www.eclipsecon.org/2008/?page=sub/&id=38" target="_blank">
+				         <b>Remote access with the DSDP Target Management Project</b></a>, Tutorial by Martin Oberhuber (Wind River)
+						(slides:  
+						<a href="http://www.eclipse.org/downloads/download.php?file=/dsdp/tm/presentations/TM_Tutorial_ECon08.ppt">PPT</a> 757 KB |
+						<a href="http://www.eclipse.org/downloads/download.php?file=/dsdp/tm/presentations/TM_Tutorial_ECon08.pdf">PDF</a> 639 KB) |
+						(code:
+						<a href="http://www.eclipse.org/downloads/download.php?file=/dsdp/tm/presentations/TM_Tutorial_ECon08.ppt">tcf-0.2.0.zip</a> 3.7 MB |
+						<a href="http://www.eclipse.org/downloads/download.php?file=/dsdp/tm/presentations/TM_Tutorial_Econ08_samples.zip">tmtutorial.zip</a> 465 KB)</li>
+				    <li><a href="http://www.eclipsecon.org/2008/?page=sub/&id=39" target="_blank">
+				         <b>Target Management New and Noteworthy</b></a>, Short Talk by Martin Oberhuber (Wind River), TM project lead
+						(slides:  
+						<a href="http://www.eclipse.org/downloads/download.php?file=/dsdp/tm/presentations/TM_Short_ECon08.ppt">PPT</a> 707 KB |
+						<a href="http://www.eclipse.org/downloads/download.php?file=/dsdp/tm/presentations/TM_Short_ECon08.pdf">PDF</a> 581 KB)
+					</ul></li>
+				<li><b>March 14, 2008</b>: <a href="http://tmober.blogspot.com/2008/03/target-communication-framework-tcf.html">TCF</a>
+					publicly announced</li>
+				<li>
+				  <b>October 9-11, 2007</b>: Eclipse Summit Europe 2007 -<ul>
+				    <li><a href="http://www.eclipsecon.org/summiteurope2007/index.php?page=detail/&id=21" target="_blank">
+				         <b>The DSDP Target Management Project</b></a>, long talk by Martin Oberhuber
+				         (slides:  
+				         <a href="http://www.eclipse.org/downloads/download.php?file=/dsdp/tm/presentations/2007-10-10_TM_ESE2007.ppt">PPT</a> |
+				         <a href="http://www.eclipse.org/downloads/download.php?file=/dsdp/tm/presentations/2007-10-10_TM_ESE2007.pdf">PDF</a>)
+				         </li>
+				    </ul></li>
+				<li><b>September 17-19, 2007</b>: 
+				  <a href="http://wiki.eclipse.org/DSDP/TM/Face-to-face_Meeting_Toronto_17-Sep-2007">
+				  TM Planning Meeting and Coding Camp</a>, Toronto
+				  </li> 
+				<li><b>April 12, 2007</b>: 
+				  <a href="http://live.eclipse.org/node/229">Webinar</a>:
+				  TM goals, architecture, future plans and online demo
+				  (<a href="http://live.eclipse.org/node/229">50 minute full recording</a> |
+				  <a href="http://www.eclipse.org/projects/slides/TM_Webinar_Slides_070412.ppt">PPT slides</a>)
+				  </li> 
+				<li>
+				  <b>Mar 5-8, 2007</b>: EclipseCon 2007 -<ul>
+				    <li><a href="http://www.eclipsecon.org/2007/index.php?page=sub/&id=3651" target="_blank">
+				         <b>TM Tutorial</b></a> (includes 
+				         <a href="http://eclipsezilla.eclipsecon.org/php/attachment.php?bugid=3651">slides and sample code</a>)</li>
+				    <li><a href="http://www.eclipsecon.org/2007/index.php?not_accepted=0&page=sub/&id=3781" target="_blank">
+				         <b>Short Talk</b></a> (includes 
+				         <a href="http://eclipsezilla.eclipsecon.org/php/attachment.php?bugid=3781">slides</a>)</li>
+				    <li><a href="http://www.eclipsecon.org/2007/index.php?page=sub/&id=4135" target="_blank">
+				         <b>Short Demo</b></a> (includes 
+				         <a href="http://eclipsezilla.eclipsecon.org/php/attachment.php?bugid=4135">slides</a>)</li>
+				  </ul></li>
+				<li><b>Oct. 11, 2006</b>: 
+				  Eclipse Summit Europe - 
+				  <a href="http://www.eclipsecon.org/summiteurope2006/index.php?page=detail/&id=26">Talk by Michael Scharf on RSE</a>;<br/>
+				  TM Overview slides
+				  (<a href="http://www.eclipse.org/downloads/download.php?file=/dsdp/tm/presentations/2006-9-29_SummitEurope_TMOverview.ppt">PPT</a> | 
+				  <a href="http://www.eclipse.org/downloads/download.php?file=/dsdp/tm/presentations/2006-9-29_SummitEurope_TMOverview.pdf">PDF</a>);<br/>
+				  DSDP Overview slides
+				  (<a href="http://www.eclipsecon.org/summiteurope2006/presentations/ESE2006_DSDP_Project_Update.pdf">PDF</a>)
+				  </li>
+				<li><b>Sept. 27, 2006</b>: TM passed its 1.0 Release Review. The Slides are an interesting read
+				    for everyone (Slides as  
+				    <a href="http://www.eclipse.org/downloads/download.php?file=/dsdp/tm/presentations/TM_1.0_Release_Review_v3.ppt">PPT</a> | 
+				    <a href="http://www.eclipse.org/downloads/download.php?file=/dsdp/tm/presentations/TM_1.0_Release_Review_v3a.pdf">PDF</a>).</li>
+				<li>Monthly developer phone conference, every 1st wednesday of the month, 9am PST
+				    (See the <a href="http://wiki.eclipse.org/DSDP/TM">Wiki</a> for actual
+				    agenda and details)</li>
+			</ul>
+		</div>
+	</div>
+
+	<div id="rightcolumn">
+		<div class="sideitem">
+			<h6>Getting started</h6>
+			<ul>				
+				<li><a href="/dsdp/tm/tutorial/index.php"
+					target="_self">TM Getting Started</a></li>
+				<li><a href="http://www.eclipse.org/downloads/download.php?file=/dsdp/tm/presentations/2006-9-29_SummitEurope_TMOverview.pdf"
+					target="_self">TM Overview Slides</a></li>
+				<li><a href="http://live.eclipse.org/node/229">TM Webinar</a></li>
+				<li><a href="http://www.eclipse.org/downloads/download.php?file=/dsdp/tm/presentations/TM_2.0_Release_Review.ppt" target="_self">
+				    TM 2.0 Release Review Slides</a></li>
+				<li><a href="http://dsdp.eclipse.org/help/latest/index.jsp?topic=/org.eclipse.rse.doc.user/gettingstarted/g_start.html"
+					target="_self">TM 2.0 Tutorial</a></li>
+				<li><a
+					href="/dsdp/tm/doc/DSDPTM_Use_Cases_v1.1c.pdf"
+					target="_self">TM Use Cases</a></li>
+				<li><a href="/dsdp/tm/development/plan.php">TM Project Plan</a></li>
+			</ul>
+		</div>
+		
+		<div class="sideitem">
+			<h6>What's New</h6>
+			<ul><li>May 27th: <a href="http://download.eclipse.org/dsdp/tm/downloads/drops/S-3.0RC2-200805271940/">TM 3.0RC2</a> released</li>
+				<li>Mar 14th: <a href="http://tmober.blogspot.com/2008/03/target-communication-framework-tcf.html">TCF</a> publicly announced</li>
+				<li>Feb 25th: <a href="http://download.eclipse.org/dsdp/tm/downloads/drops/R-2.0.3-200802251530">TM 2.0.3</a> Service Release</li>
+				<li>Dec 20th: <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=210751">TCF</a> has been approved by Eclipse Legal</li>
+			    <li>Nov 13th: <a href="http://download.eclipse.org/dsdp/tm/downloads/drops/R-2.0.2-200711131300/">TM 2.0.2</a> Service Release</li>
+				<li>Apr 12th: 63 people registered at <a href="http://live.eclipse.org/node/229">TM Webinar</a></li>
+				<li>Mar 5th: <a href="http://www.eclipsecon.org/2007/index.php?page=sub/&id=3651">TM Tutorial</a> at EclipseCon</li>
+			</ul>
+		</div>
+		
+		END SAMPLE FROM TM -->
+		
+	</div>
+</div>
+
+
+EOHTML;
+
+
+	# Generate the web page
+	$App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html);
+?>