Hi,

I am getting
 java.lang.Linkage Error when using org.w3c.dom.Node class in some of my
source files.

 Above error is coming when i am trying to run the TestCases using batchtest
task, and then trying to generate junit reports.


  The part of build xml which contains the junit task is as follows

<target name="runtests" depends="compiletests" if="junit.present">
        <java fork="yes" classname="junit.swingui.TestRunner"
            taskname="junit" failonerror="true">
              <arg value="spark5.AllJUnitTests"/>
              <classpath>
             <pathelement location="build/lib/${app.name}-${DSTAMP}.jar" />
                 <pathelement path="" />
             <pathelement path="${java.class.path}" />
            </classpath>
        </java>
        <junit>
           <formatter type="xml" />
              <batchtest>
                <fileset dir="${build}">
                    <include name="spark5/**/*Test.class" />
                </fileset>
              </batchtest>
              <classpath>
                <pathelement location="build/lib/${app.name}-${DSTAMP}.jar"
/>
                <pathelement location="build/testcases/spark5" />
                 <pathelement path="" />
                <pathelement path="${java.class.path}" />
              </classpath>
          </junit>
        <junitreport>
           <fileset dir=".">
                <include name="TEST-*.xml"/>
             </fileset>
           <report format="frames" todir="./docs"/>
           <report format="noframes" todir="."/>
        </junitreport>

</target>

Can anyone mail me the solution to following mail id.
 [EMAIL PROTECTED]

Srinivas.






--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to