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

Colin O'Brien webtest@lists.canoo.com
Mon, 21 Mar 2005 11:46:53 -0000


Hi Stefan,

Ahh, there is a book on the way... I see... :-)

Perhaps there could be an ANT 'exec' task placed at the beginning of the
installTest moving junit.jar from lib/build to lib... Or ultimately update
the canoo build scripts to bundle junit.jar in the lib directory and any
other .jar files that are required by steps supported in the
'webtestTaskdefs.properties' file...

Anyway I guess you guys are all over this issue, so I'll let you alone to
get on with it... :-)

Cheers,
Colin.

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


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 ‚workaround’ in the book.

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.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.t 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
>
> --
> 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


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