| <?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' | |
| /******************************************************************************* | |
| * Copyright (c) 2009, 2011 Eclipse Foundation and others. | |
| * All rights reserved. This program and the accompanying materials | |
| * are made available under the terms of the Eclipse Public License v1.0 | |
| * which accompanies this distribution, and is available at | |
| * http://www.eclipse.org/legal/epl-v10.html | |
| * | |
| * Contributors: | |
| * Wayne Beaton (Eclipse Foundation)- initial API and implementation | |
| *******************************************************************************/ | |
| require_once($_SERVER['DOCUMENT_ROOT'] . '/projects/classes/CQ.class.php'); | |
| require_once($_SERVER['DOCUMENT_ROOT'] . '/projects/classes/common.php'); | |
| require_once($_SERVER['DOCUMENT_ROOT'] . '/projects/classes/debug.php'); | |
| trace_file_info(__FILE__); | |
| mustBeEclipseFoundationCaller(); | |
| require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/app.class.php"); | |
| $App = new App(); | |
| header("Content-type: text/xml"); | |
| $cqs = find_cqs(); | |
| $doc = new DOMDocument('1.0'); | |
| // we want a nice output | |
| $doc->formatOutput = true; | |
| $root = $doc->createElement('cqs'); | |
| $root = $doc->appendChild($root); | |
| foreach ($cqs as $cq) { | |
| to_node($doc, $root, $cq, CQ_SHOW_ALL); | |
| } | |
| echo $doc->saveXML() . "\n"; | |
| ?> |