summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Nichols <nichoj@gentoo.org>2006-10-13 03:53:58 +0000
committerJoshua Nichols <nichoj@gentoo.org>2006-10-13 03:53:58 +0000
commit72bfaf3a7a0daa38e6c837a36a9f65e26e04fd58 (patch)
treed6466d13e9d05030c74db7dd4865d768e534acab /dev-java/jamon/files
parenttouchup autotool usage #151026 (diff)
downloadgentoo-2-72bfaf3a7a0daa38e6c837a36a9f65e26e04fd58.tar.gz
gentoo-2-72bfaf3a7a0daa38e6c837a36a9f65e26e04fd58.tar.bz2
gentoo-2-72bfaf3a7a0daa38e6c837a36a9f65e26e04fd58.zip
Initial import, bug #97009.
(Portage version: 2.1.2_pre2-r6)
Diffstat (limited to 'dev-java/jamon/files')
-rw-r--r--dev-java/jamon/files/build-1.0.xml54
-rw-r--r--dev-java/jamon/files/digest-jamon-1.01-r13
-rw-r--r--dev-java/jamon/files/jamon-1.01-java1.5.patch41
3 files changed, 98 insertions, 0 deletions
diff --git a/dev-java/jamon/files/build-1.0.xml b/dev-java/jamon/files/build-1.0.xml
new file mode 100644
index 000000000000..4153ebfa4868
--- /dev/null
+++ b/dev-java/jamon/files/build-1.0.xml
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!---
+ @author: Saleem Abdulrasool <compnerd@gentoo.org>
+ @date: 5/9/2005
+ @revision: 1.0_alpha
+
+ @notes: Call using the following: ant -f build.xml -Dproject.name=${project name} -Dpackage.name=${package name}
+-->
+
+<project name="Gentoo_Builder" default="jar" basedir=".">
+ <property name="src" value="src"/>
+ <property name="build" value="build"/>
+ <property name="dist" value="dist"/>
+
+ <property name="pkg" value="${package.name}"/>
+ <property name="jar" value="${project.name}.jar"/>
+
+ <!-- Override any defined properties -->
+ <property file="build.properties"/>
+
+ <target name="init">
+ <tstamp/>
+ <mkdir dir="${build}"/>
+ <mkdir dir="${dist}"/>
+ <mkdir dir="${dist}/doc"/>
+ </target>
+
+ <target name="compile" depends="init">
+ <javac srcdir="${src}" destdir="${build}" classpath="${classpath}"/>
+ </target>
+
+ <target name="manifest" depends="init">
+ <manifest file="${build}/MANIFEST.MF" mode="update">
+ <attribute name="Built-By" value="Gentoo Portage"/>
+ </manifest>
+ </target>
+
+ <target name="jar" depends="compile,manifest">
+ <jar jarfile="${dist}/${jar}" manifest="${build}/MANIFEST.MF">
+ <fileset dir="${build}"/>
+ </jar>
+ </target>
+
+ <target name="javadoc" depends="compile">
+ <javadoc destdir="${dist}/doc/api">
+ <fileset dir="${src}"/>
+ </javadoc>
+ </target>
+
+ <target name="clean">
+ <delete dir="${build}"/>
+ <delete dir="${dist}"/>
+ </target>
+</project>
diff --git a/dev-java/jamon/files/digest-jamon-1.01-r1 b/dev-java/jamon/files/digest-jamon-1.01-r1
new file mode 100644
index 000000000000..20c99f644e7f
--- /dev/null
+++ b/dev-java/jamon/files/digest-jamon-1.01-r1
@@ -0,0 +1,3 @@
+MD5 0712890e259f639230d2858bb761e0b8 JAMonAll_103005.zip 143825
+RMD160 9e59e83f28cc998053808789d7c6095176755a11 JAMonAll_103005.zip 143825
+SHA256 23eceb23264c4643846372c6454f9406d2435aeaf840a183033d9fa50176c9ab JAMonAll_103005.zip 143825
diff --git a/dev-java/jamon/files/jamon-1.01-java1.5.patch b/dev-java/jamon/files/jamon-1.01-java1.5.patch
new file mode 100644
index 000000000000..e7ad896f1a11
--- /dev/null
+++ b/dev-java/jamon/files/jamon-1.01-java1.5.patch
@@ -0,0 +1,41 @@
+diff -ru Code/com/jamonapi/utils/CommandIterator.java Code-patched/com/jamonapi/utils/CommandIterator.java
+--- Code/com/jamonapi/utils/CommandIterator.java 2004-01-29 22:42:34.000000000 -0500
++++ Code-patched/com/jamonapi/utils/CommandIterator.java 2005-11-04 08:52:30.000000000 -0500
+@@ -38,8 +38,8 @@
+
+
+ /** Iterate through an Enumeration passing the Command object each element in the Collection **/
+- public static void iterate(Enumeration enum, Command command)throws Exception {
+- iterate(new EnumIterator(enum) , command);
++ public static void iterate(Enumeration my_enum, Command command)throws Exception {
++ iterate(new EnumIterator(my_enum) , command);
+ }
+
+ /** Iterate passing each Command each Object that is being iterated **/
+diff -ru Code/com/jamonapi/utils/EnumIterator.java Code-patched/com/jamonapi/utils/EnumIterator.java
+--- Code/com/jamonapi/utils/EnumIterator.java 2004-01-29 22:42:34.000000000 -0500
++++ Code-patched/com/jamonapi/utils/EnumIterator.java 2005-11-04 08:52:10.000000000 -0500
+@@ -6,18 +6,18 @@
+
+
+ public class EnumIterator extends java.lang.Object implements java.util.Iterator {
+- Enumeration enum;
++ Enumeration my_enum;
+
+- public EnumIterator(Enumeration enum) {
+- this.enum=enum;
++ public EnumIterator(Enumeration my_enum) {
++ this.my_enum=my_enum;
+ }
+
+ public boolean hasNext() {
+- return enum.hasMoreElements();
++ return my_enum.hasMoreElements();
+ }
+
+ public Object next() {
+- return enum.nextElement();
++ return my_enum.nextElement();
+ }
+
+ public void remove() {