Re: Using newer version of Rhino
Russell Gold <[email protected]>
| Newsgroups | gmane.comp.web.httpunit.devel |
|---|---|
| Message-ID | <[email protected]> |
On Mar 26, 2008, at 2:44 PM, Wolfgang Fahl wrote: > Russell, > > I wrote: > >I'm trying to experiment with a newer Rhino version but >have > trouble managing the download with ant- >dependencies. > >Version 1.7R1 is not available on the ibiblio.org >server and 1.6R5 > follows a different naming convention: > You wrote: > > change it to: > ><dependency group= "rhino" artifact="js" version= "1.>6R5" > website= "http://www.mozilla.org/rhino/download.>html" /> > Thanks. Works like a charm. I did some small refactoring today to > improve situations where printStackTrace is called. All these cases > now go thru HttpUnitUtils.handleException and a static boolean can > be used to switch of the printing of the stacktrace (as is done now > in the iFrame-testcase that is not finished yet). > > I've also changed the main testsuite to return a Test instead of a > TestSuite so that it can be run from the Eclipse context menu. If I > do so some tests fail with a MalformedURLException that I could not > properly trace down. I added some debugging code in HttpUnitUtils > but could not find out why calling the tests via the ant task works > but calling it from the Eclipse context menu > leads to the same error in some 37 cases. > > Would you have any ideas on this? > I don't use Eclipse, so I don't. What exactly is the error? I call the entire suite from IntelliJIdea with no problems. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Httpunit-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/httpunit-develop