ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From prassh123 <r.prasha...@ymail.com>
Subject org.apache.commons.configuration.ConfigurationException: Cannot locate configuration source projects/metro/conf/config.properties
Date Tue, 09 Dec 2008 01:10:44 GMT

Hi,

I am trying to run testng.xml through ANT and it looks like it cannot find
the file specified. Would somebody know why ? the config.properties is at
the location projects/metro/conf/config.properties and the build.xml is at
the location : projects/metro/tests/build.xml. I have specified the basedir
correctly in the build.xml file. 

[Parser] Running:
   [testng]   C:\CVS\metro_selng\projects\metro\conf\testng.xml
   [testng] [RunInfo] Adding method selector:
org.testng.internal.XmlMethodSelector@152513a priority: 10
   [testng] log4j:WARN No appenders could be found for logger
(org.apache.commons.configuration.ConfigurationUtils).
   [testng] log4j:WARN Please initialize the log4j system properly.
   [testng] org.apache.commons.configuration.ConfigurationException: Cannot
locate configuration source projects/metro/conf/config.properties
   [testng] 	at
org.apache.commons.configuration.AbstractFileConfiguration.load(AbstractFileConfiguration.java:215)
   [testng] 	at
org.apache.commons.configuration.AbstractFileConfiguration.load(AbstractFileConfiguration.java:195)
   [testng] 	at
org.apache.commons.configuration.AbstractFileConfiguration.<init>(AbstractFileConfiguration.java:140)
   [testng] 	at
org.apache.commons.configuration.PropertiesConfiguration.<init>(PropertiesConfiguration.java:242)
   [testng] 	at
projects.metro.tests.services.InstrUtil.<clinit>(InstrUtil.java:24)
   [testng] 	at
projects.metro.tests.services.InstrumentationTest.<clinit>(InstrumentationTest.java:32)
   [testng] 	at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   [testng] 	at
sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
   [testng] 	at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
   [testng] 	at java.lang.reflect.Constructor.newInstance(Unknown Source)
   [testng] 	at
org.testng.internal.ObjectFactoryImpl.newInstance(ObjectFactoryImpl.java:26)
   [testng] 	at
org.testng.internal.ClassHelper.createInstance(ClassHelper.java:324)
   [testng] 	at
org.testng.internal.ClassImpl.getDefaultInstance(ClassImpl.java:62)
   [testng] 	at
org.testng.internal.ClassImpl.getInstances(ClassImpl.java:81)
   [testng] 	at
org.testng.internal.TestNGClassFinder.<init>(TestNGClassFinder.java:102)
   [testng] 	at org.testng.TestRunner.initMethods(TestRunner.java:270)
   [testng] 	at org.testng.TestRunner.init(TestRunner.java:216)
   [testng] 	at org.testng.TestRunner.init(TestRunner.java:178)
   [testng] 	at org.testng.TestRunner.<init>(TestRunner.java:127)
   [testng] 	at
org.testng.SuiteRunner$DefaultTestRunnerFactory.newTestRunner(SuiteRunner.java:454)
   [testng] 	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:235)
   [testng] 	at org.testng.SuiteRunner.run(SuiteRunner.java:191)
   [testng] 	at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:808)
   [testng] 	at org.testng.TestNG.runSuitesLocally(TestNG.java:776)
   [testng] 	at org.testng.TestNG.run(TestNG.java:701)
   [testng] 	at org.testng.TestNG.privateMain(TestNG.java:840)
   [testng] 	at org.testng.TestNG.main(TestNG.java:818)
   [testng] ===============================================
   [testng] SelNG
   [testng] Total tests run: 0, Failures: 0, Skips: 0
   [testng] ===============================================
-- 
View this message in context: http://www.nabble.com/org.apache.commons.configuration.ConfigurationException%3A-Cannot-locate-configuration-source-projects-metro-conf-config.properties-tp20906941p20906941.html
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message