Add junit-3.8.2-build.xml to fix bug 155194.
authorKrzysztof Pawlik <nelchael@gentoo.org>
Wed, 15 Nov 2006 11:02:15 +0000 (11:02 +0000)
committerKrzysztof Pawlik <nelchael@gentoo.org>
Wed, 15 Nov 2006 11:02:15 +0000 (11:02 +0000)
Package-Manager: portage-2.1.2_rc1-r7

dev-java/junit/ChangeLog
dev-java/junit/Manifest
dev-java/junit/files/junit-3.8.2-build.xml [new file with mode: 0644]

index d39e3eeeec04fe14c86449a8bb5fbbeee85a3f63..9beeca89e579574ba99d7cc4019fee2e887ef536 100644 (file)
@@ -1,6 +1,10 @@
 # ChangeLog for dev-java/junit
 # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/junit/ChangeLog,v 1.27 2006/11/15 03:46:13 wltjr Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/junit/ChangeLog,v 1.28 2006/11/15 11:02:15 nelchael Exp $
+
+  15 Nov 2006; Krzysiek Pawlik <nelchael@gentoo.org>
+  +files/junit-3.8.2-build.xml:
+  Add junit-3.8.2-build.xml to fix bug 155194.
 
 *junit-3.8.2 (15 Nov 2006)
 
index b8ca291f08434c2a3ff84384b93c33a194c31272..5fb4334e6a506ddf148dc9bcdecca8dcb3cdb12a 100644 (file)
@@ -1,3 +1,10 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX junit-3.8.2-build.xml 3176 RMD160 1f224d755db6c5b0c255620b2b33d503078ba3c8 SHA1 43087ed52528088f63b03b1934240a5962931d09 SHA256 827fda6bc6f3f4983ce79fc7f8934ada5163e49966336b15d4a709c26549eeb1
+MD5 a74ea05f4ad4295a7fae9c7e54f5cfe3 files/junit-3.8.2-build.xml 3176
+RMD160 1f224d755db6c5b0c255620b2b33d503078ba3c8 files/junit-3.8.2-build.xml 3176
+SHA256 827fda6bc6f3f4983ce79fc7f8934ada5163e49966336b15d4a709c26549eeb1 files/junit-3.8.2-build.xml 3176
 DIST junit3.8.1.zip 441665 RMD160 d9f63f651dd0954ffca8975a8bcf2e53c6b14574 SHA1 049bcda1172e4190925d0d343fcc32158d4f1089 SHA256 884953028bc3d2d554f99b5f627a84d7f92a42754560c63829b0ab732ff9bab8
 DIST junit3.8.2.zip 461426 RMD160 c66d64d8aa738460490e62fd332c112076d9b662 SHA1 701578302e244e5173dca3040cce0774a5c39645 SHA256 aae23d20e6f4dc45b4bf0b10fedcbd209c100342a0cafce1aa07d2da6da1f24a
 EBUILD junit-3.8.1-r1.ebuild 1184 RMD160 734dd520518f8330d93b4e92c9e8e5e2c8113817 SHA1 7419b1ea5e8e7df2fe21c2f25e4a4d9325a5c010 SHA256 877a4e0d16d4bcc84fe88ceb05aa3e9a16f6783ff17b155a92d2403bc8227631
@@ -12,10 +19,10 @@ EBUILD junit-3.8.2.ebuild 1077 RMD160 ba27e6200796d75abf1b10021a939ce6096f121f S
 MD5 a72e1d45d00fa38f709e9497e631a50f junit-3.8.2.ebuild 1077
 RMD160 ba27e6200796d75abf1b10021a939ce6096f121f junit-3.8.2.ebuild 1077
 SHA256 8156b8f60993725ef1d42a3e3bc5b1d1b5823b43e772eac7b1000c494b212c25 junit-3.8.2.ebuild 1077
-MISC ChangeLog 4084 RMD160 a7bcf51a58656d5be33092cb3b173bdac2680834 SHA1 6288ee2a24eedba277f7cfffcd323d113e24ac71 SHA256 d55012bed5533d9be6871589237c7b484507afe1c00d09fc1d2e3aab98d16f4c
-MD5 66010ae34de6ea3c6a948e7a1198cfb6 ChangeLog 4084
-RMD160 a7bcf51a58656d5be33092cb3b173bdac2680834 ChangeLog 4084
-SHA256 d55012bed5533d9be6871589237c7b484507afe1c00d09fc1d2e3aab98d16f4c ChangeLog 4084
+MISC ChangeLog 4220 RMD160 319827fcb8550d14978bb1b3a1322e826510c94c SHA1 23e48095712da5bb2bc5e12de0195fc762e7730b SHA256 922ff11a777b3eb626529f1df3d0d912598ffefb3ca532ac711841d9efe5d848
+MD5 2b3b45a339ea1137f302a6afec035d3d ChangeLog 4220
+RMD160 319827fcb8550d14978bb1b3a1322e826510c94c ChangeLog 4220
+SHA256 922ff11a777b3eb626529f1df3d0d912598ffefb3ca532ac711841d9efe5d848 ChangeLog 4220
 MISC metadata.xml 157 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 SHA1 c37a6b9922aef61b5b3387655bccb6e3b16e0e26 SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9
 MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157
 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 metadata.xml 157
@@ -29,3 +36,10 @@ SHA256 b703de60a9ac48aebed2afce4c0dca09a09ec663068e9a630adea6fe59f3f375 files/di
 MD5 20bad8c34272b0d3eca7d68c76f38982 files/digest-junit-3.8.2 223
 RMD160 5b40a50f6c18d4440f831722aaf9d4f1ed8f80ce files/digest-junit-3.8.2 223
 SHA256 51dc8c731634d957e6ba33a2b68e03b483baefdcc9a5605f86662ef829a5df46 files/digest-junit-3.8.2 223
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.5 (GNU/Linux)
+
+iD8DBQFFWvPHgo/w9rxVVVERAn/UAKCU05rTsR/bWFz/mEfrbO0I15qzaQCghKcM
+BExLRBNbvykswenim0zP2Vs=
+=dUkr
+-----END PGP SIGNATURE-----
diff --git a/dev-java/junit/files/junit-3.8.2-build.xml b/dev-java/junit/files/junit-3.8.2-build.xml
new file mode 100644 (file)
index 0000000..ff5ec0f
--- /dev/null
@@ -0,0 +1,87 @@
+<?xml version="1.0" ?>
+<!-- JUnit build script using ant 1.4 --><project basedir="." default="dist" name="junit">
+       <property file="${user.home}/.junit.properties"/>
+       <property name="build.compiler" value="classic"/>
+       <property name="version" value="3.8.2"/>
+       <property name="dist" value="junit${version}"/>
+       <property name="versionfile" value="junit/runner/Version.java"/>
+       <property name="zipfile" value="${dist}.zip"/>
+       <target name="init">
+               <tstamp/>
+       </target>
+
+       <target depends="init" name="versiontag">
+               <filter token="version" value="${version}"/>
+               <copy file="${versionfile}" filtering="on" tofile="${versionfile}tmp"/>
+               <move file="${versionfile}tmp" tofile="${versionfile}"/>
+       </target>
+
+       <target depends="versiontag" name="build">
+               <javac debug="on" destdir="." source="1.3" srcdir="." target="1.3"/>    
+       </target>
+
+       <target depends="build" name="dist">
+               <delete dir="${dist}"/>
+               <mkdir dir="${dist}"/>
+               <jar basedir="." excludes="**/*.jar, junit/tests/**, junit/samples/**, **/*.class, doc/**, README.html, .classpath, .project, cpl-v10.html" jarfile="${dist}/src.jar"/>
+               <jar basedir="." excludes="**/*.jar, junit/tests/**, junit/samples/**, **/*.java, doc/**, README.html,  build.xml, jar-manifest.txt, .classpath, .project, cpl-v10.html" jarfile="${dist}/junit.jar"/>
+               <copy todir="${dist}/junit/samples">
+                       <fileset dir="junit/samples"/>
+               </copy>
+               <copy todir="${dist}/junit/tests">
+                       <fileset dir="junit/tests"/>
+               </copy>
+
+
+               <delete file="${dist}/junit/tests/runner/test.jar"/> 
+               <jar basedir="." includes="junit/tests/runner/LoadedFromJar.class" jarfile="${dist}/junit/tests/runner/test.jar"/> 
+
+               <mkdir dir="${dist}/javadoc"/>
+               <javadoc author="false" destdir="${dist}/javadoc" packagenames="junit.framework.*, junit.extensions.*" source="1.3" sourcepath="." stylesheetfile="stylesheet.css" use="false" version="false" windowtitle="JUnit API"/>
+               <copy todir="${dist}/doc">
+                       <fileset dir="doc"/>
+               </copy>         
+               <copy file="README.html" tofile="${dist}/README.html"/>
+               <copy file="cpl-v10.html" tofile="${dist}/cpl-v10.html"/>
+               
+               <java classname="junit.textui.TestRunner" fork="yes">
+                       <arg value="junit.samples.AllTests"/>
+                       <classpath>
+                               <pathelement location="${dist}"/>
+                               <pathelement location="${dist}/junit.jar"/>
+                       </classpath>
+               </java>
+       </target>
+       
+       <target depends="dist" name="zip">
+               <zip basedir="." includes="${dist}/**" zipfile="${zipfile}"/>
+       </target>
+       
+       <target depends="dist" name="awtui">
+               <java classname="junit.awtui.TestRunner" fork="yes">
+                       <arg value="junit.samples.AllTests"/>
+                       <classpath>
+                               <pathelement location="${dist}"/>
+                               <pathelement location="${dist}/junit.jar"/>
+                       </classpath>
+               </java>
+       </target>
+       
+       <target depends="dist" name="swingui">
+               <java classname="junit.swingui.TestRunner" fork="yes">
+                       <arg value="junit.samples.AllTests"/>
+                       <classpath>
+                               <pathelement location="${dist}"/>
+                               <pathelement location="${dist}/junit.jar"/>
+                       </classpath>
+               </java>
+       </target>
+
+       <target name="clean">
+               <delete dir="${dist}" quiet="true"/>                    
+               <delete file="${zipfile}" quiet="true"/> 
+               <delete>
+                       <fileset dir="${basedir}" includes="**/*.class"/> 
+               </delete>
+       </target>
+</project>