ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: AW: Trouble executing a junit task
Date Wed, 22 Aug 2007 09:29:09 GMT
I did an "ant clean release" on 2.7-src

compile-test:
    [javac] C:\Downloads\cruisecontrol-src-2.7\cruisecontrol-2.7\main\test\net\sourceforge\cruisecontrol\web\EmbeddedJettyServerTest.java:75:

                  warning: [deprecation] EmbeddedJettyServer(int,java.lang.String) in net.sourceforge.cruisecontrol.web.EmbeddedJettyServer
has been deprecated
    [javac]         EmbeddedJettyServer server = new EmbeddedJettyServer(port, webappDir.getAbsolutePath());
    [javac]                                      ^
    [javac] 1 warning
     [copy] Copying 72 files to C:\Downloads\cruisecontrol-src-2.7\cruisecontrol-2.7\main\target\test-classes

    [junit] Running net.sourceforge.cruisecontrol.dashboard.web.PanopticodeControllerTest
    [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0 sec
    [junit] [cc]Aug-22 11:22:22 icationContext- Closing org.springframework.context.support.GenericApplicationContext@226649:
display name [org.springframework.context.support.GenericApplicationContex
t@226649]; startup date [Wed Aug 22 11:22:18 CEST 2007]; root of context hierarchy
    [junit] [cc]Aug-22 11:22:22 bleBeanFactory- Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@101b54e:
defining beans [jmxServiceStub,mockCruiseRuntime,
propertyConfigurer,configuration,cruiseRuntime,oSEnvironment,jmxFactory,jmxConnectorFactory,buildService,jmxService,vcsFactory,templateRenderService,buildSummariesService,buildSummaryUIService,buildSu
mmaryService,envService,configXmlFileService,widgetPluginService,urlMapping,forcebuildController,addProjectFromVersionControlController,getProjectBuildStatusController,getProjectBuildOutputController,
getCommitMessageController,getProjectBuildStatusXmlController,contentTypeInterceptor,flashMessageInterceptor,serverNameInterceptor,configInterceptor,tabHighlightInterceptor,adminController,updateConfi
gXmlContentController,updateConfigXmlLocationController,addProjectController,latestBuildsListingController,buildListingController,buildListingResolver,buildDetailController,projectDetailResolver,downl
oadResolver,downloadController,mbeanConsoleController,mx4jResolver,panopticodeController,velocityConfig,velocityViewResolver,beanNameViewResolver,downloadXmlView,downloadBinView];
root of factory hier
archy

BUILD FAILED
C:\Downloads\cruisecontrol-src-2.7\cruisecontrol-2.7\build.xml:33: The following error occurred
while executing this line:
C:\Downloads\cruisecontrol-src-2.7\cruisecontrol-2.7\reporting\dashboard\build.xml:146: Tests
failed 




It seems that there are problems in CC ....


Jan



>-----Ursprüngliche Nachricht-----
>Von: Krzysztof Kucybała [mailto:kkucybala@echo.fr] 
>Gesendet: Mittwoch, 22. August 2007 10:59
>An: Ant Users List
>Betreff: Re: AW: Trouble executing a junit task
>
>Yep, looks like that's what happend. I just upgraded to the newer ant, 
>and things went on... to another problem :o( I get a report, 
>that junit 
>tests failed. Is it possible that cc team released something 
>like that, 
>or am I still experiencing some configuration problems?
>
>Best regards,
>Krzysztof
>
>Jan.Materne@rzf.fin-nrw.de wrote:
>> ResourceCollection was introduced in Ant 1.7.0. Are you 
>mixing different 
>> Ant versions?
>> 
>> 
>> Jan 
>> 
>>> -----Ursprüngliche Nachricht-----
>>> Von: Krzysztof Kucybała [mailto:kkucybala@echo.fr] 
>>> Gesendet: Mittwoch, 22. August 2007 10:41
>>> An: Ant Users List
>>> Betreff: Trouble executing a junit task
>>>
>>> Hi,
>>>
>>> I'm trying to build the dashboard application for cruise 
>control 2.7. 
>>> The build.xml for that app has a junit task, which fails and 
>>> breaks the 
>>> build. First it would give me an error that it could not 
>>> initialize the 
>>> task, with a suggestion to put a relevant jar file on the 
>>> classpath. So 
>>> I put some ant-junit.jar file (included in the cc 
>>> distribution) into the 
>>> $ANT_HOME/lib/ directory. Now what I get is this error:
>>>
>>>> BUILD FAILED
>>>> /var/local/cruisecontrol/reporting/dashboard/build.xml:146:  
>>> java.lang.NoClassDefFoundError: 
>>> org/apache/tools/ant/types/ResourceCollection
>>>
>>> Can anyone tell me why is that? Did I use a wrong version 
>of the file? 
>>> Am I still missing some library (junit.jar perhaps - but where 
>>> and what 
>>> version should it be?) Any help will be greatly appreciated.
>>>
>>> Best regards,
>>> Krzysztof
>>>
>>> 
>---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>>> For additional commands, e-mail: user-help@ant.apache.org
>>>
>>>
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>> For additional commands, e-mail: user-help@ant.apache.org
>> 
>> 
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org
>
>

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


Mime
View raw message