3 Replies Latest reply on Sep 23, 2008 10:47 AM by Nick Belaevski

    Build the Sources

    Thi My-Duyen Koehler Newbie

      Hallo gurus,

      i've some problems:
      for debuging purpose, I want to compile the RichFace sources, but it fails always. I have loaded the last sources from svn (and the released sources 3.2.1 and 3.2.2 and 3.2.0), installed maven and have configured it as descriped in the wiki. beside this i have the last jdk and the Red Hat Dev Studio ... but all buildruns ended in errors. Is there any component, what i have missed ?

        • 1. Re: Build the Sources
          Nick Belaevski Master

          Hi,

          Please post a part of Maven build logs with the failure messages.

          • 2. Re: Build the Sources
            Thi My-Duyen Koehler Newbie

            there 2 errorlogs

            -------------------------------------------------------------------------------
            Test set: org.ajax4jsf.resource.CSSTemplateTestCase
            -------------------------------------------------------------------------------
            Tests run: 9, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 3.672 sec <<< FAILURE!
            testGetUri(org.ajax4jsf.resource.CSSTemplateTestCase) Time elapsed: 0.11 sec <<< FAILURE!
            junit.framework.AssertionFailedError
            at junit.framework.Assert.fail(Assert.java:47)
            at junit.framework.Assert.assertTrue(Assert.java:20)
            at junit.framework.Assert.assertTrue(Assert.java:27)
            at org.ajax4jsf.resource.CSSTemplateTestCase.testGetUri(CSSTemplateTestCase.java:161)


            and

            -------------------------------------------------------------------------------
            Test set: org.richfaces.renderkit.TemplateEncoderRendererBaseTest
            -------------------------------------------------------------------------------
            Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.672 sec <<< FAILURE!
            testEncodeNonRendered(org.richfaces.renderkit.TemplateEncoderRendererBaseTest) Time elapsed: 0.656 sec <<< ERROR!
            java.lang.NullPointerException
            at java.lang.String.startsWith(String.java:1252)
            at java.lang.String.startsWith(String.java:1281)
            at org.ajax4jsf.webapp.WebXml.getFacesResourceKey(WebXml.java:189)
            at org.ajax4jsf.tests.AbstractAjax4JsfTestCase$1.getResponse(AbstractAjax4JsfTestCase.java:369)
            at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseFromWebConnection(WebClient.java:1500)
            at com.gargoylesoftware.htmlunit.WebClient.loadWebResponse(WebClient.java:1456)
            at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:355)
            at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:407)
            at org.ajax4jsf.tests.AbstractAjax4JsfTestCase.processResponse(AbstractAjax4JsfTestCase.java:677)
            at org.ajax4jsf.tests.AbstractAjax4JsfTestCase.processResponseWriter(AbstractAjax4JsfTestCase.java:648)
            at org.richfaces.renderkit.TemplateEncoderRendererBaseTest.testEncodeNonRendered(TemplateEncoderRendererBaseTest.java:62)

            • 3. Re: Build the Sources
              Nick Belaevski Master

              I did not see such errors when I did daily build today. Does it happen in trunk?

              P.S. You can skip tests by adding

              -Dmaven.test.skip=true
              to command line.