[Webtest] [webtest][JIRA] Created: (WT-37) Running installTest after unzipping fails

Colin O'Brien webtest@lists.canoo.com
Mon, 21 Mar 2005 08:09:01 -0000


Hi Stefan,

Just move junit.jar from lib/build to lib that should sort things out...

Cheers,
Colin.

-----Original Message-----
From: webtest-admin@lists.canoo.com
[mailto:webtest-admin@lists.canoo.com]On Behalf Of Stefan Ruff (JIRA)
Sent: 19 March 2005 10:04
To: webtest@lists.canoo.com
Subject: [Webtest] [webtest][JIRA] Created: (WT-37) Running installTest
after unzipping fails


Running installTest after unzipping fails
-----------------------------------------

         Key: WT-37
         URL: http://webtest-community.canoo.com/jira/browse/WT-37
     Project: WebTest
        Type: Task
 Environment: Win XP, ant 1.6.2, WebTest_1.7, R_752
    Reporter: Stefan Ruff


After unzipping build.zip I tried to run the =
doc/samples/installTest.xml. The test failes, because =
com.canoo.webtest.steps.pdftest.VerifyPdfEncryptPropertyStep needs the a =
class from junit/framework/TestCase.
Junit.jar is not in the classpath defined in the installTest.xml file.

I think there are a few ways to fix the problem:
1) add lib/build/*.jar to the classpath, (which I think is not a =
preferable way)
2) move junit.jar from lib/build to lib
3) change VerifyPdfEncryptPropertyStep so it don=E2=80=99t need classes =
from junit/framework/TestCase

This is needed to make the installing description (WebTest book) easy.

Original console output:
BUILD FAILED
C:\Program Files\WebTest_1.7_R_752\doc\samples\installTest.xml:41: =
taskdef A class needed by class =
com.canoo.webtest.steps.pdftest.VerifyPdfEncryptPropertyStep cannot be =
found: junit/framework/TestCase

--=20
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://webtest-community.canoo.com/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira

_______________________________________________
WebTest mailing list
WebTest@lists.canoo.com
http://lists.canoo.com/mailman/listinfo/webtest