Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [lyo-dev] Fw: Issue generating Lyo OSLC Test Suite html report

Hello Samit

First please make sure you have the latest Lyo OSLC test suite in your workspace.

One thing you can try is to remove all files and directory from these two directories
/work/git/org.eclipse.lyo.testsuite/org.eclipse.lyo.testsuite.server/assessment/cm/junit
/work/git/org.eclipse.lyo.testsuite/org.eclipse.lyo.testsuite.server/assessment/cm/report

then run the ant tasks in two steps
step 1: run the ant task "provider-test"
step 2: run these ant tasks: "merge-results", "append-oslc-spec-info" and "junitreport"

Let me know if you still have issue and we will do further debug.  

Thanks,

Yuhong

----------------------------------------------------------------------
Yuhong Yin

IBM Software, Rational
550 King St. Littleton, MA, 01460
Tel: 978-899-4762
Email: yyin@xxxxxxxxxx



---------- Forwarded message ----------
From: Samit Mehta <samit.mehta@xxxxxxxxxx>
Date: Tue, Sep 18, 2012 at 3:16 PM
Subject: [lyo-dev] Issue generating Lyo OSLC Test Suite html report
To: lyo-dev@xxxxxxxxxxx


Any ideas on how to resolve the following XSLT processing errors when
generating the html report using Ant from the Lyo OSLC Test Suite results.
Not sure if it is related, but the generated Bar Chart (barchartSVG.svg)
is also incorrect - shows more errors than the actual test results.

junitreport:
    [echo] Detecting A Previous OSLCAssessmentReport.html file within the
report directory ...
    [echo] NO OSLCAssessmentReport.html file within the report directory
was detected ...
    [echo] Converting TESTS-TestSuitesOSLC.xml into a HTML report
    [xslt] Processing
/work/git/org.eclipse.lyo.testsuite/org.eclipse.lyo.testsuite.server/assessment/cm/junit/RTC4/TESTS-TestSuitesOSLC.xml
to
/work/git/org.eclipse.lyo.testsuite/org.eclipse.lyo.testsuite.server/assessment/cm/report/RTC4/barchartSVG.svg
    [xslt] Loading stylesheet
/work/git/org.eclipse.lyo.testsuite/org.eclipse.lyo.testsuite.server/assessment/cm/reportstyle/barchartSVG.xsl
    [xslt] Processing
/work/git/org.eclipse.lyo.testsuite/org.eclipse.lyo.testsuite.server/assessment/cm/junit/RTC4/TESTS-TestSuitesOSLC.xml
to
/work/git/org.eclipse.lyo.testsuite/org.eclipse.lyo.testsuite.server/assessment/cm/report/RTC4/OSLCAssessmentReport.html
    [xslt] Loading stylesheet
/work/git/org.eclipse.lyo.testsuite/org.eclipse.lyo.testsuite.server/assessment/cm/reportstyle/junit-noframes.xsl
    [xslt] : Error! The first argument to the non-static Java function
'replace' is not a valid object reference.
    [xslt] : Error! Cannot convert data-type 'void' to 'reference'.
    [xslt] : Fatal Error! Could not compile stylesheet
    [xslt] Failed to process
/work/git/org.eclipse.lyo.testsuite/org.eclipse.lyo.testsuite.server/assessment/cm/junit/RTC4/TESTS-TestSuitesOSLC.xml

____________________________________________
Samit Mehta
mailto:samit.mehta@xxxxxxxxxx
IBM Rational Software - Business Development


Back to the top