6 Replies Latest reply on Mar 18, 2008 10:41 AM by Randall Hauch

    Problem getting started

    Benjamin Rasmussen Newbie

      I decided to give it a try. After checkout of the project I did a mvn install.

      I got a dependency error I fixed by adding (to the pom.xml):

      <dependency>
       <groupId>org.hamcrest</groupId>
       <artifactId>hamcrest-library</artifactId>
       <version>1.1</version>
       <scope>test</scope>
      </dependency>


      And to ensure that I could download al the require jar I added (also to the pom.xml):

      <repositories>
       <repository>
       <id>repository.jboss.org</id>
       <name>JBoss Repository</name>
       <url>http://repository.jboss.org/maven2</url>
       </repository>
      </repositories>


      It seems to do the trick :-)

      Unfortunatly, I got 6 failures in the following tests:
      - shouldReportTotalTime(org.jboss.dna.common.stats.StopwatchTest) Time elapsed: 0.062 sec <<< FAILURE!
      java.lang.AssertionError: expected:<40.0> but was:<61.0>
      - shouldReportAverageTime(org.jboss.dna.common.stats.StopwatchTest) Time elapsed: 0.063 sec <<< FAILURE!
      java.lang.AssertionError: expected:<10> but was:<14>
      ...
      - shouldConvertDateToStringAndBack(org.jboss.dna.common.util.DateUtilTest) Time elapsed: 0 sec <<< ERROR!
      java.lang.NumberFormatException: For input string: "+01"
      ...

      The errors are related to time and date. Any ideas that is wrong. I am testing using jdk 1.6.0_04.

      Thanks in advanced