Hi,
I have problems running the testproject shipped with XRadar 1.0 on Windows. I know that the beta fails to run on windows, but I assumed that the problem was fixed with the final.
If it's a new problem (or some missconfinguration of mine) here is the output:
Buildfile: build.xml
[echo] Encoding ISO-8859-1
statics_all:
[echo] Encoding ISO-8859-1
is_externalsource_available:
copy_externalsource:
set_junit_properties:
set_jcoverage_properties:
set_cobertura_properties:
build_one:
[echo] Encoding ISO-8859-1
document_release:
[javadoc] Generating Javadoc
[javadoc] Javadoc execution
[javadoc] Loading source file C:\xradar-1.0\testproject\release1\source\org\xradar\test\a\A1.java...
[javadoc] Loading source file C:\xradar-1.0\testproject\release1\source\org\xradar\test\e\E1.java...
[javadoc] Loading source file C:\xradar-1.0\testproject\release1\source\org\xradar\test\f\F1.java...
[javadoc] Constructing Javadoc information...
[javadoc] Standard Doclet version 1.5.0_12
[javadoc] Building tree for all the packages and classes...
[javadoc] Building index for all the packages and classes...
[javadoc] Building index for all classes...
[echo] Encoding ISO-8859-1
build_and_run_tests_for_release:
[echo] Encoding ISO-8859-1
-build_tests_for_release_if_test_suite_analysis:
[echo] Encoding ISO-8859-1
-build_tests_for_release_if_junit_report_analysis:
[echo] Encoding ISO-8859-1
run_tests_for_release:
statics:
[echo] Running the tools on version 1.
set_skip.analysis:
analyse_code:
[echo] Analyzing with JDepend
jdepend:
[echo] Analyzing with ckjm
ckjm:
run-ckjm:
[echo] Analyzing with DependencyFinder
depfind:
[dependencyextractor] Reading classes from path C:\xradar-1.0\testproject\release1\classes
[dependencyextractor] log4j:WARN No appenders could be found for logger (com.jeantessier.classreader.PermissiveDispatcher).
[dependencyextractor] log4j:WARN Please initialize the log4j system properly.
[dependencyextractor] Saving dependency graph to C:\xradar-1.0\testproject\release1\docs\xml\depfind_report.xml
[echo] Analyzing Tests with DependencyFinder
depfind_test:
[echo] Analyzing with PMD
pmd:
[echo] Analyzing with CPD
cpd:
[cpd] Tokenizing files
[cpd] Starting to analyze code
[cpd] Done analyzing code; that took 15 milliseconds
[cpd] Generating report
[cpd] No duplicates over 75 tokens found
[echo] Analyzing with JavaNCSS
ncss:
[javancss] Generating report
[echo] Analyzing with Checkstyle
checkstyle:
[checkstyle] log4j:WARN No appenders could be found for logger (org.apache.commons.beanutils.BeanUtils).
[checkstyle] log4j:WARN Please initialize the log4j system properly.
[checkstyle] Running Checkstyle 4.2 on 3 files
[echo] Running Java2HTML
java2html:
[java2html] Converting 3 files
[echo] Setting properties specific to version 1:
[echo] Running xradar statics on version 1
[xradar-statics] Report test_depfind was not added, because C:\xradar-1.0\testproject/release1/docs//xml/test_depfind_report.xml does not exist or is not readable.
[xradar-statics] Report junit was not added, because C:\xradar-1.0\testproject/release1/docs//xml/junit.xml does not exist or is not readable.
[xradar-statics] Report cobertura was not added, because C:\xradar-1.0\testproject/release1/docs//xml/cobertura.xml does not exist or is not readable.
[xradar-statics] Merging data from tool's reports.
[xradar-statics] Post processing merged files.
[xradar-statics] java.io.UTFDataFormatException: Invalid byte 2 of 3-byte UTF-8 sequence.
[xradar-statics] at org.apache.xerces.impl.io.UTF8Reader.invalidByte(Unknown Source)
[xradar-statics] at org.apache.xerces.impl.io.UTF8Reader.read(Unknown Source)
[xradar-statics] at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source)
[xradar-statics] at org.apache.xerces.impl.XMLEntityScanner.scanLiteral(Unknown Source)
[xradar-statics] at org.apache.xerces.impl.XMLScanner.scanAttributeValue(Unknown Source)
[xradar-statics] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanAttribute(Unknown Source)
[xradar-statics] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
[xradar-statics] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
[xradar-statics] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
[xradar-statics] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
[xradar-statics] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
[xradar-statics] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
[xradar-statics] at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
[xradar-statics] at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
[xradar-statics] at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:98)
[xradar-statics] at org.sourceforge.xradar.XSLTMerger.loadXMLFile(XSLTMerger.java:105)
[xradar-statics] at org.sourceforge.xradar.XSLTMerger.merge(XSLTMerger.java:119)
[xradar-statics] at org.sourceforge.xradar.XSLTMerger.merge(XSLTMerger.java:163)
[xradar-statics] at org.sourceforge.xradar.statics.Statics.processStep(Statics.java:373)
[xradar-statics] at org.sourceforge.xradar.statics.Statics.executePostProcessing(Statics.java:243)
[xradar-statics] at org.sourceforge.xradar.ant.StaticsTask.execute(StaticsTask.java:97)
[xradar-statics] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[xradar-statics] at org.apache.tools.ant.Task.perform(Task.java:364)
[xradar-statics] at org.apache.tools.ant.Target.execute(Target.java:341)
[xradar-statics] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[xradar-statics] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[xradar-statics] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)
[xradar-statics] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[xradar-statics] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
[xradar-statics] at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)
[xradar-statics] at org.apache.tools.ant.Task.perform(Task.java:364)
[xradar-statics] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:64)
[xradar-statics] at net.sf.antcontrib.logic.ForEach.executeSequential(ForEach.java:178)
[xradar-statics] at net.sf.antcontrib.logic.ForEach.execute(ForEach.java:254)
[xradar-statics] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[xradar-statics] at org.apache.tools.ant.Task.perform(Task.java:364)
[xradar-statics] at org.apache.tools.ant.Target.execute(Target.java:341)
[xradar-statics] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[xradar-statics] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[xradar-statics] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
[xradar-statics] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
[xradar-statics] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[xradar-statics] at org.apache.tools.ant.Main.runBuild(Main.java:668)
[xradar-statics] at org.apache.tools.ant.Main.startAnt(Main.java:187)
[xradar-statics] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
[xradar-statics] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
[xradar-statics] [Fatal Error] :-1:-1: Premature end of file.
[xradar-statics] org.xml.sax.SAXParseException: Premature end of file.
[xradar-statics] at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
[xradar-statics] at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
[xradar-statics] at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:98)
[xradar-statics] at org.sourceforge.xradar.XSLTMerger.loadXMLFile(XSLTMerger.java:105)
[xradar-statics] at org.sourceforge.xradar.XSLTMerger.merge(XSLTMerger.java:119)
[xradar-statics] at org.sourceforge.xradar.XSLTMerger.merge(XSLTMerger.java:163)
[xradar-statics] at org.sourceforge.xradar.statics.Statics.processStep(Statics.java:373)
[xradar-statics] at org.sourceforge.xradar.statics.Statics.executePostProcessing(Statics.java:249)
[xradar-statics] at org.sourceforge.xradar.ant.StaticsTask.execute(StaticsTask.java:97)
[xradar-statics] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[xradar-statics] at org.apache.tools.ant.Task.perform(Task.java:364)
[xradar-statics] at org.apache.tools.ant.Target.execute(Target.java:341)
[xradar-statics] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[xradar-statics] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[xradar-statics] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)
[xradar-statics] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[xradar-statics] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
[xradar-statics] at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)
[xradar-statics] at org.apache.tools.ant.Task.perform(Task.java:364)
[xradar-statics] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:64)
[xradar-statics] at net.sf.antcontrib.logic.ForEach.executeSequential(ForEach.java:178)
[xradar-statics] at net.sf.antcontrib.logic.ForEach.execute(ForEach.java:254)
[xradar-statics] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[xradar-statics] at org.apache.tools.ant.Task.perform(Task.java:364)
[xradar-statics] at org.apache.tools.ant.Target.execute(Target.java:341)
[xradar-statics] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[xradar-statics] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[xradar-statics] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
[xradar-statics] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
[xradar-statics] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[xradar-statics] at org.apache.tools.ant.Main.runBuild(Main.java:668)
[xradar-statics] at org.apache.tools.ant.Main.startAnt(Main.java:187)
[xradar-statics] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
[xradar-statics] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
[xradar-statics] [Fatal Error] :-1:-1: Premature end of file.
The error repeats and repeats and repeats ....
I hope you can help me :)
Please read bug ID 2474591.
I was able to run XRadar 1.0 on Windows XP and Windows Vista -I used jdk1.6.0_11.