We planed to use Cakupan (Link) as the XSLT unit test coverage tool. We have downloaded the sample project and ran the build.xml. At that time we are betting the bellow error.
C:\Cakupan\build.xml:143: java.lang.NoClassDefFoundError: com/thoughtworks/xstream/XStream
I set all the relatd lib in the class path. Bellow build.xml content can make sure that.
<property name="lib.dir" value="lib" />
<path id="classpath.xslt">
<pathelement location="${lib.dir}/commons-lang-2.1.jar" />
<pathelement location="${lib.dir}/xstream-1.4.4.jar" />
<pathelement location="${lib.dir}/xpp3-1.1.4c.jar" />
<pathelement location="${lib.dir}/saxon9.jar" />
<pathelement location="${lib.dir}/xalan-2.6.0.jar" />
<pathelement location="${lib.dir}/${ant.test.lib}" />
<pathelement location="${lib.dir}/junit-4.10.jar" />
</path>
I have put all the jars in the lib folder. Please find bellow screen shot
Note: XStream.class is availabe in xstream-1.4.4.jar
Please help me to resolve this issue.