Ok, so there is something unconsidered with your build environment.

Do you need to use the sql/jdbc objectstore? 

If not, you should still be able to build and install the rest of the 
framework, if you ignore test failures in the sql-test-common module.

By the way, are you using OpenJDK or the Sun/Oracle JDK?

Regards,
Kevin

Mark Wood-Patrick <[email protected]> wrote:

>I attach the output I got.
>
>Modifying the pom.xml file did not help I attach the modified file did
>I need to do anything apart from modify the file and run 
>
>       mvn test
>
>Mark
>-----Original Message-----
>From: Kevin Meyer - KMZ [mailto:[email protected]] 
>Sent: Monday, February 11, 2013 10:48 AM
>To: [email protected]
>Subject: Re: problem building the latest Isis source code 
>
>Hi Mark,
>
>This is odd.
>
>The build succeeded on the Jenkins CI server.
>
>Please can you go to the project directory and manually run a build.
>$ cd component/objectstore/sql/sql-tests-common/
>$ mvn test
>
>You should get some output to the console along the lines of:
>00:13:13,722  [SqlIntegrationTestData main       INFO ]  Test:
>testDate() '2010-3-5' = 1267747200000
>00:13:13,722  [SqlIntegrationTestData main       INFO ] 
>applibDate.dateValue() as String: 2010-03-05
>00:13:13,722  [SqlIntegrationTestData main       INFO ] 
>applibDate.dateValue() as Long: 1267747200000
>00:13:13,723  [SqlIntegrationTestData main       INFO ] 
>sqlDataClass.getDate() as String: 2010-03-05
>00:13:13,723  [SqlIntegrationTestData main       INFO ] 
>sqlDataClass.getDate().getTime() as Long: 1267747200000
>00:13:13,723  [SqlIntegrationTestData main       INFO ]  Test:
>testSqlDate() '2011-4-8' == 1302220800000
>00:13:13,723  [SqlIntegrationTestData main       INFO ] 
>sqlDate.toString() as String:2010-04-08
>00:13:13,723  [SqlIntegrationTestData main       INFO ] 
>sqlDate.getTime() as Long:1270684800000
>00:13:13,724  [SqlIntegrationTestData main       INFO ] 
>sqlDataClass.getSqlDate() as String:2010-04-08
>00:13:13,724  [SqlIntegrationTestData main       INFO ] 
>sqlDataClass.getSqlDate().getTime() as Long:1270684800000
>00:13:13,728  [SqlIntegrationTestData main       INFO ]  Test:
>testDateTime()
>00:13:13,734  [SqlIntegrationTestData main       INFO ] 
>sqlDataClass.getDateTime() as String:2010-03-05 01:23
>00:13:13,734  [SqlIntegrationTestData main       INFO ] 
>dateTime.toString() as String:2010-03-05 01:23
>00:13:13,734  [SqlIntegrationTestData main       INFO ] 
>sqlDataClass.getDateTime().getTime() as Long:1267752180000
>00:13:13,734  [SqlIntegrationTestData main       INFO ] 
>dateTime.getTime() as Long:1267752180000
>
>Those "Longs" are the expected values.
>
>As I mentioned before, if you can't get the tests to pass (I can
>provide some hints, if you need the functionality), you can just
>disable the test failure from being a problem by editting the pom.xml
>and chaning the "false" to a "true" in line 53:
><testFailureIgnore>false</testFailureIgnore>
>
>
>Regards,
>Kevin
>
>On 10 Feb 2013 at 11:11, Mark Wood-Patrick wrote:
>
>> In trying to build the latest Isis source code from:
>> 
>>         git clone git://git.apache.org/isis.git
>> 
>> I get this failure
>> 
>>         Results :
>> 
>>   testTestAll(org.apache.isis.objectstore.sql.HsqlTest): Applib date:
>Test '2010-3-5', expected 2010-03-05, but got 2010-03-03. Check log for
>more info.
>> 
>> Tests run: 9, Failures: 1, Errors: 0, Skipped: 0
>> 
>> There are no more details in the log file anyone know what the issue 
>> might be? I'm building on CentOS release 5.7 (Final)
>> 
>> Mark Wood-Patrick
>> 
>
>
>-----------------------------------------------------------------------------------
>This email message is for the sole use of the intended recipient(s) and
>may contain
>confidential information.  Any unauthorized review, use, disclosure or
>distribution
>is prohibited.  If you are not the intended recipient, please contact
>the sender by
>reply email and destroy all copies of the original message.
>-----------------------------------------------------------------------------------

-- 
Sent from my Android phone with K-9 Mail. Please excuse my brevity.

Reply via email to