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

Stefan Ruff webtest@lists.canoo.com
Mon, 21 Mar 2005 12:23:33 +0100


Hi Colin, 

I did that. But I am writing the installing WebTest part for the book.
I can also write that the user has to move the junit.jar. But I think we
should rather fix that problem than describe a =82workaround=92 in the bo=
ok. 

Cheers,
Stefan 

Colin O'Brien writes: 

> 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.xm=
l. The test failes, because com.canoo.webtest.steps.pdftest.VerifyPdfEncr=
yptPropertyStep 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 prefer=
able way)
> 2) move junit.jar from lib/build to lib
> 3) change VerifyPdfEncryptPropertyStep so it don.t need classes from ju=
nit/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: task=
def A class needed by class com.canoo.webtest.steps.pdftest.VerifyPdfEncr=
yptPropertyStep cannot be found: junit/framework/TestCase 
> 
> -- 
> 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 
> 
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest