Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 41906 Details for
Bug 63288
dev-java/hibernate uses packed jars
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Dan's Hibernate ebuild (update)
hibernate-2.1.6.ebuild (text/plain), 3.62 KB, created by
Daniel Solano Gómez
on 2004-10-15 11:24:31 UTC
(
hide
)
Description:
Dan's Hibernate ebuild (update)
Filename:
MIME Type:
Creator:
Daniel Solano Gómez
Created:
2004-10-15 11:24:31 UTC
Size:
3.62 KB
patch
obsolete
># Copyright 1999-2004 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/dev-java/hibernate/hibernate-2.1.6.ebuild,v 1.1 2004/08/11 14:47:35 voxus Exp $ > >inherit java-pkg > >DESCRIPTION="Hibernate is a powerful, ultra-high performance object / relational persistence and query service for Java." >SRC_URI="mirror://sourceforge/hibernate/${PN}-${PV}.tar.gz" >HOMEPAGE="http://hibernate.bluemars.net" >LICENSE="LGPL-2" >SLOT="0" >KEYWORDS="~amd64" >RDEPEND=" > >=virtual/jre-1.4 > > =dev-java/cglib-2* > dev-java/commons-collections > dev-java/commons-logging > =dev-java/dom4j-1* > dev-java/ehcache > dev-java/odmg > dev-java/jta > > jca? ( > dev-java/connector > ) > c3p0? ( > dev-java/c3p0 > ) > dbcp? ( > dev-java/commons-pool > dev-java/commons-dbcp > ) > proxool? ( > dev-java/proxool > ) > oscache? ( > dev-java/oscache > ) > swarmcache? ( > dev-java/swarmcache-bin > ) > jboss? ( > >=www-servers/jboss-3.2.5 > dev-java/jmx > ) > > " >DEPEND="${RDEPEND} > >=virtual/jdk-1.4 > >=dev-java/ant-core-1.5 > junit? ( > dev-java/ant > dev-java/junit > dev-db/hsqldb > ) > " >IUSE="doc jikes jboss swarmcache oscache jca proxool dbcp c3p0 junit" > >#S=${WORKDIR}/${PN}-${PV:0:3} > >src_unpack() { > unpack ${A} > cd ${WORKDIR} > mv ${PN}-${PV:0:3} ${S} > cd ${S} > cd lib > rm *.jar > java-pkg_jar-from cglib-2 > java-pkg_jar-from commons-collections > java-pkg_jar-from commons-logging > java-pkg_jar-from dom4j-1 > java-pkg_jar-from ehcache > java-pkg_jar-from jta > java-pkg_jar-from odmg > > # c3p0 support > if use c3p0 ; then > java-pkg_jar-from c3p0 > else > find ../src -name "C3P0*" -exec rm {} \; > fi > > # DBCP support > if use dbcp ; then > java-pkg_jar-from commons-dbcp > java-pkg_jar-from commons-pool > else > find ../src -name "DBCP*" -exec rm {} \; > fi > > # Proxool support > if use proxool ; then > java-pkg_jar-from proxool > else > find ../src -name "Proxool*" -exec rm {} \; > fi > > # JCA support > if use jca ; then > java-pkg_jar-from connector > else > rm -r ../src/net/sf/hibernate/jca > fi > > # OSCache support > if use oscache ; then > java-pkg_jar-from oscache > else > find ${S}/src -name "OSCache*" -exec rm {} \; > fi > > # SwarmCache support > if use swarmcache ; then > java-pkg_jar-from swarmcache-bin > else > find ${S}/src -name "SwarmCache*" -exec rm {} \; > fi > > # JBoss caching support > if use jboss ; then > JBOSSHOME=`java-config -p jboss | sed -e "s/\/client.*$//g"` > ln -sf ${JBOSSHOME}/server/all/lib/jboss-cache.jar > ln -sf ${JBOSSHOME}/lib/jboss-system.jar > java-pkg_jar-from jmx > if ! [ -r jboss-cache.jar ] ; then > eerror "The JBoss JARs are not readoable. Most likely, the " > eerror "/var/lib/jboss directory is not traverseable by the " > eerror "portage user." > die "See above message." > fi > else > find ${S}/src -name "Tree*" -exec rm {} \; > fi > > if use junit ; then > java-pkg_jar-from junit > java-pkg_jar-from hsqldb > fi > cd .. > > # JCS is deprecated, so don't compile it > find src -name "JCS*" -exec rm {} \; > > sed -r -i \ > -e '/<splash/d' \ > -e 's/..\/\$\{name\}/dist/g' \ > build.xml > sed -r -i \ > -e "s/JCSCache/EhCache/g" \ > test/org/hibernate/test/CacheTest.java >} > >src_compile() { > use jikes && ! use jboss && export ANT_OPTS="-Dbuild.compiler=jikes" > targets="jar" > if use junit ; then > targets="${targets} junitreport" > fi > use doc && targets="${targets} javadoc" > ant -q ${targets} || die "Build failed." >} > >src_install() { > java-pkg_dojar dist/hibernate2.jar > if use doc ; then > cd dist/doc > dohtml -r api > cd ${S} > fi > dodoc *.txt > insinto /usr/share/doc/${P}/sample > doins etc/*.xml etc/*.properties etc/*.ccf src/META-INF/ra.xml >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 63288
:
40215
|
41742
| 41906