Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Java (http://www.velocityreviews.com/forums/f30-java.html)
-   -   Apache Commons Configuration Problem (http://www.velocityreviews.com/forums/t622358-apache-commons-configuration-problem.html)

Michael Post 06-26-2008 10:05 AM

Apache Commons Configuration Problem
 
Hello,

i use the current version (1.5) of commons configuration for my project
with commons-beanutils-1.7.0.jar, commons-chain-1.2.jar,
commons-codec-1.3.jar, commons-collections-3.2.1.jar,
commons-digester-1.8.jar, commons-jxpath-1.2.jar, commons-lang-2.4.jar
und commons-logging-1.1.1.jar.

I want to read combine the two xml configuration files to one and later
i want to read some properties of it.

Like the tutorial on
http://commons.apache.org/configurat...iguration.html
i programmed my small plain Java application (ConfigTest.java) in which
i read both configurations like the tutorial. Some lines later i read
some properties of the configuration but all values are null.

I can not understand why / what is wrong.

Thanks for helping me,

Michael




All times are GMT. The time now is 07:14 AM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57