Hello everyone, Since I couldn't find a build for commons.configurations, I've tried to build it from scratch (from commons-configuration-20040301.tar.gz and commons-configuration-src-20040229.tar.gz), but they both fail. On the positive side, it's the first time I use an ant file that downloads dependencies (way cool).
It seems this glitch has been around for a while http://cvs.apache.org/builds/jakarta-commons/nightly/commons-configuration/ -> 45 byte jars are generally a sign of something weird. Here are some of the errors reproducible by calling ant on any of the builds I've tested: [junit] Testcase: testClasspathLoading took 0.214 sec [junit] Caused an ERROR [junit] Could not load input stream from resource /org/apache/commons/configuration/test.properties [junit] org.apache.commons.configuration.ConfigurationException: Could not load input stream from resource /org/apache/commons/configuration/test.properties [junit] at org.apache.commons.configuration.ClassPropertiesConfiguration.<init>(ClassPropertiesConfiguration.java:70) -> the file is not in the classpath as a fully qualified: org/apache/commons/configuration/test.properties. Moving into test-classes solves this error. [junit] Caused by: org.apache.commons.configuration.ConfigurationException: Could not load from file:/tmp/test/commons-configuration/./testHierarchicalDOM4JConfiguration.xml [junit] at org.apache.commons.configuration.HierarchicalDOM4JConfiguration.load(HierarchicalDOM4JConfiguration.java:119) [junit] at org.apache.commons.configuration.HierarchicalDOM4JConfiguration.load(HierarchicalDOM4JConfiguration.java:101) [junit] ... 34 more [junit] Mar 2, 2004 6:06:20 PM org.apache.commons.configuration.ConfigurationFactory getConfiguration [junit] SEVERE: SAX Exception caught [junit] org.apache.commons.configuration.ConfigurationException: Could not load from file:/tmp/test/commons-configuration/./testHierarchicalDOM4JConfiguration.xml It's in the wrong dir, a symbolic link to conf/testHierarchicalDOM4J... solved the problem, do it's an inconsistency in the dir structure. Finally, there is: org.apache.commons.configuration.TestJNDIConfiguration 'test.boolean' doesn't map to an existing object" type="java.util.NoSuchElementException">java.util.NoSuchElementException: 'test.boolean' doesn't map to an existing object at org.apache.commons.configuration.AbstractConfiguration.getBoolean(AbstractConfiguration.java:522) at org.apache.commons.configuration.NonStringTestHolder.testBoolean(NonStringTestHolder.java:34) at org.apache.commons.configuration.TestJNDIConfiguration.testBoolean(TestJNDIConfiguration.java:50) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) HTH, sv --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
