FreeBSD Bugzilla – Attachment 35715 Details for
Bug 57573
New java ports: java/jakarta-commons-pool and java/jakarta-commons-dbcp
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
file.shar
file.shar (text/plain), 13.17 KB, created by
toha
on 2003-10-04 13:50:08 UTC
(
hide
)
Description:
file.shar
Filename:
MIME Type:
Creator:
toha
Created:
2003-10-04 13:50:08 UTC
Size:
13.17 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># ./jakarta-commons-pool ># ./jakarta-commons-pool/Makefile ># ./jakarta-commons-pool/distinfo ># ./jakarta-commons-pool/pkg-descr ># ./jakarta-commons-pool/pkg-plist ># ./jakarta-commons-dbcp ># ./jakarta-commons-dbcp/Makefile ># ./jakarta-commons-dbcp/distinfo ># ./jakarta-commons-dbcp/pkg-descr ># ./jakarta-commons-dbcp/pkg-plist ># ./jakarta-commons-dbcp/files ># ./jakarta-commons-dbcp/files/patch-aa ># >echo c - ./jakarta-commons-pool >mkdir -p ./jakarta-commons-pool > /dev/null 2>&1 >echo x - ./jakarta-commons-pool/Makefile >sed 's/^X//' >./jakarta-commons-pool/Makefile << 'END-of-./jakarta-commons-pool/Makefile' >X# New ports collection makefile for: Jakarta Commons Pool >X# Date created: >X# Whom: Anton Yudin <toha@toha.org.ua> >X# >X# $FreeBSD$ >X# >X >XPORTNAME= commons-pool >XPORTVERSION= 1.0.1 >XCATEGORIES= java >XMASTER_SITES= http://www.apache.org/dist/jakarta/commons/pool/source/ >XPKGNAMEPREFIX= jakarta- >XDISTNAME= pool-${PORTVERSION}-src >XDIST_SUBDIR= jakarta >X >XMAINTAINER= toha@toha.org.ua >XCOMMENT= Jakarta Object-pooling API >X >XBUILD_DEPENDS= ${ANT}:${PORTSDIR}/devel/apache-ant >X >XUSE_JAVA= 1.2+ >X >XWRKSRC= ${WRKDIR}/commons-${DISTNAME} >XPLIST_SUB+= T=${TARGET_DIR:S/^${PREFIX}\///} >XANT?= ${LOCALBASE}/bin/ant >X.if defined(NOPORTDOCS) >XANT_TARGET= dist-jar >X.else >XANT_TARGET= dist-jar doc >X.endif >XJAVASHAREDIR= ${PREFIX}/share/java >XJARDIR= ${JAVASHAREDIR}/classes >XJARFILE= ${PORTNAME}.jar >XDESTJARFILE= ${PORTNAME}.jar >X >X >Xdo-build: >X @cd ${WRKSRC} && ${ANT} ${ANT_TARGET} >X >Xdo-install: >X @${ECHO} -n ">> Installing JAR as ${JARDIR}/${DESTJARFILE}..." >X @${CP} ${WRKSRC}/dist/${JARFILE} ${JARDIR}/${DESTJARFILE} >X @${ECHO} " [ DONE ]" >X >X.if !defined(NOPORTDOCS) >X @${ECHO} -n ">> Installing documentation in ${DOCSDIR}..." >X @${MKDIR} ${DOCSDIR} >X @${CP} -r ${WRKSRC}/dist/docs/api/* ${DOCSDIR} >X @${ECHO} " [ DONE ]" >X.endif >X >X.include <bsd.port.mk> >END-of-./jakarta-commons-pool/Makefile >echo x - ./jakarta-commons-pool/distinfo >sed 's/^X//' >./jakarta-commons-pool/distinfo << 'END-of-./jakarta-commons-pool/distinfo' >XMD5 (jakarta/pool-1.0.1-src.tar.gz) = df9aaf5ee3e5d68abbee6eca0b8d037f >END-of-./jakarta-commons-pool/distinfo >echo x - ./jakarta-commons-pool/pkg-descr >sed 's/^X//' >./jakarta-commons-pool/pkg-descr << 'END-of-./jakarta-commons-pool/pkg-descr' >XThe Pool Component >X >X Pool provides an Object-pooling API, with three major aspects: >X 1. A generic object pool interface that clients and implementors can >X use to provide easily interchangable pooling implementations. >X 2. A toolkit for creating modular object pools. >X 3. Several general purpose pool implementations. >X >XWWW: http://jakarta.apache.org/commons/pool >END-of-./jakarta-commons-pool/pkg-descr >echo x - ./jakarta-commons-pool/pkg-plist >sed 's/^X//' >./jakarta-commons-pool/pkg-plist << 'END-of-./jakarta-commons-pool/pkg-plist' >Xshare/doc/commons-pool/allclasses-frame.html >Xshare/doc/commons-pool/allclasses-noframe.html >Xshare/doc/commons-pool/constant-values.html >Xshare/doc/commons-pool/index-all.html >Xshare/doc/commons-pool/index.html >Xshare/doc/commons-pool/org/apache/commons/pool/BaseKeyedObjectPool.html >Xshare/doc/commons-pool/org/apache/commons/pool/BaseKeyedPoolableObjectFactory.html >Xshare/doc/commons-pool/org/apache/commons/pool/BaseObjectPool.html >Xshare/doc/commons-pool/org/apache/commons/pool/BasePoolableObjectFactory.html >Xshare/doc/commons-pool/org/apache/commons/pool/KeyedObjectPool.html >Xshare/doc/commons-pool/org/apache/commons/pool/KeyedObjectPoolFactory.html >Xshare/doc/commons-pool/org/apache/commons/pool/KeyedPoolableObjectFactory.html >Xshare/doc/commons-pool/org/apache/commons/pool/ObjectPool.html >Xshare/doc/commons-pool/org/apache/commons/pool/ObjectPoolFactory.html >Xshare/doc/commons-pool/org/apache/commons/pool/PoolableObjectFactory.html >Xshare/doc/commons-pool/org/apache/commons/pool/impl/GenericKeyedObjectPool.Config.html >Xshare/doc/commons-pool/org/apache/commons/pool/impl/GenericKeyedObjectPool.html >Xshare/doc/commons-pool/org/apache/commons/pool/impl/GenericKeyedObjectPoolFactory.html >Xshare/doc/commons-pool/org/apache/commons/pool/impl/GenericObjectPool.Config.html >Xshare/doc/commons-pool/org/apache/commons/pool/impl/GenericObjectPool.html >Xshare/doc/commons-pool/org/apache/commons/pool/impl/GenericObjectPoolFactory.html >Xshare/doc/commons-pool/org/apache/commons/pool/impl/SoftReferenceObjectPool.html >Xshare/doc/commons-pool/org/apache/commons/pool/impl/StackKeyedObjectPool.html >Xshare/doc/commons-pool/org/apache/commons/pool/impl/StackKeyedObjectPoolFactory.html >Xshare/doc/commons-pool/org/apache/commons/pool/impl/StackObjectPool.html >Xshare/doc/commons-pool/org/apache/commons/pool/impl/StackObjectPoolFactory.html >Xshare/doc/commons-pool/org/apache/commons/pool/impl/package-frame.html >Xshare/doc/commons-pool/org/apache/commons/pool/impl/package-summary.html >Xshare/doc/commons-pool/org/apache/commons/pool/package-frame.html >Xshare/doc/commons-pool/org/apache/commons/pool/package-summary.html >Xshare/doc/commons-pool/overview-frame.html >Xshare/doc/commons-pool/overview-summary.html >Xshare/doc/commons-pool/package-list >Xshare/doc/commons-pool/packages.html >Xshare/doc/commons-pool/serialized-form.html >Xshare/doc/commons-pool/stylesheet.css >Xshare/java/classes/commons-pool.jar >X@dirrm share/doc/commons-pool/org/apache/commons/pool/impl >X@dirrm share/doc/commons-pool/org/apache/commons/pool >X@dirrm share/doc/commons-pool/org/apache/commons >X@dirrm share/doc/commons-pool/org/apache >X@dirrm share/doc/commons-pool/org >X@dirrm share/doc/commons-pool >END-of-./jakarta-commons-pool/pkg-plist >echo c - ./jakarta-commons-dbcp >mkdir -p ./jakarta-commons-dbcp > /dev/null 2>&1 >echo x - ./jakarta-commons-dbcp/Makefile >sed 's/^X//' >./jakarta-commons-dbcp/Makefile << 'END-of-./jakarta-commons-dbcp/Makefile' >X# New ports collection makefile for: Jakarta Commons DBCP >X# Date created: >X# Whom: Anton Yudin <toha@toha.org.ua> >X# >X# $FreeBSD$ >X# >X >XPORTNAME= commons-dbcp >XPORTVERSION= 1.0 >XCATEGORIES= java >XMASTER_SITES= http://www.apache.org/dist/jakarta/commons/dbcp/source/ >XPKGNAMEPREFIX= jakarta- >XDISTNAME= ${PORTNAME}-${PORTVERSION}-src >XDIST_SUBDIR= jakarta >X >XMAINTAINER= toha@toha.org.ua >XCOMMENT= The DBCP Component >X >XBUILD_DEPENDS= ${ANT}:${PORTSDIR}/devel/apache-ant \ >X ${LOCALBASE}/share/java/classes/commons-pool.jar:${PORTSDIR}/java/jakarta-commons-pool \ >X >XUSE_JAVA= 1.2+ >X >XWRKSRC= ${WRKDIR}/${DISTNAME} >XPLIST_SUB+= T=${TARGET_DIR:S/^${PREFIX}\///} >XANT?= ${LOCALBASE}/bin/ant >X.if defined(NOPORTDOCS) >XANT_TARGET= dist-jar >X.else >XANT_TARGET= dist-jar doc >X.endif >XJAVASHAREDIR= ${PREFIX}/share/java >XJARDIR= ${JAVASHAREDIR}/classes >XJARFILE= ${PORTNAME}.jar >XDESTJARFILE= ${PORTNAME}.jar >X >Xpost-patch: >X @${CP} ${WRKSRC}/LICENSE.txt ${WRKSRC}/../LICENSE >X >X >Xdo-build: >X @cd ${WRKSRC} && ${ANT} ${ANT_TARGET} >X >Xdo-install: >X @${ECHO} -n ">> Installing JAR as ${JARDIR}/${DESTJARFILE}..." >X @${CP} ${WRKSRC}/dist/${JARFILE} ${JARDIR}/${DESTJARFILE} >X @${ECHO} " [ DONE ]" >X >X.if !defined(NOPORTDOCS) >X @${ECHO} -n ">> Installing documentation in ${DOCSDIR}..." >X @${MKDIR} ${DOCSDIR} >X @${CP} -r ${WRKSRC}/dist/docs/api/* ${DOCSDIR} >X @${ECHO} " [ DONE ]" >X.endif >X >X.include <bsd.port.mk> >END-of-./jakarta-commons-dbcp/Makefile >echo x - ./jakarta-commons-dbcp/distinfo >sed 's/^X//' >./jakarta-commons-dbcp/distinfo << 'END-of-./jakarta-commons-dbcp/distinfo' >XMD5 (jakarta/commons-dbcp-1.0-src.tar.gz) = 85305821547f060fb6090f022c33e5f9 >END-of-./jakarta-commons-dbcp/distinfo >echo x - ./jakarta-commons-dbcp/pkg-descr >sed 's/^X//' >./jakarta-commons-dbcp/pkg-descr << 'END-of-./jakarta-commons-dbcp/pkg-descr' >XThe DBCP Component >X >X Many Jakarta projects support interaction with a relational database. >X Creating a new connection for each user can be time consuming (often >X requiring multiple seconds of clock time), in order to perform a >X database transaction that might take milliseconds. Opening a >X connection per user can be unfeasible in a publicly-hosted Internet >X application where the number of simultaneous users can be very large. >X Accordingly, developers often wish to share a "pool" of open >X connections between all of the application's current users. The number >X of users actually performing a request at any given time is usually a >X very small percentage of the total number of active users, and during >X request processing is the only time that a database connection is >X required. The application itself logs into the DBMS, and handles any >X user account issues internally. >X >X There are several Database Connection Pools already available, both >X within Jakarta products and elsewhere. This Commons package provides >X an opportunity to coordinate the efforts required to create and >X maintain an efficient, feature-rich package under the ASF license. >X >X The commons-dbcp package relies on code in the commons-pool package to >X provide the underlying object pool mechanisms that it utilizes. >X >XWWW: http://jakarta.apache.org/commons/dbcp >END-of-./jakarta-commons-dbcp/pkg-descr >echo x - ./jakarta-commons-dbcp/pkg-plist >sed 's/^X//' >./jakarta-commons-dbcp/pkg-plist << 'END-of-./jakarta-commons-dbcp/pkg-plist' >Xshare/doc/commons-dbcp/allclasses-frame.html >Xshare/doc/commons-dbcp/allclasses-noframe.html >Xshare/doc/commons-dbcp/constant-values.html >Xshare/doc/commons-dbcp/index-all.html >Xshare/doc/commons-dbcp/index.html >Xshare/doc/commons-dbcp/org/apache/commons/dbcp/AbandonedConfig.html >Xshare/doc/commons-dbcp/org/apache/commons/dbcp/AbandonedObjectPool.html >Xshare/doc/commons-dbcp/org/apache/commons/dbcp/AbandonedTrace.html >Xshare/doc/commons-dbcp/org/apache/commons/dbcp/BasicDataSource.html >Xshare/doc/commons-dbcp/org/apache/commons/dbcp/BasicDataSourceFactory.html >Xshare/doc/commons-dbcp/org/apache/commons/dbcp/ConnectionFactory.html >Xshare/doc/commons-dbcp/org/apache/commons/dbcp/DataSourceConnectionFactory.html >Xshare/doc/commons-dbcp/org/apache/commons/dbcp/DbcpException.html >Xshare/doc/commons-dbcp/org/apache/commons/dbcp/DelegatingCallableStatement.html >Xshare/doc/commons-dbcp/org/apache/commons/dbcp/DelegatingConnection.html >Xshare/doc/commons-dbcp/org/apache/commons/dbcp/DelegatingPreparedStatement.html >Xshare/doc/commons-dbcp/org/apache/commons/dbcp/DelegatingResultSet.html >Xshare/doc/commons-dbcp/org/apache/commons/dbcp/DelegatingStatement.html >Xshare/doc/commons-dbcp/org/apache/commons/dbcp/DriverConnectionFactory.html >Xshare/doc/commons-dbcp/org/apache/commons/dbcp/DriverManagerConnectionFactory.html >Xshare/doc/commons-dbcp/org/apache/commons/dbcp/PoolableConnection.html >Xshare/doc/commons-dbcp/org/apache/commons/dbcp/PoolableConnectionFactory.html >Xshare/doc/commons-dbcp/org/apache/commons/dbcp/PoolablePreparedStatement.html >Xshare/doc/commons-dbcp/org/apache/commons/dbcp/PoolingConnection.html >Xshare/doc/commons-dbcp/org/apache/commons/dbcp/PoolingDataSource.html >Xshare/doc/commons-dbcp/org/apache/commons/dbcp/PoolingDriver.html >Xshare/doc/commons-dbcp/org/apache/commons/dbcp/cpdsadapter/DriverAdapterCPDS.html >Xshare/doc/commons-dbcp/org/apache/commons/dbcp/cpdsadapter/package-frame.html >Xshare/doc/commons-dbcp/org/apache/commons/dbcp/cpdsadapter/package-summary.html >Xshare/doc/commons-dbcp/org/apache/commons/dbcp/package-frame.html >Xshare/doc/commons-dbcp/org/apache/commons/dbcp/package-summary.html >Xshare/doc/commons-dbcp/org/apache/commons/jocl/ConstructorUtil.html >Xshare/doc/commons-dbcp/org/apache/commons/jocl/JOCLContentHandler.html >Xshare/doc/commons-dbcp/org/apache/commons/jocl/package-frame.html >Xshare/doc/commons-dbcp/org/apache/commons/jocl/package-summary.html >Xshare/doc/commons-dbcp/overview-frame.html >Xshare/doc/commons-dbcp/overview-summary.html >Xshare/doc/commons-dbcp/package-list >Xshare/doc/commons-dbcp/packages.html >Xshare/doc/commons-dbcp/serialized-form.html >Xshare/doc/commons-dbcp/stylesheet.css >X@dirrm share/doc/commons-dbcp/org/apache/commons/dbcp/cpdsadapter >X@dirrm share/doc/commons-dbcp/org/apache/commons/dbcp >X@dirrm share/doc/commons-dbcp/org/apache/commons/jocl >X@dirrm share/doc/commons-dbcp/org/apache/commons >X@dirrm share/doc/commons-dbcp/org/apache >X@dirrm share/doc/commons-dbcp/org >X@dirrm share/doc/commons-dbcp >END-of-./jakarta-commons-dbcp/pkg-plist >echo c - ./jakarta-commons-dbcp/files >mkdir -p ./jakarta-commons-dbcp/files > /dev/null 2>&1 >echo x - ./jakarta-commons-dbcp/files/patch-aa >sed 's/^X//' >./jakarta-commons-dbcp/files/patch-aa << 'END-of-./jakarta-commons-dbcp/files/patch-aa' >X*** build.xml.orig Sat Oct 4 14:56:13 2003 >X--- build.xml Sat Oct 4 14:56:15 2003 >X*************** >X*** 282,288 **** >X <patternset refid="patternset-non-test-classes"/> >X </fileset> >X </copy> >X! <jar jarfile="${dest.jardir.jar}" manifest="${dest.conf}/MANIFEST.MF"> >X <fileset dir="${workdir}"/> >X </jar> >X <delete dir="${workdir}"/> >X--- 282,288 ---- >X <patternset refid="patternset-non-test-classes"/> >X </fileset> >X </copy> >X! <jar jarfile="${dest.jardir.jar}" manifest="${source.src.conf}/MANIFEST.MF"> >X <fileset dir="${workdir}"/> >X </jar> >X <delete dir="${workdir}"/> >END-of-./jakarta-commons-dbcp/files/patch-aa >exit
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 57573
: 35715