|
From: <mba...@us...> - 2007-02-17 20:24:21
|
Revision: 1955
http://svn.sourceforge.net/rubyeclipse/?rev=1955&view=rev
Author: mbarchfe
Date: 2007-02-17 12:24:20 -0800 (Sat, 17 Feb 2007)
Log Message:
-----------
pluginbuilder v 0.2.0 configuration
Added Paths:
-----------
trunk/org.rubypeople.rdt.pluginbuilder/.project
trunk/org.rubypeople.rdt.pluginbuilder/build-cc.xml
trunk/org.rubypeople.rdt.pluginbuilder/build-files/
trunk/org.rubypeople.rdt.pluginbuilder/build-files/allElements.xml
trunk/org.rubypeople.rdt.pluginbuilder/build-files/automatedTests/
trunk/org.rubypeople.rdt.pluginbuilder/build-files/automatedTests/JUNIT.XSL
trunk/org.rubypeople.rdt.pluginbuilder/build-files/automatedTests/ant-contrib-LICENSE.txt
trunk/org.rubypeople.rdt.pluginbuilder/build-files/automatedTests/ant-contrib.jar
trunk/org.rubypeople.rdt.pluginbuilder/build-files/automatedTests/eclipse-test-framework-3.2.zip
trunk/org.rubypeople.rdt.pluginbuilder/build-files/automatedTests/org.pluginbuilder.autotestsuite.feature-0.1.0.200702131649PRD.zip
trunk/org.rubypeople.rdt.pluginbuilder/build-files/automatedTests/run-tests.properties
trunk/org.rubypeople.rdt.pluginbuilder/build-files/automatedTests/run-tests.xml
trunk/org.rubypeople.rdt.pluginbuilder/build-files/build.properties
trunk/org.rubypeople.rdt.pluginbuilder/build-files/customTargets.xml
trunk/org.rubypeople.rdt.pluginbuilder/build-files/fetchSvnAll.xml
trunk/org.rubypeople.rdt.pluginbuilder/build-files/subversionSupport.xml
trunk/org.rubypeople.rdt.pluginbuilder/build-files/svn/
trunk/org.rubypeople.rdt.pluginbuilder/build-files/svn/SVNCLIENTADAPTER-LICENSE
trunk/org.rubypeople.rdt.pluginbuilder/build-files/svn/svnClientAdapter.jar
trunk/org.rubypeople.rdt.pluginbuilder/build-files/svn/svnant.jar
trunk/org.rubypeople.rdt.pluginbuilder/build.xml
trunk/org.rubypeople.rdt.pluginbuilder/build_local.properties
trunk/org.rubypeople.rdt.pluginbuilder/pluginbuilder.config
trunk/org.rubypeople.rdt.pluginbuilder/releases/
trunk/org.rubypeople.rdt.pluginbuilder/releases/HEAD.properties
Added: trunk/org.rubypeople.rdt.pluginbuilder/.project
===================================================================
--- trunk/org.rubypeople.rdt.pluginbuilder/.project (rev 0)
+++ trunk/org.rubypeople.rdt.pluginbuilder/.project 2007-02-17 20:24:20 UTC (rev 1955)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.rubypeople.rdt.pluginbuilder</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ </buildSpec>
+ <natures>
+ <nature>org.pluginbuilder.core.pluginBuilderNature</nature>
+ </natures>
+</projectDescription>
Added: trunk/org.rubypeople.rdt.pluginbuilder/build-cc.xml
===================================================================
Added: trunk/org.rubypeople.rdt.pluginbuilder/build-files/allElements.xml
===================================================================
--- trunk/org.rubypeople.rdt.pluginbuilder/build-files/allElements.xml (rev 0)
+++ trunk/org.rubypeople.rdt.pluginbuilder/build-files/allElements.xml 2007-02-17 20:24:20 UTC (rev 1955)
@@ -0,0 +1,23 @@
+<project name="allElements delegation and assemble customTargets.xml">
+<!-- FILE WILL BE OVERWRITTEN WHEN GENERATED -->
+ <target name="allElementsExceptSvnFetch" unless="is.svn.fetch">
+ <ant antfile="${genericTargets}" target="${target}">
+ <property name="type" value="feature" />
+ <property name="id" value="org.rubypeople.rdt" />
+ </ant> <ant antfile="${genericTargets}" target="${target}">
+ <property name="type" value="feature" />
+ <property name="id" value="org.rubypeople.rdt-tests" />
+ </ant>
+ </target>
+
+ <target name="assemble.org.rubypeople.rdt">
+ <ant antfile="${assembleScriptName}" dir="${buildDirectory}">
+ <property name="zipargs" value="" />
+ </ant>
+ </target> <target name="assemble.org.rubypeople.rdt-tests">
+ <ant antfile="${assembleScriptName}" dir="${buildDirectory}">
+ <property name="zipargs" value="" />
+ </ant>
+ </target>
+
+</project>
\ No newline at end of file
Added: trunk/org.rubypeople.rdt.pluginbuilder/build-files/automatedTests/JUNIT.XSL
===================================================================
--- trunk/org.rubypeople.rdt.pluginbuilder/build-files/automatedTests/JUNIT.XSL (rev 0)
+++ trunk/org.rubypeople.rdt.pluginbuilder/build-files/automatedTests/JUNIT.XSL 2007-02-17 20:24:20 UTC (rev 1955)
@@ -0,0 +1,455 @@
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+<xsl:output method="html" indent="yes"/>
+<xsl:decimal-format decimal-separator="." grouping-separator="," />
+
+<xsl:template match="testsuites">
+ <HTML>
+ <HEAD>
+ <style type="text/css">
+ body {
+ font:normal 68% verdana,arial,helvetica;
+ color:#000000;
+ }
+ table tr td, table tr th {
+ font-size: 68%;
+ }
+ table.details tr th{
+ font-weight: bold;
+ text-align:left;
+ background:#a6caf0;
+ }
+ table.details tr td{
+ background:#eeeee0;
+ }
+
+ p {
+ line-height:1.5em;
+ margin-top:0.5em; margin-bottom:1.0em;
+ }
+ h1 {
+ margin: 0px 0px 5px; font: 165% verdana,arial,helvetica
+ }
+ h2 {
+ margin-top: 1em; margin-bottom: 0.5em; font: bold 125% verdana,arial,helvetica
+ }
+ h3 {
+ margin-bottom: 0.5em; font: bold 115% verdana,arial,helvetica
+ }
+ h4 {
+ margin-bottom: 0.5em; font: bold 100% verdana,arial,helvetica
+ }
+ h5 {
+ margin-bottom: 0.5em; font: bold 100% verdana,arial,helvetica
+ }
+ h6 {
+ margin-bottom: 0.5em; font: bold 100% verdana,arial,helvetica
+ }
+ .Error {
+ font-weight:bold; color:red;
+ }
+ .Failure {
+ font-weight:bold; color:purple;
+ }
+ .Properties {
+ text-align:right;
+ }
+ </style>
+ <script language="JavaScript">
+ var TestCases = new Array();
+ var cur;
+ <xsl:for-each select="./testsuite">
+ <xsl:apply-templates select="properties"/>
+ </xsl:for-each>
+
+ </script>
+ <script language="JavaScript"><![CDATA[
+ function displayProperties (name) {
+ var win = window.open('','JUnitSystemProperties','scrollbars=1,resizable=1');
+ var doc = win.document.open();
+ doc.write("<html><head><title>Properties of " + name + "</title>");
+ doc.write("<style>")
+ doc.write("body {font:normal 68% verdana,arial,helvetica; color:#000000; }");
+ doc.write("table tr td, table tr th { font-size: 68%; }");
+ doc.write("table.properties { border-collapse:collapse; border-left:solid 1 #cccccc; border-top:solid 1 #cccccc; padding:5px; }");
+ doc.write("table.properties th { text-align:left; border-right:solid 1 #cccccc; border-bottom:solid 1 #cccccc; background-color:#eeeeee; }");
+ doc.write("table.properties td { font:normal; text-align:left; border-right:solid 1 #cccccc; border-bottom:solid 1 #cccccc; background-color:#fffffff; }");
+ doc.write("h3 { margin-bottom: 0.5em; font: bold 115% verdana,arial,helvetica }");
+ doc.write("</style>");
+ doc.write("</head><body>");
+ doc.write("<h3>Properties of " + name + "</h3>");
+ doc.write("<div align=\"right\"><a href=\"javascript:window.close();\">Close</a></div>");
+ doc.write("<table class='properties'>");
+ doc.write("<tr><th>Name</th><th>Value</th></tr>");
+ for (prop in TestCases[name]) {
+ doc.write("<tr><th>" + prop + "</th><td>" + TestCases[name][prop] + "</td></tr>");
+ }
+ doc.write("</table>");
+ doc.write("</body></html>");
+ doc.close();
+ win.focus();
+ }
+ ]]>
+ </script>
+ </HEAD>
+ <body>
+ <a name="top"></a>
+ <xsl:call-template name="pageHeader"/>
+
+ <!-- Summary part -->
+ <xsl:call-template name="summary"/>
+ <hr size="1" width="95%" align="left"/>
+
+ <!-- Package List part -->
+ <xsl:call-template name="packagelist"/>
+ <hr size="1" width="95%" align="left"/>
+
+ <!-- For each package create its part -->
+ <xsl:call-template name="packages"/>
+ <hr size="1" width="95%" align="left"/>
+
+ <!-- For each class create the part -->
+ <xsl:call-template name="classes"/>
+
+ </body>
+ </HTML>
+</xsl:template>
+
+
+
+ <!-- ================================================================== -->
+ <!-- Write a list of all packages with an hyperlink to the anchor of -->
+ <!-- of the package name. -->
+ <!-- ================================================================== -->
+ <xsl:template name="packagelist">
+ <h2>Packages</h2>
+ Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.
+ <table class="details" border="0" cellpadding="5" cellspacing="2" width="95%">
+ <xsl:call-template name="testsuite.test.header"/>
+ <!-- list all packages recursively -->
+ <xsl:for-each select="./testsuite[not(./@package = preceding-sibling::testsuite/@package)]">
+ <xsl:sort select="@package"/>
+ <xsl:variable name="testsuites-in-package" select="/testsuites/testsuite[./@package = current()/@package]"/>
+ <xsl:variable name="testCount" select="sum($testsuites-in-package/@tests)"/>
+ <xsl:variable name="errorCount" select="sum($testsuites-in-package/@errors)"/>
+ <xsl:variable name="failureCount" select="sum($testsuites-in-package/@failures)"/>
+ <xsl:variable name="timeCount" select="sum($testsuites-in-package/@time)"/>
+
+ <!-- write a summary for the package -->
+ <tr valign="top">
+ <!-- set a nice color depending if there is an error/failure -->
+ <xsl:attribute name="class">
+ <xsl:choose>
+ <xsl:when test="$failureCount > 0">Failure</xsl:when>
+ <xsl:when test="$errorCount > 0">Error</xsl:when>
+ </xsl:choose>
+ </xsl:attribute>
+ <td><a href="#{@package}"><xsl:value-of select="@package"/></a></td>
+ <td><xsl:value-of select="$testCount"/></td>
+ <td><xsl:value-of select="$errorCount"/></td>
+ <td><xsl:value-of select="$failureCount"/></td>
+ <td>
+ <xsl:call-template name="display-time">
+ <xsl:with-param name="value" select="$timeCount"/>
+ </xsl:call-template>
+ </td>
+ </tr>
+ </xsl:for-each>
+ </table>
+ </xsl:template>
+
+
+ <!-- ================================================================== -->
+ <!-- Write a package level report -->
+ <!-- It creates a table with values from the document: -->
+ <!-- Name | Tests | Errors | Failures | Time -->
+ <!-- ================================================================== -->
+ <xsl:template name="packages">
+ <!-- create an anchor to this package name -->
+ <xsl:for-each select="/testsuites/testsuite[not(./@package = preceding-sibling::testsuite/@package)]">
+ <xsl:sort select="@package"/>
+ <a name="{@package}"></a>
+ <h3>Package <xsl:value-of select="@package"/></h3>
+
+ <table class="details" border="0" cellpadding="5" cellspacing="2" width="95%">
+ <xsl:call-template name="testsuite.test.header"/>
+
+ <!-- match the testsuites of this package -->
+ <xsl:apply-templates select="/testsuites/testsuite[./@package = current()/@package]" mode="print.test"/>
+ </table>
+ <a href="#top">Back to top</a>
+ <p/>
+ <p/>
+ </xsl:for-each>
+ </xsl:template>
+
+ <xsl:template name="classes">
+ <xsl:for-each select="testsuite">
+ <xsl:sort select="@name"/>
+ <!-- create an anchor to this class name -->
+ <a name="{@name}"></a>
+ <h3>TestCase <xsl:value-of select="@name"/></h3>
+
+ <table class="details" border="0" cellpadding="5" cellspacing="2" width="95%">
+ <xsl:call-template name="testcase.test.header"/>
+ <!--
+ test can even not be started at all (failure to load the class)
+ so report the error directly
+ -->
+ <xsl:if test="./error">
+ <tr class="Error">
+ <td colspan="4"><xsl:apply-templates select="./error"/></td>
+ </tr>
+ </xsl:if>
+ <xsl:apply-templates select="./testcase" mode="print.test"/>
+ </table>
+ <div class="Properties">
+ <a>
+ <xsl:attribute name="href">javascript:displayProperties('<xsl:value-of select="@package"/>.<xsl:value-of select="@name"/>');</xsl:attribute>
+ Properties >>
+ </a>
+ </div>
+ <p/>
+
+ <a href="#top">Back to top</a>
+ </xsl:for-each>
+ </xsl:template>
+
+ <xsl:template name="summary">
+ <h2>Summary</h2>
+ <xsl:variable name="testCount" select="sum(testsuite/@tests)"/>
+ <xsl:variable name="errorCount" select="sum(testsuite/@errors)"/>
+ <xsl:variable name="failureCount" select="sum(testsuite/@failures)"/>
+ <xsl:variable name="timeCount" select="sum(testsuite/@time)"/>
+ <xsl:variable name="successRate" select="($testCount - $failureCount - $errorCount) div $testCount"/>
+ <table class="details" border="0" cellpadding="5" cellspacing="2" width="95%">
+ <tr valign="top">
+ <th>Tests</th>
+ <th>Failures</th>
+ <th>Errors</th>
+ <th>Success rate</th>
+ <th>Time</th>
+ </tr>
+ <tr valign="top">
+ <xsl:attribute name="class">
+ <xsl:choose>
+ <xsl:when test="$failureCount > 0">Failure</xsl:when>
+ <xsl:when test="$errorCount > 0">Error</xsl:when>
+ </xsl:choose>
+ </xsl:attribute>
+ <td><xsl:value-of select="$testCount"/></td>
+ <td><xsl:value-of select="$failureCount"/></td>
+ <td><xsl:value-of select="$errorCount"/></td>
+ <td>
+ <xsl:call-template name="display-percent">
+ <xsl:with-param name="value" select="$successRate"/>
+ </xsl:call-template>
+ </td>
+ <td>
+ <xsl:call-template name="display-time">
+ <xsl:with-param name="value" select="$timeCount"/>
+ </xsl:call-template>
+ </td>
+
+ </tr>
+ </table>
+ <table border="0" width="95%">
+ <tr>
+ <td style="text-align: justify;">
+ Note: <i>failures</i> are anticipated and checked for with assertions while <i>errors</i> are unanticipated.
+ </td>
+ </tr>
+ </table>
+ </xsl:template>
+
+ <!--
+ Write properties into a JavaScript data structure.
+ This is based on the original idea by Erik Hatcher (er...@ha...)
+ -->
+ <xsl:template match="properties">
+ cur = TestCases['<xsl:value-of select="../@package"/>.<xsl:value-of select="../@name"/>'] = new Array();
+ <xsl:for-each select="property">
+ <xsl:sort select="@name"/>
+ cur['<xsl:value-of select="@name"/>'] = '<xsl:call-template name="JS-escape"><xsl:with-param name="string" select="@value"/></xsl:call-template>';
+ </xsl:for-each>
+ </xsl:template>
+
+<!-- Page HEADER -->
+<xsl:template name="pageHeader">
+ <h1>Unit Test Results</h1>
+ <table width="100%">
+ <tr>
+ <td align="left"></td>
+ <td align="right">Designed for use with <a href='http://www.junit.org'>JUnit</a> and <a href='http://ant.apache.org'>Ant</a>.</td>
+ </tr>
+ </table>
+ <hr size="1"/>
+</xsl:template>
+
+<xsl:template match="testsuite" mode="header">
+ <tr valign="top">
+ <th width="80%">Name</th>
+ <th>Tests</th>
+ <th>Errors</th>
+ <th>Failures</th>
+ <th nowrap="nowrap">Time(s)</th>
+ </tr>
+</xsl:template>
+
+<!-- class header -->
+<xsl:template name="testsuite.test.header">
+ <tr valign="top">
+ <th width="80%">Name</th>
+ <th>Tests</th>
+ <th>Errors</th>
+ <th>Failures</th>
+ <th nowrap="nowrap">Time(s)</th>
+ </tr>
+</xsl:template>
+
+<!-- method header -->
+<xsl:template name="testcase.test.header">
+ <tr valign="top">
+ <th>Name</th>
+ <th>Status</th>
+ <th width="80%">Type</th>
+ <th nowrap="nowrap">Time(s)</th>
+ </tr>
+</xsl:template>
+
+
+<!-- class information -->
+<xsl:template match="testsuite" mode="print.test">
+ <tr valign="top">
+ <!-- set a nice color depending if there is an error/failure -->
+ <xsl:attribute name="class">
+ <xsl:choose>
+ <xsl:when test="@failures[.> 0]">Failure</xsl:when>
+ <xsl:when test="@errors[.> 0]">Error</xsl:when>
+ </xsl:choose>
+ </xsl:attribute>
+
+ <!-- print testsuite information -->
+ <td><a href="#{@name}"><xsl:value-of select="@name"/></a></td>
+ <td><xsl:value-of select="@tests"/></td>
+ <td><xsl:value-of select="@errors"/></td>
+ <td><xsl:value-of select="@failures"/></td>
+ <td>
+ <xsl:call-template name="display-time">
+ <xsl:with-param name="value" select="@time"/>
+ </xsl:call-template>
+ </td>
+ </tr>
+</xsl:template>
+
+<xsl:template match="testcase" mode="print.test">
+ <tr valign="top">
+ <xsl:attribute name="class">
+ <xsl:choose>
+ <xsl:when test="failure | error">Error</xsl:when>
+ </xsl:choose>
+ </xsl:attribute>
+ <td><xsl:value-of select="@name"/></td>
+ <xsl:choose>
+ <xsl:when test="failure">
+ <td>Failure</td>
+ <td><xsl:apply-templates select="failure"/></td>
+ </xsl:when>
+ <xsl:when test="error">
+ <td>Error</td>
+ <td><xsl:apply-templates select="error"/></td>
+ </xsl:when>
+ <xsl:otherwise>
+ <td>Success</td>
+ <td></td>
+ </xsl:otherwise>
+ </xsl:choose>
+ <td>
+ <xsl:call-template name="display-time">
+ <xsl:with-param name="value" select="@time"/>
+ </xsl:call-template>
+ </td>
+ </tr>
+</xsl:template>
+
+
+<xsl:template match="failure">
+ <xsl:call-template name="display-failures"/>
+</xsl:template>
+
+<xsl:template match="error">
+ <xsl:call-template name="display-failures"/>
+</xsl:template>
+
+<!-- Style for the error and failure in the tescase template -->
+<xsl:template name="display-failures">
+ <xsl:choose>
+ <xsl:when test="not(@message)">N/A</xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="@message"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ <!-- display the stacktrace -->
+ <code>
+ <p/>
+ <xsl:call-template name="br-replace">
+ <xsl:with-param name="word" select="."/>
+ </xsl:call-template>
+ </code>
+ <!-- the later is better but might be problematic for non-21" monitors... -->
+ <!--pre><xsl:value-of select="."/></pre-->
+</xsl:template>
+
+<xsl:template name="JS-escape">
+ <xsl:param name="string"/>
+ <xsl:choose><!-- something isn't right here, basically all single quotes need to be replaced with backslash-single-quote
+ <xsl:when test="contains($string,''')">
+ <xsl:value-of select="substring-before($string,''')"/>
+ \'
+ <xsl:call-template name="JS-escape">
+ <xsl:with-param name="string" select="substring-after($string,''')"/>
+ </xsl:call-template>
+ </xsl:when> -->
+ <xsl:when test="contains($string,'\')">
+ <xsl:value-of select="substring-before($string,'\')"/>\\<xsl:call-template name="JS-escape">
+ <xsl:with-param name="string" select="substring-after($string,'\')"/>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="$string"/>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
+
+<!--
+ template that will convert a carriage return into a br tag
+ @param word the text from which to convert CR to BR tag
+-->
+<xsl:template name="br-replace">
+ <xsl:param name="word"/>
+ <xsl:choose>
+ <xsl:when test="contains($word,'
')">
+ <xsl:value-of select="substring-before($word,'
')"/>
+ <br/>
+ <xsl:call-template name="br-replace">
+ <xsl:with-param name="word" select="substring-after($word,'
')"/>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="$word"/>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
+<xsl:template name="display-time">
+ <xsl:param name="value"/>
+ <xsl:value-of select="format-number($value,'0.000')"/>
+</xsl:template>
+
+<xsl:template name="display-percent">
+ <xsl:param name="value"/>
+ <xsl:value-of select="format-number($value,'0.00%')"/>
+</xsl:template>
+
+</xsl:stylesheet>
+
Added: trunk/org.rubypeople.rdt.pluginbuilder/build-files/automatedTests/ant-contrib-LICENSE.txt
===================================================================
--- trunk/org.rubypeople.rdt.pluginbuilder/build-files/automatedTests/ant-contrib-LICENSE.txt (rev 0)
+++ trunk/org.rubypeople.rdt.pluginbuilder/build-files/automatedTests/ant-contrib-LICENSE.txt 2007-02-17 20:24:20 UTC (rev 1955)
@@ -0,0 +1,47 @@
+/*
+ * The Apache Software License, Version 1.1
+ *
+ * Copyright (c) 2001-2003 Ant-Contrib project. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in
+ * the documentation and/or other materials provided with the
+ * distribution.
+ *
+ * 3. The end-user documentation included with the redistribution, if
+ * any, must include the following acknowlegement:
+ * "This product includes software developed by the
+ * Ant-Contrib project (http://sourceforge.net/projects/ant-contrib)."
+ * Alternately, this acknowlegement may appear in the software itself,
+ * if and wherever such third-party acknowlegements normally appear.
+ *
+ * 4. The name Ant-Contrib must not be used to endorse or promote products
+ * derived from this software without prior written permission. For
+ * written permission, please contact
+ * ant...@li....
+ *
+ * 5. Products derived from this software may not be called "Ant-Contrib"
+ * nor may "Ant-Contrib" appear in their names without prior written
+ * permission of the Ant-Contrib project.
+ *
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL THE ANT-CONTRIB PROJECT OR ITS
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+ * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ * ====================================================================
+ */
Added: trunk/org.rubypeople.rdt.pluginbuilder/build-files/automatedTests/ant-contrib.jar
===================================================================
(Binary files differ)
Property changes on: trunk/org.rubypeople.rdt.pluginbuilder/build-files/automatedTests/ant-contrib.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/org.rubypeople.rdt.pluginbuilder/build-files/automatedTests/eclipse-test-framework-3.2.zip
===================================================================
(Binary files differ)
Property changes on: trunk/org.rubypeople.rdt.pluginbuilder/build-files/automatedTests/eclipse-test-framework-3.2.zip
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/org.rubypeople.rdt.pluginbuilder/build-files/automatedTests/org.pluginbuilder.autotestsuite.feature-0.1.0.200702131649PRD.zip
===================================================================
(Binary files differ)
Property changes on: trunk/org.rubypeople.rdt.pluginbuilder/build-files/automatedTests/org.pluginbuilder.autotestsuite.feature-0.1.0.200702131649PRD.zip
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/org.rubypeople.rdt.pluginbuilder/build-files/automatedTests/run-tests.properties
===================================================================
--- trunk/org.rubypeople.rdt.pluginbuilder/build-files/automatedTests/run-tests.properties (rev 0)
+++ trunk/org.rubypeople.rdt.pluginbuilder/build-files/automatedTests/run-tests.properties 2007-02-17 20:24:20 UTC (rev 1955)
@@ -0,0 +1,51 @@
+#
+# BEGIN default properties for executing run-tests.xml standalone
+# (these properties are already set if run-tests.xml is called
+# from the postBuild target in custumTargets.xml)
+#
+
+buildType=N
+# archivePrefix is used to determine to which location the build result must be
+# extracted:
+# if ${archivePrefix} == eclipse the folder will be ${test.eclipse.base}
+# ${test.eclipse.host} otherwise.
+# Note: The latter makes only sense if archive Prefix is set to ".". If it has
+# another value the eclipse host won't be created successfully.
+archivePrefix=.
+
+# test.eclipse.zip must be a zip file for windows and tar file for linux
+test.eclipse.zip=C:/downloads/eclipse-SDK-3.2.1-win32.zip
+autotestsuite.trace=true
+autotestsuite.plugin.inclusions=.*test$
+autotestsuite.plugin.exclusions=
+autotestsuite.class.inclusions=.*
+autotestsuite.class.exclusions=.*\\.All.*;.*ServerCommunication.*
+
+#
+# END default properties for executing run-tests.xml standalone
+#
+
+# test.eclipse.host points to a directory where an Eclipse installation for the
+# tests will be built. Therefore ${test.eclipse.zip} will be extracted first and
+# then there will be additional plug-ins be "installed", which means they will
+# be extracted. The implication of this kind of installation is that the test
+# Eclipse host must be called with the clean parameter later
+# It is expected that test.eclipse.host contains a subfolder eclipse.
+# The plug-ins which will be installed are the plug-ins located in
+# ${buildResultsDir} plus the eclipse test framework plus the autotestsuite.
+test.eclipse.base=${buildDirectory}/automatedTests
+
+test.eclipse.host=${test.eclipse.base}/eclipse
+
+# Denotes the ant script where the target ui-test is defined
+test.library.xml=${test.eclipse.host}/plugins/org.eclipse.test_3.1.0/library.xml
+
+# Directory where the reports are collected
+test.result.dir=${test.eclipse.host}/test-reports
+
+# Specifies the overall report in ${test.result.dir}/xml
+test.aggregated.report=testReport_${buildLabel}.xml
+
+# Workspace for the tests. Particularly useful is ${test.workspace}/.metadata/.log
+test.workspace=${test.eclipse.host}/workspace
+
Added: trunk/org.rubypeople.rdt.pluginbuilder/build-files/automatedTests/run-tests.xml
===================================================================
--- trunk/org.rubypeople.rdt.pluginbuilder/build-files/automatedTests/run-tests.xml (rev 0)
+++ trunk/org.rubypeople.rdt.pluginbuilder/build-files/automatedTests/run-tests.xml 2007-02-17 20:24:20 UTC (rev 1955)
@@ -0,0 +1,90 @@
+<project name="Run automated Tests" default="run" basedir=".">
+
+ <property file="run-tests.properties" />
+ <property file="../../build_local.properties" />
+ <taskdef resource="net/sf/antcontrib/antcontrib.properties" classpath="ant-contrib.jar" />
+
+ <target name="-init">
+ <antcall target="-purgeTestEclipseHost" />
+ <antcall target="-installTestEclipseHost" />
+ </target>
+
+ <target name="-purgeTestEclipseHost">
+ <delete dir="${test.eclipse.base}" failOnError="false" />
+ </target>
+
+ <target name="-extractEclipse">
+ <if>
+ <os family="windows" />
+ <then>
+ <unzip dest="${test.eclipse.base}" src="${test.eclipse.zip}" />
+ </then>
+ <else>
+ <untar dest="${test.eclipse.base}" src="${test.eclipse.zip}" compression="gzip" />
+ </else>
+ </if>
+ </target>
+
+ <target name="-installTestEclipseHost" depends="-extractEclipse" description="Install Eclipse and all required plug-ins for testing" unless="isEclipseInstallationAvailable">
+ <echo message="Installing plug-ins for testing" />
+ <unzip dest="${test.eclipse.base}">
+ <fileset dir="." includes="eclipse-test-framework*.zip" />
+ </unzip>
+ <unzip dest="${test.eclipse.host}">
+ <fileset dir="." includes="org.pluginbuilder.autotestsuite*.zip" />
+ </unzip>
+ <if>
+ <equals arg1="${archivePrefix}" arg2="eclipse" />
+ <then>
+ <property name="buildResultZipDest" value="${test.eclipse.base}" />
+ </then>
+ <else>
+ <property name="buildResultZipDest" value="${test.eclipse.host}" />
+ </else>
+ </if>
+ <unzip dest="${buildResultZipDest}">
+ <fileset dir="${buildDirectory}" includes="${buildType}-**/*.zip" />
+ </unzip>
+ </target>
+
+ <target name="-runSuite">
+ <delete dir="${test.workspace}" quiet="true" />
+ <property name="eclipse-home" value="${test.eclipse.host}" />
+ <antcall target="runAll" />
+ </target>
+
+ <target name="runTestSuite" description="Should be called from allTests.xml only">
+ <ant target="ui-test" antfile="${test.library.xml}" dir="${test.eclipse.host}">
+ <!-- use -clean because plug-ins have been unzipped into the eclipse folder -->
+ <property name="data-dir" value="${test.workspace} -clean" />
+ <property name="vmargs" value="-Dnet.sourceforge.cobertura.datafile=${cobertura.ser}" />
+ </ant>
+ </target>
+
+ <target name="runAllTestSuite" description="Should be called from allTests.xml only">
+ <ant target="ui-test" antfile="${test.library.xml}" dir="${test.eclipse.host}">
+ <!-- use -clean because plug-ins have been unzipped into the eclipse folder -->
+ <property name="data-dir" value="${test.workspace} -clean" />
+ <property name="test-output" value="all.autotestsuite.xml" />
+ <property name="plugin-name" value="org.pluginbuilder.autotestsuite" />
+ <property name="classname" value="org.pluginbuilder.autotestsuite.AllTestSuite" />
+ <property name="eclipse-home" value="${test.eclipse.host}" />
+
+ <property name="vmargs" value="-Dautotest.debug=${autotestsuite.trace} -Dautotestsuite.plugin.inclusions=${autotestsuite.plugin.inclusions} -Dautotestsuite.plugin.exclusions=${autotestsuite.plugin.exclusions} -Dautotestsuite.class.inclusions=${autotestsuite.class.inclusions} -Dautotestsuite.class.exclusions=${autotestsuite.class.exclusions} -Dnet.sourceforge.cobertura.datafile=${cobertura.ser}" />
+ </ant>
+ </target>
+
+ <target name="run" depends="-init,runAllTestSuite" description="Run all tests and create a report.">
+ <delete dir="${test.result.dir}" />
+ <mkdir dir="${test.result.dir}/xml" />
+ <!-- collect creates an aggregated report file in ${test.eclipse.host} -->
+ <ant target="collect" antfile="${test.library.xml}" dir="${test.eclipse.host}">
+ <property name="includes" value="*.xml" />
+ <property name="output-file" value="${test.aggregated.report}" />
+ </ant>
+ <copy file="${test.eclipse.host}/${test.aggregated.report}" todir="${test.result.dir}/xml" />
+ <style style="${basedir}/JUNIT.XSL" basedir="${test.result.dir}/xml" destdir="${test.result.dir}/html" />
+
+ </target>
+
+</project>
Added: trunk/org.rubypeople.rdt.pluginbuilder/build-files/build.properties
===================================================================
--- trunk/org.rubypeople.rdt.pluginbuilder/build-files/build.properties (rev 0)
+++ trunk/org.rubypeople.rdt.pluginbuilder/build-files/build.properties 2007-02-17 20:24:20 UTC (rev 1955)
@@ -0,0 +1,107 @@
+###############################################################################
+# Copyright (c) 2003, 2004 IBM Corporation and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Common Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/cpl-v10.html
+#
+# Contributors:
+# IBM Corporation - initial API and implementation
+###############################################################################
+#####################
+# Parameters describing how and where to execute the build.
+# Typical users need only update the following properties:
+# baseLocation - where things you are building against are installed
+# bootclasspath - The base jars to compile against (typicaly rt.jar)
+# configs - the list of {os, ws, arch} configurations to build.
+#
+# Of course any of the settings here can be overridden by spec'ing
+# them on the command line (e.g., -DbaseLocation=d:/eclipse
+
+############# CVS CONTROL ################
+# The CVS tag to use when fetching the map files from the repository
+
+mapVersionTag=HEAD
+
+# The CVS tag to use when fetching elements to build. By default the
+# builder will use whatever is in the maps. Use this value to override
+# for example, when doing a nightly build out of HEAD
+
+fetchTag=HEAD
+############## BUILD / GENERATION CONTROL ################
+# The directory into which the build elements will be fetched and where
+# the build will take place.
+# Do not enter relative paths, because otherwise the directory.txt file
+# won't be found
+# If relative , the directory would be relative to the $builder directory
+#buildDirectory=D:\\Temp\\buildresult3
+
+# Type of build. Used in naming the build output. Typically this value is
+# one of I, N, M, S, ...
+# If you change this, please also see the featureVersion and baseFeatureVersion properties below
+buildType=N
+
+# ID of the build. Used in naming the build output. (the zip file)
+# buildId is set in customTargets.xml in order to consider a dynamic featureVersion for nightlyBuild
+#buildId=${featureVersion}
+
+# Label for the build. Used in naming the build output (the directory)
+# buildLabel is set in customTargets.xml in order to consider a dynamic featureVersion for nightlyBuild
+#buildLabel=${featureVersion}
+
+# Timestamp for the build. Used in naming the build output
+#timestamp=007
+
+# Base location for anything the build needs to compile against. For example,
+# when building GEF, the baseLocation should be the location of a previously
+# installed Eclipse against which the GEF code will be compiled.
+#baseLocation=D:\\eclipse-3.0
+
+#Os/Ws/Arch/nl of the eclipse specified by baseLocation
+#baseos
+#basews
+#basearch
+#basenl
+
+# The location underwhich all of the build output will be collected.
+# This is a subdirectory of $buildDirectory
+# Set collectingFolder and archivePrefix to . if you want to create archives without
+# trailing eclipse in the paths of the included files
+collectingFolder=.
+
+# The prefix that will be used in the generated archive.
+# Does not make sense to use a different archivePrefix than collectingFolder,
+# because zip wouldn't find any files to include into the target zip otherwise
+archivePrefix=.
+
+# The list of {os, ws, arch} configurations to build. This
+# value is a '&' separated list of ',' separate triples. For example,
+# configs=win32,win32,x86 & linux,motif,x86
+# By default the value is *,*,*
+#configs=*,*,*
+
+#Arguments to send to the zip executable
+# Doesn't work
+#zipArgs=-z "RDT: extract into eclipse-installation directory"
+
+############# JAVA COMPILER OPTIONS ##############
+# The location of the Java jars to compile against. Typically the rt.jar for your JDK/JRE
+#bootclasspath=d:/ibm1.3.1/jre/lib/rt.jar
+#bootclasspath=D:\\java\\j2sdk1.4.2_05\\jre\\lib\\rt.jar
+
+# Whether or not to include debug info in the output jars
+javacDebugInfo=true
+
+# Whether or not to fail the build if there are compiler errors
+javacFailOnError=true
+
+# The version of the source code
+javacSource=1.5
+
+# The version of the byte code targeted
+javacTarget=1.5
+
+#collPlace=eclipse
+#collBase=.
+#collectingFolder=eclipse
+#archivePrefix=eclipse
Added: trunk/org.rubypeople.rdt.pluginbuilder/build-files/customTargets.xml
===================================================================
--- trunk/org.rubypeople.rdt.pluginbuilder/build-files/customTargets.xml (rev 0)
+++ trunk/org.rubypeople.rdt.pluginbuilder/build-files/customTargets.xml 2007-02-17 20:24:20 UTC (rev 1955)
@@ -0,0 +1,176 @@
+<project name="Build specific targets and properties" default="noDefault">
+ <condition property="isNightlyBuild">
+ <equals arg1="${buildType}" arg2="N" />
+ </condition>
+ <condition property="isNightlyOrIntegrationBuild">
+ <or>
+ <equals arg1="${buildType}" arg2="N" />
+ <equals arg1="${buildType}" arg2="I" />
+ </or>
+ </condition>
+
+ <property file="${buildHome}/pluginbuilder.config" />
+
+ <property file="${buildDirectory}/version.properties" />
+ <property name="buildLabel" value="${buildType}-${version.full}" />
+ <property name="buildId" value="${version.full}" />
+
+ <condition property="isCVS" value="true">
+ <equals arg1="${pluginbuilder.is.cvs}" arg2="true"/>
+ </condition>
+ <condition property="isSVN" value="true">
+ <equals arg1="${pluginbuilder.is.svn}" arg2="true"/>
+ </condition>
+ <condition property="isRunTests" value="true">
+ <equals arg1="${pluginbuilder.is.runtests}" arg2="true"/>
+ </condition>
+
+
+ <target name="allElements">
+ <condition property="isFetch" value="true">
+ <equals arg1="${target}" arg2="fetchElement"/>
+ </condition>
+ <condition property="is.svn.fetch" value="true">
+ <and>
+ <equals arg1="${target}" arg2="fetchElement"/>
+ <equals arg1="${pluginbuilder.is.svn}" arg2="true"/>
+ </and>
+ </condition>
+
+ <antcall target="allElementsExceptSvnFetch"/>
+ <antcall target="fetchSubversion"/>
+ </target>
+
+ <import file="allElements.xml"/>
+ <import file="subversionSupport.xml"/>
+
+
+ <!-- ===================================================================== -->
+ <!-- Check out map files from correct repository -->
+ <!-- Replace values for cvsRoot, package and mapVersionTag as desired. -->
+ <!-- ===================================================================== -->
+ <target name="getMapFiles" if="isCVS">
+ <echo message="Copying map files."/>
+ <copy todir="${buildDirectory}/maps">
+ <fileset dir="${buildHome}/maps" includes="*.map"></fileset>
+ </copy>
+ </target>
+
+ <!-- ===================================================================== -->
+ <!-- Steps to do before setup -->
+ <!-- ===================================================================== -->
+ <target name="preSetup">
+ </target>
+ <!-- ===================================================================== -->
+ <!-- Steps to do after setup but before starting the build proper -->
+ <!-- ===================================================================== -->
+ <target name="postSetup">
+ </target>
+ <!-- ===================================================================== -->
+ <!-- Steps to do before fetching the build elements -->
+ <!-- ===================================================================== -->
+ <target name="preFetch">
+ </target>
+ <!-- ===================================================================== -->
+ <!-- Steps to do after fetching the build elements -->
+ <!-- ===================================================================== -->
+ <target name="postFetch">
+ <antcall target="replaceVersions"/>
+ </target>
+
+ <target name="replaceVersions">
+ <fail unless="version.full" message="Property version.full must be set" />
+ <fail unless="version.qualifier" message="Property version.qualifier must be set" />
+
+ <echo message="Updating versions in feature and plugin manifests. Full version: ${version.full}, qualifier: ${version.qualifier}"/>
+ <!-- make sure to select the test feature file as well -->
+ <replace dir="${buildDirectory}/features">
+ <include name="**/feature.xml"/>
+ <replacefilter token="0.0.0" value="${version.full}" />
+ <replacefilter token="VERSION_QUALIFIER" value="${version.qualifier}" />
+ </replace>
+ <!-- in a manual build started with export from the feature.xml, there is no
+ need to replace the versions in the plugin.xml files if they are set to 0.0.0,
+ but here it needs to be -->
+ <replace dir="${buildDirectory}/plugins">
+ <include name="**/plugin.xml"/>
+ <replacefilter token="0.0.0" value="${version.full}" />
+ </replace>
+ <replace dir="${buildDirectory}/plugins">
+ <include name="**/META-INF/MANIFEST.MF"/>
+ <replacefilter token="Bundle-Version: 0.0.0" value="Bundle-Version: ${version.full}" />
+ <replacefilter token="VERSION_QUALIFIER" value="${version.qualifier}" />
+ </replace>
+ </target>
+ <!-- ===================================================================== -->
+ <!-- Steps to do before generating the build scripts. -->
+ <!-- ===================================================================== -->
+ <target name="preGenerate">
+ <!-- fail unless="featureVersion" message="Property featureVersion must be set.
+ Either directly or in case of a nightly build with nightlyBuildFeatureVersionPrefix." />
+ -->
+ </target>
+ <!-- ===================================================================== -->
+ <!-- Steps to do after generating the build scripts. -->
+ <!-- ===================================================================== -->
+ <target name="postGenerate">
+ </target>
+ <!-- ===================================================================== -->
+ <!-- Steps to do before running the build.xmls for the elements being built. -->
+ <!-- ===================================================================== -->
+ <target name="preProcess">
+ </target>
+ <!-- ===================================================================== -->
+ <!-- Steps to do after running the build.xmls for the elements being built. -->
+ <!-- ===================================================================== -->
+ <target name="postProcess">
+ </target>
+ <!-- ===================================================================== -->
+ <!-- Steps to do before running assemble. -->
+ <!-- ===================================================================== -->
+ <target name="preAssemble">
+ </target>
+ <!-- ===================================================================== -->
+ <!-- Steps to do after running assemble. -->
+ <!-- ===================================================================== -->
+ <target name="postAssemble">
+ </target>
+ <!-- ===================================================================== -->
+ <!-- Steps to do after the build is done. -->
+ <!-- ===================================================================== -->
+ <target name="postBuild" depends="-prepareBuildResultsDirectory">
+ <antcall target="runTests"/>
+ <antcall target="package"/>
+ </target>
+ <!-- ===================================================================== -->
+ <!-- Run tests. -->
+ <!-- ===================================================================== -->
+ <property name="buildResultsDirectory" value="${buildDirectory}/results" />
+ <target name="runTests" if="isRunTests">
+ <property name="automatedTestsHome" location="${buildHome}/build-files/automatedTests"/>
+
+ <ant antfile="${automatedTestsHome}/run-tests.xml" target="run" dir="${automatedTestsHome}">
+ <property name="test.result.dir" value="${buildResultsDirectory}/testresults"/>
+ <!-- important inherited properties: testResultDir and cobertura.result.dir -->
+ </ant>
+
+ </target>
+ <!--======================================================-->
+ <!-- Preparing build results -->
+ <!-- ==================================================== -->
+ <target name="-prepareBuildResultsDirectory">
+ <echo message="Creating ${buildResultsDirectory}" />
+ <mkdir dir="${buildResultsDirectory}" />
+ </target>
+ <target name="package">
+ <copy todir="${buildResultsDirectory}" flatten="true">
+ <fileset dir="${buildDirectory}/${buildLabel}">
+ <include name="*.zip" />
+ </fileset>
+ </copy>
+ </target>
+
+ <target name="noDefault">
+ <echo message="You must specify a target when invoking this file" />
+ </target>
+</project>
Added: trunk/org.rubypeople.rdt.pluginbuilder/build-files/fetchSvnAll.xml
===================================================================
--- trunk/org.rubypeople.rdt.pluginbuilder/build-files/fetchSvnAll.xml (rev 0)
+++ trunk/org.rubypeople.rdt.pluginbuilder/build-files/fetchSvnAll.xml 2007-02-17 20:24:20 UTC (rev 1955)
@@ -0,0 +1,119 @@
+<project name="Generated">
+ <target name="fetch.svn.all">
+ <antcall target="svn.co">
+ <param name="target" value="features"/>
+ <param name="element.id" value="org.rubypeople.rdt"/>
+ <param name="project.name" value="org.rubypeople.rdt-feature"/>
+ </antcall>
+ <antcall target="svn.co">
+ <param name="target" value="plugins"/>
+ <param name="element.id" value="org.kxml2"/>
+ <param name="project.name" value="org.kxml2"/>
+ </antcall>
+ <antcall target="svn.co">
+ <param name="target" value="plugins"/>
+ <param name="element.id" value="org.rubypeople.rdt.doc.user"/>
+ <param name="project.name" value="org.rubypeople.rdt.doc.user"/>
+ </antcall>
+ <antcall target="svn.co">
+ <param name="target" value="plugins"/>
+ <param name="element.id" value="org.epic.regexp"/>
+ <param name="project.name" value="org.epic.regexp"/>
+ </antcall>
+ <antcall target="svn.co">
+ <param name="target" value="plugins"/>
+ <param name="element.id" value="org.rubypeople.rdt.ui"/>
+ <param name="project.name" value="org.rubypeople.rdt.ui"/>
+ </antcall>
+ <antcall target="svn.co">
+ <param name="target" value="plugins"/>
+ <param name="element.id" value="org.rubypeople.rdt"/>
+ <param name="project.name" value="org.rubypeople.rdt"/>
+ </antcall>
+ <antcall target="svn.co">
+ <param name="target" value="plugins"/>
+ <param name="element.id" value="org.rubypeople.rdt.testunit"/>
+ <param name="project.name" value="org.rubypeople.rdt.testunit"/>
+ </antcall>
+ <antcall target="svn.co">
+ <param name="target" value="plugins"/>
+ <param name="element.id" value="org.rubypeople.rdt.launching"/>
+ <param name="project.name" value="org.rubypeople.rdt.launching"/>
+ </antcall>
+ <antcall target="svn.co">
+ <param name="target" value="plugins"/>
+ <param name="element.id" value="org.rubypeople.rdt.debug.ui"/>
+ <param name="project.name" value="org.rubypeople.rdt.debug.ui"/>
+ </antcall>
+ <antcall target="svn.co">
+ <param name="target" value="plugins"/>
+ <param name="element.id" value="org.rubypeople.rdt.debug.core"/>
+ <param name="project.name" value="org.rubypeople.rdt.debug.core"/>
+ </antcall>
+ <antcall target="svn.co">
+ <param name="target" value="plugins"/>
+ <param name="element.id" value="org.rubypeople.rdt.core"/>
+ <param name="project.name" value="org.rubypeople.rdt.core"/>
+ </antcall>
+ <antcall target="svn.co">
+ <param name="target" value="plugins"/>
+ <param name="element.id" value="org.jruby"/>
+ <param name="project.name" value="org.jruby"/>
+ </antcall>
+ <antcall target="svn.co">
+ <param name="target" value="plugins"/>
+ <param name="element.id" value="org.rubypeople.rdt.refactoring"/>
+ <param name="project.name" value="org.rubypeople.rdt.refactoring"/>
+ </antcall>
+ <antcall target="svn.co">
+ <param name="target" value="features"/>
+ <param name="element.id" value="org.rubypeople.rdt-tests"/>
+ <param name="project.name" value="org.rubypeople.rdt-test-feature"/>
+ </antcall>
+ <antcall target="svn.co">
+ <param name="target" value="plugins"/>
+ <param name="element.id" value="org.rubypeople.eclipse.shams"/>
+ <param name="project.name" value="org.rubypeople.eclipse.shams"/>
+ </antcall>
+ <antcall target="svn.co">
+ <param name="target" value="plugins"/>
+ <param name="element.id" value="org.rubypeople.eclipse.testutils"/>
+ <param name="project.name" value="org.rubypeople.eclipse.testutils"/>
+ </antcall>
+ <antcall target="svn.co">
+ <param name="target" value="plugins"/>
+ <param name="element.id" value="org.rubypeople.rdt.core.tests"/>
+ <param name="project.name" value="org.rubypeople.rdt.core.tests"/>
+ </antcall>
+ <antcall target="svn.co">
+ <param name="target" value="plugins"/>
+ <param name="element.id" value="org.rubypeople.rdt.debug.core.tests"/>
+ <param name="project.name" value="org.rubypeople.rdt.debug.core.tests"/>
+ </antcall>
+ <antcall target="svn.co">
+ <param name="target" value="plugins"/>
+ <param name="element.id" value="org.rubypeople.rdt.debug.ui.tests"/>
+ <param name="project.name" value="org.rubypeople.rdt.debug.ui.tests"/>
+ </antcall>
+ <antcall target="svn.co">
+ <param name="target" value="plugins"/>
+ <param name="element.id" value="org.rubypeople.rdt.launching.tests"/>
+ <param name="project.name" value="org.rubypeople.rdt.launching.tests"/>
+ </antcall>
+ <antcall target="svn.co">
+ <param name="target" value="plugins"/>
+ <param name="element.id" value="org.rubypeople.rdt.tests.all"/>
+ <param name="project.name" value="org.rubypeople.rdt.tests.all"/>
+ </antcall>
+ <antcall target="svn.co">
+ <param name="target" value="plugins"/>
+ <param name="element.id" value="org.rubypeople.rdt.ui.tests"/>
+ <param name="project.name" value="org.rubypeople.rdt.ui.tests"/>
+ </antcall>
+ <antcall target="svn.co">
+ <param name="target" value="plugins"/>
+ <param name="element.id" value="org.rubypeople.rdt.refactoring.tests"/>
+ <param name="project.name" value="org.rubypeople.rdt.refactoring.tests"/>
+ </antcall>
+ </target>
+</project>
\ No newline at end of file
Added: trunk/org.rubypeople.rdt.pluginbuilder/build-files/subversionSupport.xml
===================================================================
--- trunk/org.rubypeople.rdt.pluginbuilder/build-files/subversionSupport.xml (rev 0)
+++ trunk/org.rubypeople.rdt.pluginbuilder/build-files/subversionSupport.xml 2007-02-17 20:24:20 UTC (rev 1955)
@@ -0,0 +1,23 @@
+<project name="to be included into customTargets.xml">
+
+ <import file="fetchSvnAll.xml"/>
+
+ <path id="project.classpath">
+ <pathelement location="${buildHome}/build-files/svn/svnant.jar"/>
+ <pathelement location="${buildHome}/build-files/svn/svnClientAdapter.jar"/>
+ </path>
+
+ <target name="fetchSubversion" if="is.svn.fetch">
+ <taskdef resource="svntask.properties" classpathref="project.classpath"/>
+ <property name="fetchTag" value="HEAD"/>
+ <antcall target="fetch.svn.all"/>
+ </target>
+
+ <target name="svn.co">
+ <property name="target.dir" value="${element.id}"/>
+ <svn javahl="false" username="${pluginbuilder.svn.user}" password="${pluginbuilder.svn.password}">
+ <checkout revision="${fetchTag}" url="${pluginbuilder.svn.url}/${project.name}" destPath="${buildDirectory}/${target}/${target.dir}" />
+ </svn>
+ </target>
+
+</project>
\ No newline at end of file
Added: trunk/org.rubypeople.rdt.pluginbuilder/build-files/svn/SVNCLIENTADAPTER-LICENSE
===================================================================
--- trunk/org.rubypeople.rdt.pluginbuilder/build-files/svn/SVNCLIENTADAPTER-LICENSE (rev 0)
+++ trunk/org.rubypeople.rdt.pluginbuilder/build-files/svn/SVNCLIENTADAPTER-LICENSE 2007-02-17 20:24:20 UTC (rev 1955)
@@ -0,0 +1,185 @@
+SVNClientAdapter Library License
+
+This license applies to all portions of SVNClientAdapter library, which
+are not externally-maintained libraries (e.g. JavaHL or JavaSVN).
+
+Such libraries have their own licenses; we recommend you read them, as
+their terms may differ from the terms below.
+
+=============================================================================
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, ...
[truncated message content] |