1 message in com.canoo.lists.webtest[Webtest] re: problem running target=...
FromSent OnAttachments
Marco Neri22 Nov 2004 19:17 
Subject:[Webtest] re: problem running target=ApplyMulti in ApplyXSL.xml (again)
From:Marco Neri (mar@objectconsulting.com.au)
Date:11/22/2004 07:17:52 PM
List:com.canoo.lists.webtest

Mittie.

danke for the reply..

the xslt processing failed because the xalan.jar is not on you classpath. The easiest and safest way to get around this is to copy <webtest-home>/lib/xalan.jar to your <ant-home>/lib

I tried originally tried this to copy xalan.jar to <ant-home>/lib ( for both ant version 1.6.2 and version 1.5.4 ).

ApplyXSL.xml tests for the path..

<target name="failIfBadPath" depends="onPath" unless="path.ok"> <fail message="Xalan missing on classpath. Put xalan.jar and xerces.jar to ant/lib."/> <!-- note: classpath attribute or element does not work in style task --> </target>

I do not see the error msg in my output it reports

failIfBadPath: Skipped because property 'path.ok' set.

so the path seems to be set ok.

ant 1.6.2 has ant-xalan1.jar and xercesImpl.jar already existing. I tried to rename these with .old extension and copy in both xalan.jar and xercesImpl.jar from <webtesthome>/lib but I had the same deprecated error.

I also tried to checkout from cvs latest version of webtest I copy the xalan.jar and xercesImpl.jar to ants lib dir and i ran the build against the latest version of webtest and this time i recieve a different error

BUILD FAILED C:\products\eclipse\workspace\LinkMe\SystemTest\testsuite.xml:18: The following error occurred while executing this line: C:\products\eclipse\workspace\LinkMe\SystemTest\testcases\includes\definitio n.xml:1: taskdef class com.canoo.webtest.extension.ExportProperty cannot be found at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper .java:539) at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:388)

thanks

Marco