Ah. That might work for me two. I was assuming the JVM spawned and got the classpath when ant was launched, not when webtest tasks were. I'll give that a shot and see how it goes.
Thanks conor! ________________________________________ From: Conor MacMahon [EMAIL PROTECTED] Sent: Tuesday, August 05, 2008 6:24 PM To: [email protected]; Loehr, Ruel Subject: RE: [Webtest] adding jars to ant lib Hi Ruel, I think we got around that issue here, by making sure the ant process did that copy for us...so, before you even call the webtest, ant would have copied those dependant jars to the %ANT_HOME%/lib folder. Not too pretty, but it's still better than doing it manually. We now call the ant webtest task from within maven2, so webtest picks up those jar references from the maven.test.classpath. So yeah, just two ways to maybe get around that manual step? Hope that helps Ruel, Conor ________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Loehr, Ruel Sent: Wednesday, 6 August 2008 1:17 AM To: [email protected] Subject: [Webtest] adding jars to ant lib We have a number of jars that we need to have in our ant/lib folder in order for our webtests to run. Examples include commons-logging, bsf.jar, js-1.6R7.jar. I hate this as anytime a new employee comes up we have to fiddle with remember what jars need to be placed in their ant lib dir in order for it to work. I’m a die hard believer in check out from SCM and just run. Anyone have any tricks for getting these jars included on the classpath dynamically? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ This email (including any attached files) is for the intended recipient(s) only. If you received this email by mistake, please, as a courtesy, tell the sender, then delete this email. The views and opinions are the originator's and do not necessarily reflect those of the Queensland Studies Authority. All reasonable precautions have been taken to ensure that this email contained no viruses at the time it was sent. _______________________________________________ WebTest mailing list [email protected] http://lists.canoo.com/mailman/listinfo/webtest

