diff options
author | Adrian Almenar <strider@gentoo.org> | 2004-01-21 02:48:49 +0000 |
---|---|---|
committer | Adrian Almenar <strider@gentoo.org> | 2004-01-21 02:48:49 +0000 |
commit | f86515f673276e5fe6c7341ca420d9bc368d0234 (patch) | |
tree | 842e9110ca3f62f874c1b089f8c2122c07312703 /dev-java/commons-beanutils | |
parent | version bump (diff) | |
download | historical-f86515f673276e5fe6c7341ca420d9bc368d0234.tar.gz historical-f86515f673276e5fe6c7341ca420d9bc368d0234.tar.bz2 historical-f86515f673276e5fe6c7341ca420d9bc368d0234.zip |
Removed 1.6.1 cause it breaks the classpath, added 1.6.1-r1 with old style compiling (without the eclass) and now the problem its solved.
Diffstat (limited to 'dev-java/commons-beanutils')
-rw-r--r-- | dev-java/commons-beanutils/ChangeLog | 8 | ||||
-rw-r--r-- | dev-java/commons-beanutils/Manifest | 6 | ||||
-rw-r--r-- | dev-java/commons-beanutils/commons-beanutils-1.6.1-r1.ebuild (renamed from dev-java/commons-beanutils/commons-beanutils-1.6.1.ebuild) | 38 | ||||
-rw-r--r-- | dev-java/commons-beanutils/files/digest-commons-beanutils-1.6.1-r1 (renamed from dev-java/commons-beanutils/files/digest-commons-beanutils-1.6.1) | 1 |
4 files changed, 41 insertions, 12 deletions
diff --git a/dev-java/commons-beanutils/ChangeLog b/dev-java/commons-beanutils/ChangeLog index a79348cd5f6b..f332bab530bf 100644 --- a/dev-java/commons-beanutils/ChangeLog +++ b/dev-java/commons-beanutils/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/commons-beanutils # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-beanutils/ChangeLog,v 1.9 2004/01/19 05:05:12 strider Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-beanutils/ChangeLog,v 1.10 2004/01/21 02:48:49 strider Exp $ + +*commons-beanutils-1.6.1-r1 (20 Jan 2004) + + 20 Jan 2004; Adrian Almenar <strider@gentoo.org> + commons-beanutils-1.6.1-r1.ebuild: + Moved to old style compiling, not using eclass cause its a little buggy. 19 Jan 2004; Adrian Almenar <strider@gentoo.org> commons-beanutils-1.6.1.ebuild: diff --git a/dev-java/commons-beanutils/Manifest b/dev-java/commons-beanutils/Manifest index bd30715edef4..bbc1405e6712 100644 --- a/dev-java/commons-beanutils/Manifest +++ b/dev-java/commons-beanutils/Manifest @@ -1,4 +1,4 @@ -MD5 ccfb2b9a3133266cf97bd3c477f1ae89 commons-beanutils-1.6.1.ebuild 1229 -MD5 5f7d9b65c637d8780fe748565216d7d5 ChangeLog 1653 +MD5 79a508309db39c97e884c38b192f5af0 commons-beanutils-1.6.1-r1.ebuild 1736 +MD5 9de334bb7e7c5d84270fe070f716ad46 ChangeLog 1861 MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157 -MD5 bb6e28cac73d3d0b198cc813fcc57742 files/digest-commons-beanutils-1.6.1 153 +MD5 a65fcfbd83466bf025820b316482b38a files/digest-commons-beanutils-1.6.1-r1 79 diff --git a/dev-java/commons-beanutils/commons-beanutils-1.6.1.ebuild b/dev-java/commons-beanutils/commons-beanutils-1.6.1-r1.ebuild index f8bcfacd7a0d..c87fadaff273 100644 --- a/dev-java/commons-beanutils/commons-beanutils-1.6.1.ebuild +++ b/dev-java/commons-beanutils/commons-beanutils-1.6.1-r1.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-beanutils/commons-beanutils-1.6.1.ebuild,v 1.4 2004/01/19 05:05:12 strider Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-beanutils/commons-beanutils-1.6.1-r1.ebuild,v 1.1 2004/01/21 02:48:49 strider Exp $ -inherit jakarta-commons +inherit java-pkg S=${WORKDIR}/${PN}-${PV}-src DESCRIPTION="The Jakarta BeanUtils component provides easy-to-use wrappers around Reflection and Introspection APIs" @@ -19,12 +19,36 @@ RDEPEND=">=virtual/jdk-1.3 LICENSE="Apache-1.1" SLOT="0" KEYWORDS="x86 ppc sparc amd64" -IUSE="doc jikes junit" +IUSE="jikes junit" src_compile() { - cp LICENSE.txt ../LICENSE - echo "commons-collections.jar=`java-config --classpath=commons-collections`" >> build.properties + local myc + + cp ${S}/LICENSE.txt LICENSE + cd ${S} + + echo "commons-collections.jar=`java-config --classpath=commons-collections`" > build.properties echo "commons-logging.jar=`java-config --classpath=commons-logging`" | sed s/\=.*:/\=/ >> build.properties - jakarta-commons_src_compile myconf make - use doc && jakarta-commons_src_compile makedoc + + if [ -n "`use jikes`" ] ; then + myc="${myc} -Dbuild.compiler=jikes" + fi + + if [ -n "`use junit`" ] ; then + echo "junit.jar=`java-config --classpath=junit`" | sed s/:.*// >> build.properties + ANT_OPTS=${myc} ant test || die "Testing Classes Failed" + fi + + ANT_OPTS=${myc} ant jar || die "Compilation Failed" + + if [ -n "`use doc`" ] ; then + ANT_OPTS=${myc} ant javadoc || die "Unable to create documents" + fi +} + +src_install () { + java-pkg_dojar dist/${PN}*.jar || die "Unable to install" + dodoc RELEASE-NOTES.txt LICENSE + dohtml STATUS.html PROPOSAL.html + dohtml -r dist/docs/* } diff --git a/dev-java/commons-beanutils/files/digest-commons-beanutils-1.6.1 b/dev-java/commons-beanutils/files/digest-commons-beanutils-1.6.1-r1 index 3acd580ffd64..b51965d2eed6 100644 --- a/dev-java/commons-beanutils/files/digest-commons-beanutils-1.6.1 +++ b/dev-java/commons-beanutils/files/digest-commons-beanutils-1.6.1-r1 @@ -1,2 +1 @@ -MD5 3411a7a1dd118c8afa4760194a4ff490 /commons-beanutils-1.6.1.ebuild 1235 MD5 7f0190fda2d6ec7083e46ed6519aafe5 commons-beanutils-1.6.1-src.tar.gz 148249 |