Date: Tue, 13 Apr 2004 17:14:37 +0200 (CEST) From: Herve Quiroz <herve.quiroz@esil.univ-mrs.fr> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/65490: [NEW PORT] java/jakarta-commons-discovery: A Java library for locating resources (including classes) Message-ID: <200404131514.i3DFEbHZ010784@arabica.esil.univ-mrs.fr> Resent-Message-ID: <200404131520.i3DFKH8f032680@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 65490 >Category: ports >Synopsis: [NEW PORT] java/jakarta-commons-discovery: A Java library for locating resources (including classes) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Apr 13 08:20:16 PDT 2004 >Closed-Date: >Last-Modified: >Originator: Herve Quiroz >Release: FreeBSD 5.2.1-RELEASE i386 >Organization: >Environment: System: FreeBSD arabica.esil.univ-mrs.fr 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Fri Feb 27 11:36:17 CET 2004 >Description: The Discovery Component is about discovering, or finding, implementations for pluggable interfaces. It provides facilities intantiating classes in general, and for lifecycle management of singleton (factory) classes. Fundamentally, Discovery locates classes that implement a given Java interface. The discovery pattern, though not necessarily this package, is used in many projects including JAXP (SaxParserFactory and others) and commons-logging (LogFactory). By extracting this pattern, other projects can (re)use it and take advantage of improvements to the pattern as Discovery evolves. Discovery improves over previous implementations by establishing facilities for working within managed environments. These allow configuration and property overrides without appealing to the global System properties (which are scoped across an entire JVM). WWW: http://jakarta.apache.org/commons/discovery/ Generated with FreeBSD Port Tools 0.50 >How-To-Repeat: >Fix: --- jakarta-commons-discovery-0.2.shar begins here --- # 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-discovery # jakarta-commons-discovery/pkg-descr # jakarta-commons-discovery/Makefile # jakarta-commons-discovery/distinfo # echo c - jakarta-commons-discovery mkdir -p jakarta-commons-discovery > /dev/null 2>&1 echo x - jakarta-commons-discovery/pkg-descr sed 's/^X//' >jakarta-commons-discovery/pkg-descr << 'END-of-jakarta-commons-discovery/pkg-descr' XThe Discovery Component is about discovering, or finding, implementations for Xpluggable interfaces. It provides facilities intantiating classes in general, Xand for lifecycle management of singleton (factory) classes. X XFundamentally, Discovery locates classes that implement a given Java interface. XThe discovery pattern, though not necessarily this package, is used in many Xprojects including JAXP (SaxParserFactory and others) and commons-logging X(LogFactory). By extracting this pattern, other projects can (re)use it and Xtake advantage of improvements to the pattern as Discovery evolves. X XDiscovery improves over previous implementations by establishing facilities for Xworking within managed environments. These allow configuration and property Xoverrides without appealing to the global System properties (which are scoped Xacross an entire JVM). X XWWW: http://jakarta.apache.org/commons/discovery/ END-of-jakarta-commons-discovery/pkg-descr echo x - jakarta-commons-discovery/Makefile sed 's/^X//' >jakarta-commons-discovery/Makefile << 'END-of-jakarta-commons-discovery/Makefile' X# New ports collection makefile for: jakarta-commons-discovery X# Date created: 2004-04-13 X# Whom: Herve Quiroz <herve.quiroz@esil.univ-mrs.fr> X# X# $FreeBSD$ X# X XPORTNAME= commons-discovery XPORTVERSION= 0.2 XCATEGORIES= java devel XMASTER_SITES= ${MASTER_SITE_APACHE_JAKARTA} XMASTER_SITE_SUBDIR= ${PORTNAME:S,-,/,}/binaries XPKGNAMEPREFIX= jakarta- X XMAINTAINER= herve.quiroz@esil.univ-mrs.fr XCOMMENT= A Java library for locating resources (including classes) X XUSE_JAVA= YES XJAVA_VERSION= 1.3+ XJAVA_RUN= JDK XNO_BUILD= YES X X.if !defined(NOPORTDOCS) XPORTDOCS= api LICENSE X.endif XJARFILE= ${PORTNAME}.jar XPLIST_FILES+= ${JAVAJARDIR:S,^${PREFIX}/,,}/${JARFILE} X Xpost-extract: X @${MV} ${WRKSRC}/LICENSE ${WRKSRC}/docs/ X Xdo-install: X @${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${JARFILE}..." X @${MKDIR} ${JAVAJARDIR} X @${INSTALL_DATA} ${WRKSRC}/${JARFILE} ${JAVAJARDIR}/ X @${ECHO_MSG} " [ DONE ]" X.if !defined(NOPORTDOCS) X @${ECHO_MSG} -n ">> Installing documentation..." X @${MKDIR} ${DOCSDIR} X.for DOCFILE in ${PORTDOCS} X @${CP} -r ${WRKSRC}/docs/${DOCFILE} ${DOCSDIR}/ X @${ECHO_MSG} -n " ${DOCFILE}" X.endfor X @${CHOWN} -h -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} X @${ECHO_MSG} " [ DONE ]" X.endif X X.include <bsd.port.mk> END-of-jakarta-commons-discovery/Makefile echo x - jakarta-commons-discovery/distinfo sed 's/^X//' >jakarta-commons-discovery/distinfo << 'END-of-jakarta-commons-discovery/distinfo' XMD5 (commons-discovery-0.2.tar.gz) = 2273f5f83a477f4f18fccf3a00e2b48c XSIZE (commons-discovery-0.2.tar.gz) = 118701 END-of-jakarta-commons-discovery/distinfo exit --- jakarta-commons-discovery-0.2.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404131514.i3DFEbHZ010784>