summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-java/junit-addons/files
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-java/junit-addons/files')
-rw-r--r--dev-java/junit-addons/files/1.4-build.xml230
-rw-r--r--dev-java/junit-addons/files/1.4-common.properties15
2 files changed, 245 insertions, 0 deletions
diff --git a/dev-java/junit-addons/files/1.4-build.xml b/dev-java/junit-addons/files/1.4-build.xml
new file mode 100644
index 000000000000..5b171e1051ab
--- /dev/null
+++ b/dev-java/junit-addons/files/1.4-build.xml
@@ -0,0 +1,230 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<!--
+ - Build file for the JUnit-addons Project.
+ -
+ - This script should be started with the following command line :
+ -
+ - ant <target>
+ -
+ - Run "ant -projecthelp" to get a list of available targets.
+ -
+ - Take from upstream CVS and modified a little for Gentoo:
+ - Version: Revision: 1.15 Date: 2003/04/09 04:41:10
+ - Author: Vladimir R. Bossicard (vbossica@users.sourceforge.net)
+ -->
+
+<project name="junit-addons" default="build" basedir=".">
+
+ <property file="build.properties" />
+ <property file="common.properties" />
+
+ <!-- directories settings -->
+
+ <property name="src" value="src" />
+ <property name="main.src" value="src/main" />
+ <property name="test.src" value="src/test" />
+ <property name="example.src" value="src/example" />
+
+ <property name="build.dest" value="build" />
+ <property name="api.dest" value="${build.dest}/api" />
+ <property name="classes.dest" value="${build.dest}/classes" />
+ <property name="test.classes.dest" value="${build.dest}/classes-test" />
+ <property name="example.classes.dest" value="${build.dest}/classes-example" />
+ <property name="dist.dest" value="dist" />
+
+ <!-- miscellaneous settings -->
+
+ <property name="compilation.debug" value="on" />
+ <property name="compilation.deprecation" value="off" />
+ <property name="compilation.verbose" value="off" />
+
+ <!--
+ - Initializes the build and check if all libraries are available.
+ -->
+ <target name="init">
+ <tstamp/>
+ <mkdir dir="${build.dest}" />
+ <mkdir dir="${classes.dest}" />
+ <mkdir dir="${test.classes.dest}" />
+ <mkdir dir="${example.classes.dest}" />
+ <mkdir dir="${api.dest}" />
+ <mkdir dir="${dist.dest}" />
+ </target>
+
+ <path id="libraries">
+ <pathelement location="${jdom.jar}" />
+ <pathelement location="${jaxen.jar}" />
+ <pathelement location="${saxpath.jar}" />
+ <pathelement location="${ant.jar}" />
+ <pathelement location="${junit.jar}" />
+ <pathelement location="${xerces.jar}" />
+ <pathelement location="${xml-apis.jar}" />
+ <pathelement location="${commons-logging.jar}" />
+ </path>
+
+ <!--
+ - Compiles the source code to the build dir
+ - Copy all other resources to the build dir
+ - which are needed to run the application alone
+ -->
+ <target name="build"
+ depends="init"
+ description="compiles the junit-addons classes">
+ <javac srcdir="${main.src}"
+ destdir="${classes.dest}"
+ debug="${compilation.debug}"
+ verbose="${compilation.verbose}"
+ deprecation="${compilation.deprecation}">
+ <classpath>
+ <path refid="libraries"/>
+ </classpath>
+ </javac>
+
+ <javac srcdir="${example.src}"
+ destdir="${example.classes.dest}"
+ debug="${compilation.debug}"
+ verbose="${compilation.verbose}"
+ deprecation="${compilation.deprecation}">
+ <classpath>
+ <pathelement location="${classes.dest}" />
+ <path refid="libraries"/>
+ </classpath>
+ </javac>
+
+ <javac srcdir="${test.src}"
+ destdir="${test.classes.dest}"
+ debug="${compilation.debug}"
+ verbose="${compilation.verbose}"
+ deprecation="${compilation.deprecation}">
+ <classpath>
+ <pathelement location="${classes.dest}" />
+ <pathelement location="${example.classes.dest}" />
+ <path refid="libraries"/>
+ </classpath>
+ </javac>
+ </target>
+
+ <target name="test"
+ depends="build"
+ description="tests the junit-addons classes">
+ <java classname="junitx.runner.TestRunner" fork="yes">
+ <jvmarg value="-DPropertyManager.file=${test.src}/tests.properties" />
+ <jvmarg value="-DXMLPropertyManager.file=${test.src}/tests.xml" />
+ <arg line="-verbose" />
+ <arg line="-runner.properties /home/vladimir/projects/junit-addons-runner/src/main/conf/runner.properties" />
+ <arg line="-test.properties ${test.src}/tests.properties" />
+ <arg line="-class AllTests" />
+ <classpath>
+ <pathelement location="${classes.dest}" />
+ <pathelement location="${test.classes.dest}" />
+ <pathelement location="${example.classes.dest}" />
+ <pathelement location="${example.src}" />
+ <pathelement location="${junit-addons-runner.jar}" />
+ <path refid="libraries"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="test-old"
+ depends="build">
+ <java classname="junit.textui.TestRunner" fork="yes">
+ <arg line="-class AllTests" />
+ <jvmarg value="-DPropertyManager.file=${test.src}/tests.properties" />
+ <jvmarg value="-DXMLPropertyManager.file=${test.src}/tests.xml" />
+ <classpath>
+ <pathelement location="${classes.dest}" />
+ <pathelement location="${test.classes.dest}" />
+ <pathelement location="${example.classes.dest}" />
+ <pathelement location="${example.src}" />
+ <path refid="libraries"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="example"
+ depends="build"
+ description="compiles and runs the examples">
+ <javac srcdir="${example.src}"
+ destdir="${test.classes.dest}"
+ debug="${compilation.debug}"
+ verbose="${compilation.verbose}"
+ deprecation="${compilation.deprecation}">
+ <classpath>
+ <pathelement location="${classes.dest}" />
+ <path refid="libraries"/>
+ </classpath>
+ </javac>
+ <java classname="junitx.tool.TestClassValidator" fork="yes">
+ <arg line="junitx.example.ValidationExample" />
+ <classpath>
+ <pathelement location="${classes.dest}" />
+ <pathelement location="${test.classes.dest}" />
+ <path refid="libraries"/>
+ </classpath>
+ </java>
+ </target>
+
+ <!--
+ - Generates the junit-addons API
+ -->
+ <target name="api"
+ depends="build"
+ description="generates the API">
+ <javadoc
+ packagenames="junitx.*"
+ sourcepath="${main.src}"
+ destdir="${api.dest}"
+ overview="${main.src}/overview.html"
+ author="true"
+ version="true"
+ protected="true"
+ use="false"
+ windowtitle="${project.title} v${project.version}"
+ doctitle="${project.title}, version ${project.version}&lt;br>API specification"
+ header="&lt;b>${project.title}&lt;br>version ${project.version}&lt;/b>"
+ bottom="Copyright &amp;#169; ${project.year} ${project.holder}. All Rights Reserved.">
+ <classpath>
+ <path refid="libraries"/>
+ </classpath>
+ </javadoc>
+ </target>
+
+ <!--
+ - Generates a jar archive with the content of the build directory
+ -->
+ <target name="release"
+ depends="clean, build"
+ description="Generate the junit-addons jar archive" >
+ <delete quiet="true">
+ <fileset dir="${dist.dest}/" includes="${project.name}-${project.version}.jar" />
+ </delete>
+ <jar jarfile="${dist.dest}/${project.name}-${project.version}.jar"
+ basedir="${classes.dest}" >
+ <manifest>
+ <attribute name="Implementation-Vendor"
+ value="${project.holder}" />
+ <attribute name="Implementation-Version"
+ value="${project.version}" />
+ <attribute name="Implementation-Title"
+ value="${project.title}" />
+ </manifest>
+ </jar>
+ <zip zipfile="${dist.dest}/${project.name}-${project.version}.jar"
+ update="yes">
+ <zipfileset dir="." includes="LICENSE" prefix="META-INF" />
+ </zip>
+ <zip zipfile="${dist.dest}/src.jar">
+ <zipfileset dir="${src}" excludes="**/sflogo.png" prefix="src" />
+ </zip>
+ </target>
+
+ <!--
+ - Delete all generate directories and their content
+ -->
+ <target name="clean">
+ <delete dir="${build.dest}" quiet="true" />
+ <delete dir="${dist.dest}" quiet="true" />
+ </target>
+
+</project>
diff --git a/dev-java/junit-addons/files/1.4-common.properties b/dev-java/junit-addons/files/1.4-common.properties
new file mode 100644
index 000000000000..f1e3efd9fa4a
--- /dev/null
+++ b/dev-java/junit-addons/files/1.4-common.properties
@@ -0,0 +1,15 @@
+# ----------------------------------------------------------------------------
+# Common properties used by both the build.xml and committer.xml files.
+#
+# Taken from upstream CVS:
+# Version: Revision: 1.2 Date: 2003/04/02 04:50:33
+# Author: Vladimir R. Bossicard (vbossica@users.sourceforge.net)
+# ----------------------------------------------------------------------------
+
+# Project settings
+
+project.name = junit-addons
+project.title = JUnit-addons
+project.holder = Vladimir R. Bossicard
+project.year = 2002-2003
+project.version = 1.4