[Webtest] [webtest][JIRA] Created: (WT-37) Running installTest
after unzipping fails
Denis N. Antonioli
webtest@lists.canoo.com
Tue, 22 Mar 2005 10:48:11 +0100 (CET)
Hi Stefan
I agree with you :-)
junit.jar moved yesterday evening and, since build 758, build.zip
contains the directory bin/ with two webtest scripts.
You can now extract build.zip, cd to the root ot the extracted zip
and type:
C:\Develop\build>bin\webtest.bat -f doc\samples\installTest.xml
Best
=09dna
On Mon, 21 Mar 2005, Stefan Ruff wrote:
> Hi Colin,
>=20
> 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.
>=20
> Cheers,
> Stefan
>=20
> Colin O'Brien writes:
>=20
> > Hi Stefan,
> >
> > Just move junit.jar from lib/build to lib that should sort things out..=
=2E
> >
> > 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.VerifyPdfEncryp=
tPropertyStep 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.VerifyPdfEncryp=
tPropertyStep 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
>=20
>=20
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest
>=20