[Yanel-development] Re: [CC] [yanel-java2] yanel-java2 Build Failed

Josias Thöny josias.thoeny at wyona.com
Wed Dec 6 15:21:11 CET 2006


On Wed, 2006-12-06 at 14:53 +0100, Michael Wechner wrote:
> Hi
> 
> Any idea what might be wrong?

Some changes in the wiki resource (usage of global.xsl) made the test
fail. I updated the testcase this morning and it should be working
again.

Josias

> 
> Thanks
> 
> Michi
> 
> cruisecontrol at wyona.com wrote:
> 
> > BUILD FAILED
> > Ant Error Message: 
> > /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java2/trunk/src/build/build.xml:816: 
> > The following error occurred while executing this line: 
> > /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java2/trunk/src/test/build.xml:117: 
> > The following error occurred while executing this line: 
> > /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java2/trunk/src/test/build.xml:146: 
> > One or more htmlunit tests failed.
> > Date of build: 	12/05/2006 23:48:14
> > Time to build: 	59 seconds
> > Last changed: 	12/05/2006 23:41:11
> > Last log entry: 	calendar paths added
> >
> >  Errors/Warnings: (142)
> >
> >Test org.wyona.yanel.impl.resources.WikiResourceWebTest FAILED
> >
> >Unix ...
> >Shutdown Tomcat (/home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java2/apache-tomcat-5.5.20/bin/shutdown.sh) ...
> >Cleaning Yanel
> >Check if proxy has been set ...
> >Building with Apache Ant version 1.6.5 compiled on June 2 2005 and Java version 1.4
> >Check if proxy has been set ...
> >Building with Apache Ant version 1.6.5 compiled on June 2 2005 and Java version 1.4
> >Check if proxy has been set ...
> >Building with Apache Ant version 1.6.5 compiled on June 2 2005 and Java version 1.4
> >Init ...
> >Clean Tomcat cluster node 1:
> >Deploying Yanel
> >Check if proxy has been set ...
> >Building with Apache Ant version 1.6.5 compiled on June 2 2005 and Java version 1.4
> >Note: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java2/trunk/src/impl/java/org/wyona/yanel/impl/ResourceDefaultImpl.java uses or overrides a deprecated API.
> >Note: Recompile with -deprecation for details.
> >Check if proxy has been set ...
> >Building with Apache Ant version 1.6.5 compiled on June 2 2005 and Java version 1.4
> >Check if proxy has been set ...
> >Building with Apache Ant version 1.6.5 compiled on June 2 2005 and Java version 1.4
> >Init ...
> >There were no dependencies specified
> >Initialize build
> >Resource Home Directory: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java2/trunk/src/resources/file
> >There were no dependencies specified
> >Initialize build
> >Resource Home Directory: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java2/trunk/src/resources/directory
> >Note: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java2/trunk/src/resources/directory/src/java/org/wyona/yanel/impl/resources/DirectoryResource.java uses or overrides a deprecated API.
> >Note: Recompile with -deprecation for details.
> >There were no dependencies specified
> >Initialize build
> >Resource Home Directory: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java2/trunk/src/resources/tape
> >There were no dependencies specified
> >Initialize build
> >Resource Home Directory: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java2/trunk/src/resources/odt
> >There were no dependencies specified
> >Initialize build
> >Resource Home Directory: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java2/trunk/src/resources/xml
> >There were no dependencies specified
> >Initialize build
> >Resource Home Directory: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java2/trunk/src/resources/invoice
> >Initialize build
> >Resource Home Directory: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java2/trunk/src/contributions/resources/atom
> >Note: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java2/trunk/src/contributions/resources/atom/src/java/org/wyona/yanel/impl/resources/AtomFeedResource.java uses or overrides a deprecated API.
> >Note: Recompile with -deprecation for details.
> >Initialize build
> >Resource Home Directory: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java2/trunk/src/contributions/resources/atom-entry
> >Initialize build
> >Resource Home Directory: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java2/trunk/src/contributions/resources/contact-form
> >Initialize build
> >Resource Home Directory: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java2/trunk/src/contributions/resources/wiki
> >There were no dependencies specified
> >Initialize build
> >Resource Home Directory: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java2/trunk/src/contributions/resources/zip
> >There were no dependencies specified
> >Initialize build
> >Resource Home Directory: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java2/trunk/src/resources/websearch
> >Initialize build
> >Resource Home Directory: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java2/trunk/src/contributions/resources/nutch
> >Note: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java2/trunk/src/contributions/resources/nutch/src/java/org/wyona/yanel/impl/resources/NutchResource.java uses or overrides a deprecated API.
> >Note: Recompile with -deprecation for details.
> >There were no dependencies specified
> >Initialize build
> >Resource Home Directory: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java2/trunk/src/contributions/resources/davcollection
> >Note: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java2/trunk/src/contributions/resources/davcollection/src/java/org/wyona/yanel/impl/resources/DavCollection.java uses or overrides a deprecated API.
> >Note: Recompile with -deprecation for details.
> >Note: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java2/trunk/src/core/java/org/wyona/yanel/cmdl/YanelCommandLine.java uses or overrides a deprecated API.
> >Note: Recompile with -deprecation for details.
> >Note: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java2/trunk/src/core/java/org/wyona/yanel/servlet/YanelServlet.java uses or overrides a deprecated API.
> >Note: Recompile with -deprecation for details.
> >Check if proxy has been set ...
> >Building with Apache Ant version 1.6.5 compiled on June 2 2005 and Java version 1.4
> >Check if proxy has been set ...
> >Building with Apache Ant version 1.6.5 compiled on June 2 2005 and Java version 1.4
> >Check if proxy has been set ...
> >Building with Apache Ant version 1.6.5 compiled on June 2 2005 and Java version 1.4
> >Init ...
> >Check if proxy has been set ...
> >Building with Apache Ant version 1.6.5 compiled on June 2 2005 and Java version 1.4
> >Init ...
> >There were no dependencies specified
> >Initialize build
> >Resource Home Directory: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java2/trunk/src/resources/file
> >There were no dependencies specified
> >Initialize build
> >Resource Home Directory: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java2/trunk/src/resources/directory
> >There were no dependencies specified
> >Initialize build
> >Resource Home Directory: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java2/trunk/src/resources/tape
> >There were no dependencies specified
> >Initialize build
> >Resource Home Directory: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java2/trunk/src/resources/odt
> >There were no dependencies specified
> >Initialize build
> >Resource Home Directory: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java2/trunk/src/resources/xml
> >There were no dependencies specified
> >Initialize build
> >Resource Home Directory: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java2/trunk/src/resources/invoice
> >Initialize build
> >Resource Home Directory: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java2/trunk/src/contributions/resources/atom
> >Initialize build
> >Resource Home Directory: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java2/trunk/src/contributions/resources/atom-entry
> >Initialize build
> >Resource Home Directory: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java2/trunk/src/contributions/resources/contact-form
> >Initialize build
> >Resource Home Directory: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java2/trunk/src/contributions/resources/wiki
> >There were no dependencies specified
> >Initialize build
> >Resource Home Directory: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java2/trunk/src/contributions/resources/zip
> >There were no dependencies specified
> >Initialize build
> >Resource Home Directory: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java2/trunk/src/resources/websearch
> >Initialize build
> >Resource Home Directory: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java2/trunk/src/contributions/resources/nutch
> >Copy plugins: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java2/trunk/build/webapps/ROOT/WEB-INF/classes
> >There were no dependencies specified
> >Initialize build
> >Resource Home Directory: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java2/trunk/src/contributions/resources/davcollection
> >Copy webapp (/home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java2/apache-tomcat-5.5.20/webapps):
> >*****************************************************************
> >*
> >* You have successfully built Yanel 0.0.1-dev (Revision 17165)
> >*
> >*
> >* Start using Yanel by typing
> >*
> >*      Tomcat:    ./yanel.sh start
> >*
> >*                 and browse to
> >*
> >*                 http://127.0.0.1:8080/ROOT/
> >*
> >*
> >* Thanks for using Yanel
> >*
> >*****************************************************************
> >Starting Tomcat (/home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java2/apache-tomcat-5.5.20/bin/startup.sh) ...
> >Running the tests
> >NOTE: Running the tests might take a while. Thanks for your patience ...
> >Running the junit tests
> >Running the htmlunit tests
> >
> >        
> >
> >  Unit Tests: (5)
> > failure 	testXMLResource 
> > org.wyona.yanel.impl.resources.WikiResourceWebTest
> >
> >  
> >  Unit Test Error Details: (1)
> > Test:  	testXMLResource
> > Class:  	org.wyona.yanel.impl.resources.WikiResourceWebTest
> >
> > 	
> > junit.framework.ComparisonFailure: provided title "A Wiki page" 
> > doesn't match page title "A Wiki page - Yanel" expected:<... - Yanel> 
> > but was:<...> 
> >
> > 	at 
> > org.wyona.yanel.htmlunit.AbstractHtmlUnitTest.assertTitleEquals(Unknown 
> > Source) 
> >
> > 	at 
> > org.wyona.yanel.impl.resources.WikiResourceWebTest.testXMLResource(Unknown 
> > Source) 
> >
> > 	at org.wyona.yanel.htmlunit.AbstractHtmlUnitTest.runTest(Unknown Source)
> >
> >  Modifications since last successful build:  (20)
> >
> >  Deployments by this build: (19)
> > Building jar: 
> > /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java2/trunk/build/lib/yanel-core-0.0.1-dev-r17165.jar 
> >
> > Building jar: 
> > /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java2/trunk/build/lib/yanel-impl-0.0.1-dev-r17165.jar 
> >
> > Building jar: 
> > /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java2/trunk/src/resources/file/build/lib/yanel-resource-file-0.0.1-dev-rXXX.jar 
> >
> > Building jar: 
> > /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java2/trunk/src/resources/directory/build/lib/yanel-resource-directory-0.0.1-dev-rXXX.jar 
> >
> > Building jar: 
> > /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java2/trunk/src/resources/tape/build/lib/yanel-resource-tape-0.0.1-dev-rXXX.jar 
> >
> > Building jar: 
> > /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java2/trunk/src/resources/odt/build/lib/yanel-resource-odt-0.0.1-dev-rXXX.jar 
> >
> > Building jar: 
> > /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java2/trunk/src/resources/xml/build/lib/yanel-resource-xml-0.0.1-dev-rXXX.jar 
> >
> > Building jar: 
> > /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java2/trunk/src/resources/invoice/build/lib/yanel-resource-invoice-0.0.1-dev-rXXX.jar 
> >
> > Building jar: 
> > /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java2/trunk/src/contributions/resources/atom/build/lib/yanel-resource-atom-0.0.1-dev-rXXX.jar 
> >
> > Building jar: 
> > /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java2/trunk/src/contributions/resources/atom-entry/build/lib/yanel-resource-atom-entry-0.0.1-dev-rXXX.jar 
> >
> > Building jar: 
> > /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java2/trunk/src/contributions/resources/contact-form/build/lib/yanel-resource-contact-form-0.0.1-dev-rXXX.jar 
> >
> > Building jar: 
> > /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java2/trunk/src/contributions/resources/wiki/build/lib/yanel-resource-wiki-0.0.1-dev-rXXX.jar 
> >
> > Building jar: 
> > /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java2/trunk/src/contributions/resources/zip/build/lib/yanel-resource-zip-0.0.1-dev-rXXX.jar 
> >
> > Building jar: 
> > /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java2/trunk/src/resources/websearch/build/lib/yanel-resource-websearch-0.0.1-dev-rXXX.jar 
> >
> > Building jar: 
> > /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java2/trunk/src/contributions/resources/nutch/build/lib/yanel-resource-nutch-0.0.1-dev-rXXX.jar 
> >
> > Building jar: 
> > /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java2/trunk/src/contributions/resources/davcollection/build/lib/yanel-resource-webdavcollection-0.0.1-dev-rXXX.jar 
> >
> > Building jar: 
> > /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java2/trunk/build/lib/yanel-cmdl-0.0.1-dev-r17165.jar 
> >
> > Building jar: 
> > /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java2/trunk/build/lib/yanel-webapp-0.0.1-dev-r17165.jar 
> >
> > Building jar: 
> > /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java2/trunk/build/webapps/ROOT.war 
> >
> >
> >------------------------------------------------------------------------
> >
> >_______________________________________________
> >Cruisecontrol mailing list
> >Cruisecontrol at wyona.com
> >http://wyona.com/cgi-bin/mailman/listinfo/cruisecontrol
> >  
> >
> 
> 




More information about the Yanel-development mailing list