aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerkan Kaba <serkan@gentoo.org>2008-10-03 21:53:15 +0000
committerSerkan Kaba <serkan@gentoo.org>2008-10-03 21:53:15 +0000
commit328ac2ca2e0d1b35ba804d37e3cf43153fcdf33b (patch)
tree3b13215600c8c2dda9e173220465518131b29563 /dev-util
parentRemove unneeded comments. (diff)
downloadjava-328ac2ca2e0d1b35ba804d37e3cf43153fcdf33b.tar.gz
java-328ac2ca2e0d1b35ba804d37e3cf43153fcdf33b.tar.bz2
java-328ac2ca2e0d1b35ba804d37e3cf43153fcdf33b.zip
In tree.
svn path=/java-overlay/; revision=7041
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/statcvs/ChangeLog57
-rw-r--r--dev-util/statcvs/Manifest6
-rw-r--r--dev-util/statcvs/files/statcvs-0.4.0-build.xml.patch16
-rw-r--r--dev-util/statcvs/files/statcvs-0.4.0-external-jtreemap.patch40
-rw-r--r--dev-util/statcvs/metadata.xml8
-rw-r--r--dev-util/statcvs/statcvs-0.4.0.ebuild69
-rw-r--r--dev-util/statsvn/ChangeLog45
-rw-r--r--dev-util/statsvn/Manifest6
-rw-r--r--dev-util/statsvn/files/statsvn-0.4.1-build.xml.patch19
-rw-r--r--dev-util/statsvn/files/statsvn-0.4.1-fixstatcvsusage.patch12
-rw-r--r--dev-util/statsvn/metadata.xml8
-rw-r--r--dev-util/statsvn/statsvn-0.4.1.ebuild75
12 files changed, 0 insertions, 361 deletions
diff --git a/dev-util/statcvs/ChangeLog b/dev-util/statcvs/ChangeLog
deleted file mode 100644
index 34ceb789..00000000
--- a/dev-util/statcvs/ChangeLog
+++ /dev/null
@@ -1,57 +0,0 @@
-# ChangeLog for dev-util/statcvs
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: $
-
- 03 Oct 2008; Serkan Kaba <serkan@gentoo.org> statcvs-0.4.0.ebuild:
- Move EANT_BUILD_TARGET up.
-
- 03 Oct 2008; Petteri Räty <betelgeuse@gentoo.org> statcvs-0.4.0.ebuild:
- Code review and keyword ~x86.
-
- 27 Sep 2008; Serkan Kaba <serkan@gentoo.org> statcvs-0.4.0.ebuild:
- Add note about updating dev-java/jtreemap.
-
- 27 Sep 2008; Serkan Kaba <serkan@gentoo.org> statcvs-0.4.0.ebuild:
- Add einfo before bundled jar removal.
-
- 20 Sep 2008; Serkan Kaba <serkan@gentoo.org> statcvs-0.4.0.ebuild:
- Remove ~x86 keyword.
-
- 20 Sep 2008; Serkan Kaba <serkan@gentoo.org> statcvs-0.4.0.ebuild:
- Repoman fixes.
-
- 20 Sep 2008; Serkan Kaba <serkan@gentoo.org> statcvs-0.4.0.ebuild,
- files/statcvs-0.4.0-build.xml.patch,
- +files/statcvs-0.4.0-external-jtreemap.patch:
- Fix building without tests. Unbundle jtreemap.
-
- 20 Sep 2008; Serkan Kaba <serkan@gentoo.org>
- files/statcvs-0.4.0-build.xml.patch:
- Revert change in revision #7004 for now.
-
- 19 Sep 2008; Serkan Kaba <serkan@gentoo.org>
- files/statcvs-0.4.0-build.xml.patch:
- Fix building without tests.
-
- 19 Sep 2008; Serkan Kaba <serkan@gentoo.org> -statcvs-0.2.4a.ebuild,
- -files/statcvs-0.2.4a-build.xml.patch, -statcvs-0.3.ebuild,
- -files/statcvs-0.3-build.xml.patch, +statcvs-0.4.0.ebuild,
- +files/statcvs-0.4.0-build.xml.patch:
- Version bump.
-
- 16 Mar 2007; Miroslav Šulc <fordfrog@gentoo.org> +statcvs-0.3.ebuild,
- +files/statcvs-0.3-build.xml.patch:
- Version bump.
-
- 03 Dec 2006; Miroslav Šulc <miroslav.sulc@startnet.cz> ChangeLog:
- version bump
-
- 01 Dec 2006; Miroslav Šulc <miroslav.sulc@startnet.cz> ChangeLog:
- corrected repoman's complaints
-
- 01 Dec 2006; Miroslav Šulc <miroslav.sulc@startnet.cz> ChangeLog:
- corrected building of the jar
-
- 01 Dec 2006; Miroslav Šulc <miroslav.sulc@startnet.cz> ChangeLog:
- new ebuild
-
diff --git a/dev-util/statcvs/Manifest b/dev-util/statcvs/Manifest
deleted file mode 100644
index 01b175ac..00000000
--- a/dev-util/statcvs/Manifest
+++ /dev/null
@@ -1,6 +0,0 @@
-AUX statcvs-0.4.0-build.xml.patch 687 RMD160 de3ce8e153ccd756361f7d0a6d7c83151dcb5ae1 SHA1 b2424c2c957022546741b63b6f47e1f01ad0a9c2 SHA256 a7fb86f3eea8d2be4c7f3555f4cef54b1ce40a85668c702d29102ea8725177c3
-AUX statcvs-0.4.0-external-jtreemap.patch 2283 RMD160 8b7b4f4d7574695bceca7933298c2568fef338a8 SHA1 565500ea4ec36ef7703db84bc29467f345c9e427 SHA256 260527e5bd8d584888d30c8b9671342a941e671750aaee2a0e6bfe77b00653ea
-DIST statcvs-0.4.0-source.zip 8745997 RMD160 6eb0ed26a673c210edda543248e593d3ec3c0a41 SHA1 b5c0395bd51685ee0999d8105a2562de7d82329f SHA256 05b046a3dbb7a4846b8bd7ab37ed72ccf168ebb7ef6289ba8551ed85418cab00
-EBUILD statcvs-0.4.0.ebuild 1598 RMD160 c09afa69acfb4283d314db0e27deaeb594c4bed3 SHA1 e2b6f0173cc2c44fc6f31965d5ee39264b696d67 SHA256 15427f50422c433907e48295414fb0a4edb461ae9b9386f35e2dfa495c45d549
-MISC ChangeLog 1934 RMD160 1ff778409083f1c9e5ec601f8bcbd48bb7de3610 SHA1 6e5e3e89c8685e208139d0bacf166d014d699c3a SHA256 d4606690eb58dd4a0d588e9497f5fbd7b4510f4689b6ecc1037ea7f12e8d425c
-MISC metadata.xml 217 RMD160 6a03b58e975ef9766c1ba359b8cf73372aae1409 SHA1 9661e29f710f8b88d1ebad0d7cfa2716ae869b51 SHA256 00a5772b0da0819b665dba21d321e4e2393c818907d38678d179cafd5036c7f2
diff --git a/dev-util/statcvs/files/statcvs-0.4.0-build.xml.patch b/dev-util/statcvs/files/statcvs-0.4.0-build.xml.patch
deleted file mode 100644
index 66b8d291..00000000
--- a/dev-util/statcvs/files/statcvs-0.4.0-build.xml.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-diff -Nur statcvs-0.4.0/build.xml statcvs-0.4.0_patched/build.xml
---- statcvs-0.4.0/build.xml 2008-04-21 18:33:32.000000000 +0300
-+++ statcvs-0.4.0_patched/build.xml 2008-09-19 22:22:32.000000000 +0300
-@@ -148,11 +148,8 @@
- </classpath>
- </java>
- </target>
-- <target name="jar" depends="test">
-+ <target name="jar">
- <!-- Creates an executable jar file for the project -->
-- <unjar src="${lib}/${jfreechart.jar}" dest="${build}" />
-- <unjar src="${lib}/${jcommon.jar}" dest="${build}" />
-- <unjar src="${lib}/jdom.jar" dest="${build}" />
- <mkdir dir="${dist}" />
- <jar jarfile="${dist}/${project.jar}" basedir="${build}">
- <manifest>
diff --git a/dev-util/statcvs/files/statcvs-0.4.0-external-jtreemap.patch b/dev-util/statcvs/files/statcvs-0.4.0-external-jtreemap.patch
deleted file mode 100644
index cd0c5ed7..00000000
--- a/dev-util/statcvs/files/statcvs-0.4.0-external-jtreemap.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-diff -Nur statcvs-0.4.0/src/net/sf/statcvs/output/RepoMapPageMaker.java statcvs-0.4.0_patched/src/net/sf/statcvs/output/RepoMapPageMaker.java
---- statcvs-0.4.0/src/net/sf/statcvs/output/RepoMapPageMaker.java 2008-04-14 21:35:00.000000000 +0300
-+++ statcvs-0.4.0_patched/src/net/sf/statcvs/output/RepoMapPageMaker.java 2008-09-20 20:46:05.000000000 +0300
-@@ -20,7 +20,8 @@
- package net.sf.statcvs.output;
-
- import java.io.BufferedWriter;
--import java.io.File;
-+import java.io.File;
-+import java.io.FileInputStream;
- import java.io.FileWriter;
- import java.io.IOException;
- import java.io.InputStream;
-@@ -92,7 +93,7 @@
- }
-
- private String getApplet() {
-- return "<applet archive=\"./" + Messages.getString("JTREEMAP_JAR") + "\" code=\"net.sf.jtreemap.swing.example.JTreeMapAppletExample\""
-+ return "<applet archive=\"./jtreemap.jar\" code=\"net.sf.jtreemap.swing.example.JTreeMapAppletExample\""
- + " width=\"940\" height=\"600\"><param name=\"dataFile\" value=\"" + REPO_FILE + "\"/>" + "<param name=\"viewTree\" value=\"true\"/>"
- + "<param name=\"showWeight\" value=\"true\"/>" + "<param name=\"valuePrefix\" value=\"Change:\"/>"
- + "<param name=\"weightPrefix\" value=\"LOC:\"/>" + "<param name=\"dataFileType\" value=\"xml\"/>"
-@@ -102,7 +103,7 @@
- private void buildXmlForJTreeMap() {
- BufferedWriter out = null;
- try {
-- copyJar(Messages.getString("JTREEMAP_JAR"));
-+ copyJar("jtreemap.jar");
- out = new BufferedWriter(new FileWriter(ConfigurationOptions.getOutputDir() + REPO_FILE));
- out.write("<?xml version='1.0' encoding='ISO-8859-1'?>\n");
- // out.append("<!DOCTYPE root SYSTEM \"TreeMap.dtd\" >\n");
-@@ -129,7 +130,7 @@
- private void copyJar(final String jtreemapJar) throws IOException {
- InputStream stream = null;
- try {
-- stream = RepoMapPageMaker.class.getResourceAsStream(WEB_FILE_PATH + jtreemapJar);
-+ stream = new FileInputStream("/usr/share/jtreemap/lib/" + jtreemapJar);
- if (stream != null) {
- FileUtils.copyFile(stream, new File(ConfigurationOptions.getOutputDir() + jtreemapJar));
- } else {
diff --git a/dev-util/statcvs/metadata.xml b/dev-util/statcvs/metadata.xml
deleted file mode 100644
index 40758327..00000000
--- a/dev-util/statcvs/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>java</herd>
-<maintainer>
- <email>java@gentoo.org</email>
-</maintainer>
-</pkgmetadata>
diff --git a/dev-util/statcvs/statcvs-0.4.0.ebuild b/dev-util/statcvs/statcvs-0.4.0.ebuild
deleted file mode 100644
index edba65c0..00000000
--- a/dev-util/statcvs/statcvs-0.4.0.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=1
-JAVA_PKG_IUSE="doc source test"
-
-inherit eutils java-pkg-2 java-ant-2
-
-DESCRIPTION="StatCVS generates HTML reports from CVS repository logs."
-HOMEPAGE="http://statcvs.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}-source.zip"
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-COMMON_DEPEND="
- dev-java/jcommon:1.0
- dev-java/jfreechart:1.0
- dev-java/jdom:1.0"
-
-DEPEND=">=virtual/jdk-1.4
- app-arch/unzip
- test? ( dev-java/ant-junit:0 )
- ${COMMON_DEPEND}"
-
-RDEPEND=">=virtual/jre-1.4
- dev-util/cvs
- dev-java/jtreemap:0
- ${COMMON_DEPEND}"
-
-EANT_BUILD_TARGET="compile copyfiles jar"
-
-src_unpack() {
- unpack ${A}
-
- cd "${S}" || die
- epatch "${FILESDIR}"/${P}-build.xml.patch
- epatch "${FILESDIR}"/${P}-external-jtreemap.patch
-
- einfo "Removing bundled jars."
- find . -name "*.jar" -print -delete
-
- cd "${S}"/lib || die
- java-pkg_jar-from jcommon-1.0 jcommon.jar jcommon-1.0.6.jar
- java-pkg_jar-from jfreechart-1.0 jfreechart.jar jfreechart-1.0.3.jar
- java-pkg_jar-from jdom-1.0 jdom.jar
-}
-
-src_install() {
- java-pkg_dojar dist/${PN}.jar
- java-pkg_dolauncher ${PN} --main net.sf.statcvs.Main
-
- use doc && java-pkg_dohtml -r doc/*
- use source && java-pkg_dosrc src/net
-}
-
-src_test() {
- java-pkg_jar-from --into lib junit
- ANT_TASKS="ant-junit" eant test
-}
-
-pkg_postinst() {
- elog "For instructions on how to use StatCVS see"
- elog "http://statcvs.sourceforge.net/manual/"
- elog "You need to regenerate statistics"
- elog "if you update dev-java/jtreemap"
-}
diff --git a/dev-util/statsvn/ChangeLog b/dev-util/statsvn/ChangeLog
deleted file mode 100644
index c6e2c9e9..00000000
--- a/dev-util/statsvn/ChangeLog
+++ /dev/null
@@ -1,45 +0,0 @@
-# ChangeLog for dev-util/statsvn
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: $
-
- 03 Oct 2008; Serkan Kaba <serkan@gentoo.org> statsvn-0.4.1.ebuild:
- Remove unneeded comments.
-
- 03 Oct 2008; Petteri Räty <betelgeuse@gentoo.org> statsvn-0.4.1.ebuild:
- Code review and keyword ~x86.
-
- 27 Sep 2008; Serkan Kaba <serkan@gentoo.org> statsvn-0.4.1.ebuild:
- Add note about updating dev-java/jtreemap.
-
- 27 Sep 2008; Serkan Kaba <serkan@gentoo.org> statsvn-0.4.1.ebuild:
- Add einfo before bundled jar removal.
-
- 20 Sep 2008; Serkan Kaba <serkan@gentoo.org> statsvn-0.4.1.ebuild:
- Remove ~x86 keyword.
-
- 20 Sep 2008; Serkan Kaba <serkan@gentoo.org> statsvn-0.4.1.ebuild:
- Remove bundled jars. Fix javadoc. Fix quoting.
-
- 19 Sep 2008; Serkan Kaba <serkan@gentoo.org> -statsvn-0.2.0.ebuild,
- -files/statsvn-0.2.0-test.patch, -statsvn-0.3.1.ebuild,
- -files/statsvn-0.3.1-build.xml.patch, +statsvn-0.4.1.ebuild,
- +files/statsvn-0.4.1-build.xml.patch,
- +files/statsvn-0.4.1-fixstatcvsusage.patch:
- Version bump.
-
- 16 Mar 2007; Miroslav Šulc <fordfrog@gentoo.org> +statsvn-0.3.1.ebuild,
- +files/statsvn-0.3.1-build.xml.patch:
- Version bump. Tests do not compile.
-
- 03 Dec 2006; Miroslav Šulc <miroslav.sulc@startnet.cz> ChangeLog:
- version bump + few corrections including launcher script
-
- 24 Nov 2006; Miroslav Šulc <miroslav.sulc@startnet.cz> ChangeLog:
- Patched tests so they run in sandbox + added launcher
-
- 23 Nov 2006; Miroslav Šulc <miroslav.sulc@startnet.cz> ChangeLog:
- Added tests
-
- 23 Nov 2006; Miroslav Šulc <miroslav.sulc@startnet.cz> ChangeLog:
- Ebuild created
-
diff --git a/dev-util/statsvn/Manifest b/dev-util/statsvn/Manifest
deleted file mode 100644
index 86c3173b..00000000
--- a/dev-util/statsvn/Manifest
+++ /dev/null
@@ -1,6 +0,0 @@
-AUX statsvn-0.4.1-build.xml.patch 783 RMD160 683719fe92377fa841bd977e68875b17d82bf1d7 SHA1 51faf37e42a0e5a0a84abf7826ca298a878a4b63 SHA256 2d90851c44ceff1731965ebf696905d925e22477f0e2e5b9d9f11601d79a4c89
-AUX statsvn-0.4.1-fixstatcvsusage.patch 898 RMD160 0307da8206a7a8ac8edea7275326adf0ff418cdc SHA1 873f1aea1a70ec7fb0870c2b445cd7f6252b1b33 SHA256 53634da88168448e2f33248ff7cbb522efe01ec8c84768bea3e5bee0975e32f8
-DIST statsvn-0.4.1-source.zip 10061534 RMD160 12291695963c9e2993d3e737fb643bff667f7cdf SHA1 1ce3a921ad7d37a1a1d7d387f770bf89a026ed98 SHA256 8307003b8b609bd3b271a53c6c55d91947e220538e9b0c4c8925d272a2d05d07
-EBUILD statsvn-0.4.1.ebuild 2180 RMD160 04d5e0bf819ab6bdee1720130ec69c30c6eebc0b SHA1 cd80227e24fb2d9c50e33777c68a3887cae88919 SHA256 4e1892b66b9f82d9c012ad65f3d5ce707b6ccb5edd6025c3b3216c8fb92fe4da
-MISC ChangeLog 1634 RMD160 cd6b2c952a6768777338393c0759fbd6b3ec017a SHA1 a6bcdde07c48ea3ba6e6eb557a810b90455c4e00 SHA256 86958b3fa5f79134821b3a1fcf37452d9a5df655d83d4032bdced0c9bb43cc32
-MISC metadata.xml 217 RMD160 6a03b58e975ef9766c1ba359b8cf73372aae1409 SHA1 9661e29f710f8b88d1ebad0d7cfa2716ae869b51 SHA256 00a5772b0da0819b665dba21d321e4e2393c818907d38678d179cafd5036c7f2
diff --git a/dev-util/statsvn/files/statsvn-0.4.1-build.xml.patch b/dev-util/statsvn/files/statsvn-0.4.1-build.xml.patch
deleted file mode 100644
index 48c050eb..00000000
--- a/dev-util/statsvn/files/statsvn-0.4.1-build.xml.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-diff -Nur statsvn-0.4.1/build.xml statsvn-0.4.1_patched/build.xml
---- statsvn-0.4.1/build.xml 2007-03-14 03:33:20.000000000 +0200
-+++ statsvn-0.4.1_patched/build.xml 2008-09-19 05:45:40.000000000 +0300
-@@ -130,15 +130,6 @@
- </target>
-
- <target name="dist" depends="compile,copyfiles">
-- <!-- Creates an executable jar file for the project -->
-- <unjar src="${lib}/${statcvs.jar}" dest="${build}" />
-- <!-- Expand and use the concurrent JAR -->
-- <unjar src="${lib}/${concurrent.jar}" dest="${build}" />
--
-- <!-- Now included in statcvs.jar -->
-- <!--<unjar src="${lib}/${jfreechart.jar}" dest="${build}" />
-- <unjar src="${lib}/${jcommon.jar}" dest="${build}" />-->
--
- <mkdir dir="${dist}" />
- <jar jarfile="${dist}/${project.jar}" basedir="${build}">
- <manifest>
diff --git a/dev-util/statsvn/files/statsvn-0.4.1-fixstatcvsusage.patch b/dev-util/statsvn/files/statsvn-0.4.1-fixstatcvsusage.patch
deleted file mode 100644
index 4bccd1d0..00000000
--- a/dev-util/statsvn/files/statsvn-0.4.1-fixstatcvsusage.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Nur statsvn-0.4.1/src/net/sf/statsvn/Main.java statsvn-0.4.1_patched/src/net/sf/statsvn/Main.java
---- statsvn-0.4.1/src/net/sf/statsvn/Main.java 2008-09-19 07:19:16.000000000 +0300
-+++ statsvn-0.4.1_patched/src/net/sf/statsvn/Main.java 2008-09-19 07:19:42.000000000 +0300
-@@ -295,7 +295,7 @@
- System.setProperty("java.awt.headless", "true");
-
- final ReportConfig config = new ReportConfig(content, ConfigurationOptions.getProjectName(), ConfigurationOptions.getOutputDir(), ConfigurationOptions
-- .getMarkupSyntax(), ConfigurationOptions.getCssHandler(), ConfigurationOptions.getCharSet());
-+ .getMarkupSyntax(), ConfigurationOptions.getCssHandler());
- config.setWebRepository(ConfigurationOptions.getWebRepository());
- config.setWebBugtracker(ConfigurationOptions.getWebBugtracker());
- config.setNonDeveloperLogins(ConfigurationOptions.getNonDeveloperLogins());
diff --git a/dev-util/statsvn/metadata.xml b/dev-util/statsvn/metadata.xml
deleted file mode 100644
index 40758327..00000000
--- a/dev-util/statsvn/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>java</herd>
-<maintainer>
- <email>java@gentoo.org</email>
-</maintainer>
-</pkgmetadata>
diff --git a/dev-util/statsvn/statsvn-0.4.1.ebuild b/dev-util/statsvn/statsvn-0.4.1.ebuild
deleted file mode 100644
index 793551bb..00000000
--- a/dev-util/statsvn/statsvn-0.4.1.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=1
-JAVA_PKG_IUSE="doc source test"
-
-inherit eutils java-pkg-2 java-ant-2
-
-DESCRIPTION="StatSVN is a metrics-analysis tool for charting software evolution through analysis of Subversion source repositories."
-HOMEPAGE="http://www.statsvn.org/"
-SRC_URI="mirror://sourceforge/${PN}/${P}-source.zip"
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-COMMON_DEPEND="
- >=dev-util/statcvs-0.3:0
- >=dev-java/backport-util-concurrent-3.0:0"
-
-DEPEND=">=virtual/jdk-1.4
- app-arch/unzip
- test?
- (
- dev-java/junit:0
- dev-java/jfreechart:1.0
- dev-java/jcommon:1.0
- )
- ${COMMON_DEPEND}"
-
-RDEPEND=">=virtual/jre-1.4
- >=dev-util/subversion-1.3.0
- dev-java/xerces:2
- ${COMMON_DEPEND}"
-
-EANT_GENTOO_CLASSPATH="statcvs,backport-util-concurrent"
-EANT_BUILD_TARGET="dist"
-JAVA_ANT_CLASSPATH_TAGS="javac java javadoc"
-JAVA_ANT_REWRITE_CLASSPATH="true"
-
-src_unpack() {
- unpack ${A}
- cd "${S}" || die
- einfo "Removing bundled jars."
- find . -name "*.jar" -print -delete
- rm -r "${S}"/bin/*
- epatch "${FILESDIR}"/${P}-build.xml.patch
- epatch "${FILESDIR}"/${P}-fixstatcvsusage.patch
-}
-
-src_test() {
- ewarn "Note that the tests require you to be online."
- eant -Dgentoo.classpath=$(java-pkg_getjars statcvs,backport-util-concurrent):$(java-pkg_getjars --build-only junit,jfreechart-1.0,jcommon-1.0) test
-}
-
-src_install() {
- java-pkg_dojar dist/${PN}.jar
-
- # jfreechart pulls in gnu-jaxp which doesn't work for statsvn so we need
- # to force another SAXParserFactory and DocumentBuilderFactory
- java-pkg_register-dependency xerces-2
- java-pkg_dolauncher statsvn --main net.sf.statsvn.Main \
- --java_args '-Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl -Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl'
-
- use doc && java-pkg_dojavadoc doc
- use source && java-pkg_dosrc src/*
-}
-
-pkg_postinst() {
- elog "For instractions on how to use StatSVN see"
- elog "http://svn.statsvn.org/statsvnwiki/index.php/Main_Page"
- elog "You need to regenerate statistics"
- elog "if you update dev-java/jtreemap"
-}