Commons Configuration provides a generic configuration interface which enables
an application to read configuration data from a variety of sources. Commons Configuration provides typed access to single, and multi-valued configuration parameters. Configuration parameters may be loaded from the following sources: * Properties files * XML documents * JNDI * JDBC Datasource Different configuration sources can be mixed using a ConfigurationFactory and CompositeConfiguration. Additional sources of configuration parameters can be created by using custom configuration objects. This customization can be achieved by extending AbstractConfiguration. WWW: http://jakarta.apache.org/commons/configuration/
This commit is contained in:
parent
bf88b4b572
commit
e5ee05890a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=149072
4 changed files with 61 additions and 0 deletions
|
@ -401,6 +401,7 @@
|
|||
SUBDIR += itext
|
||||
SUBDIR += ixlib
|
||||
SUBDIR += jakarta-commons-chain
|
||||
SUBDIR += jakarta-commons-configuration
|
||||
SUBDIR += jakelib2
|
||||
SUBDIR += jam
|
||||
SUBDIR += java-util-concurrent
|
||||
|
|
40
devel/jakarta-commons-configuration/Makefile
Normal file
40
devel/jakarta-commons-configuration/Makefile
Normal file
|
@ -0,0 +1,40 @@
|
|||
# New ports collection makefile for: Jakarta Commons Configuration
|
||||
# Date created: November 22nd, 2005
|
||||
# Whom: Herve Quiroz <hq@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= commons-configuration
|
||||
PORTVERSION= 1.1
|
||||
CATEGORIES= devel java
|
||||
MASTER_SITES= ${MASTER_SITE_APACHE_JAKARTA}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME:S,-,/,}/binaries/
|
||||
PKGNAMEPREFIX= jakarta-
|
||||
|
||||
MAINTAINER= hq@FreeBSD.org
|
||||
COMMENT= Java package for the reading of configuration/preferences files
|
||||
|
||||
RUN_DEPENDS= ${JAVALIBDIR}/commons-beanutils.jar:${PORTSDIR}/java/jakarta-commons-beanutils \
|
||||
${JAVALIBDIR}/commons-lang.jar:${PORTSDIR}/java/jakarta-commons-lang \
|
||||
${JAVALIBDIR}/commons-logging.jar:${PORTSDIR}/java/jakarta-commons-logging
|
||||
|
||||
USE_JAVA= yes
|
||||
JAVA_VERSION= 1.3+
|
||||
NO_BUILD= yes
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
PORTDOCS= *
|
||||
.endif
|
||||
PLIST_FILES+= %%JAVAJARDIR%%/${PORTNAME}.jar
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-${PORTVERSION}.jar ${JAVAJARDIR}/${PORTNAME}.jar
|
||||
.if !defined(NOPORTDOCS)
|
||||
cd ${WRKSRC}/docs && ${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/{} \;
|
||||
cd ${WRKSRC}/docs && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \;
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
2
devel/jakarta-commons-configuration/distinfo
Normal file
2
devel/jakarta-commons-configuration/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
MD5 (commons-configuration-1.1.tar.gz) = 822a8e1a9becfd4d5aaabd0feeba2da1
|
||||
SIZE (commons-configuration-1.1.tar.gz) = 1107369
|
18
devel/jakarta-commons-configuration/pkg-descr
Normal file
18
devel/jakarta-commons-configuration/pkg-descr
Normal file
|
@ -0,0 +1,18 @@
|
|||
Commons Configuration provides a generic configuration interface which enables
|
||||
an application to read configuration data from a variety of sources. Commons
|
||||
Configuration provides typed access to single, and multi-valued configuration
|
||||
parameters.
|
||||
|
||||
Configuration parameters may be loaded from the following sources:
|
||||
|
||||
* Properties files
|
||||
* XML documents
|
||||
* JNDI
|
||||
* JDBC Datasource
|
||||
|
||||
Different configuration sources can be mixed using a ConfigurationFactory and
|
||||
CompositeConfiguration. Additional sources of configuration parameters can be
|
||||
created by using custom configuration objects. This customization can be
|
||||
achieved by extending AbstractConfiguration.
|
||||
|
||||
WWW: http://jakarta.apache.org/commons/configuration/
|
Loading…
Reference in a new issue