Did you run ant unittest
Or build unittest ? > -----Original Message----- > From: Mark Orciuch [mailto:[EMAIL PROTECTED]] > Sent: 17 September 2002 22:22 > To: Jetspeed Developers List > Subject: Problem running junit tests on Win2K > > > I am having problems running "unittest" build target under > Win2K. I get the following stacktrace: > > unittest: > [junit] Running > org.apache.jetspeed.services.psmlmanager.TestMarshalPsml > [junit] java.io.FileNotFoundException: > null/WEB-INF/conf/TurbineResources.properties (The system > cannot find the path specified) > > [junit] at java.io.FileInputStream.open(Native Method) > [junit] at > java.io.FileInputStream.<init>(FileInputStream.java:68) > [junit] at > org.apache.stratum.configuration.PropertiesConfiguration.<init > >(Unknown > Source) > [junit] at > org.apache.turbine.services.resources.TurbineResourceService.i > nit(TurbineRes > ourceService.java:166) > [junit] at > org.apache.turbine.services.resources.TurbineResourceService.i > nit(TurbineRes > ourceService.java:127) > [junit] at > org.apache.turbine.services.BaseInitableBroker.initClass(BaseI > nitableBroker. > java, Compiled Code) > [junit] at > org.apache.turbine.services.BaseServiceBroker.initService(Base > ServiceBroker. > java:141) > [junit] at > org.apache.turbine.services.TurbineServices.initPrimaryService > s(TurbineServi > ces.java:181) > [junit] at org.apache.turbine.Turbine.init(Turbine.java:231) > [junit] at > org.apache.turbine.util.TurbineConfig.init(TurbineConfig.java:175) > [junit] at > org.apache.jetspeed.services.psmlmanager.TestMarshalPsml.<clin > it>(TestMarsha > lPsml.java:506) > [junit] (!) NOTICE: init > [junit] (!) NOTICE: ServiceBroker: LoggingService enabled. > [junit] at java.lang.Class.forName0(Native Method) > [junit] at java.lang.Class.forName(Class.java:124) > [junit] at > org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.< > init>(JUnitTes > tRunner.java:237) > [junit] at > org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.< > init>(JUnitTes > tRunner.java:210) > [junit] at > org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.m > ain(JUnitTestR > unner.java, Compiled Code) > [junit] (!) NOTICE: Turbine: init() failed: > org.apache.turbine.services.InitializationException: Can't > load file null/WEB-INF/co nf/TurbineResources.properties > [junit] at > org.apache.turbine.services.resources.TurbineResourceService.i > nit(TurbineRes > ourceService.java:171) > [junit] at > org.apache.turbine.services.resources.TurbineResourceService.i > nit(TurbineRes > ourceService.java:127) > [junit] at > org.apache.turbine.services.BaseInitableBroker.initClass(BaseI > nitableBroker. > java, Compiled Code) > [junit] at > org.apache.turbine.services.BaseServiceBroker.initService(Base > ServiceBroker. > java:141) > [junit] at > org.apache.turbine.services.TurbineServices.initPrimaryService > s(TurbineServi > ces.java:181) > [junit] at org.apache.turbine.Turbine.init(Turbine.java:231) > [junit] at > org.apache.turbine.util.TurbineConfig.init(TurbineConfig.java:175) > [junit] at > org.apache.jetspeed.services.psmlmanager.TestMarshalPsml.<clin > it>(TestMarsha > lPsml.java:506) > [junit] at java.lang.Class.forName0(Native Method) > [junit] at java.lang.Class.forName(Class.java:124) > [junit] at > org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.< > init>(JUnitTes > tRunner.java:237) > [junit] at > org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.< > init>(JUnitTes > tRunner.java:210) > [junit] at > org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.m > ain(JUnitTestR > unner.java, Compiled Code) > > [junit] Tests run: 1, Failures: 1, Errors: 0, Time > elapsed: 0.22 sec > [junit] Testsuite: > org.apache.jetspeed.services.psmlmanager.TestMarshalPsml > [junit] Tests run: 1, Failures: 1, Errors: 0, Time > elapsed: 0.22 sec > [junit] ------------- Standard Output --------------- > [junit] Testing marshalling of PSML on base *** > IdentityElement *** > [junit] ------------- ---------------- --------------- > [junit] ------------- Standard Error ----------------- > [junit] PSML Mapping not found or not a file or unreadable: > [junit] ------------- ---------------- --------------- > > [junit] Testcase: testMarshalPsml took 0.21 sec > [junit] FAILED > [junit] PSML Mapping not found or not a file or unreadable: > [junit] junit.framework.AssertionFailedError: PSML > Mapping not found or not a file or unreadable: > [junit] at > org.apache.jetspeed.services.psmlmanager.TestMarshalPsml.testM > arshalPsml(Tes > tMarshalPsml.java, Compiled Code) > > [junit] Testcase: testMarshalPsml > > Funny thing is that the same works fine under Linux. Did > anyone experience similar problem? Please, help!!! > > Best regards, > > Mark C. Orciuch > Next Generation Solutions, Ltd. > e-Mail: [EMAIL PROTECTED] > web: http://www.ngsltd.com > > > -- > To unsubscribe, e-mail: > <mailto:jetspeed-dev-> [EMAIL PROTECTED]> > For > additional commands, > e-mail: <mailto:[EMAIL PROTECTED]> > BBCi at http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system, do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
