Re: Using newer version of Rhino

"Wolfgang Fahl" <[email protected]>
Newsgroups gmane.comp.web.httpunit.devel
Organization BITPlan GmbH
Message-ID <[email protected]>
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?

Changing the parser to a newer version leads to 15 
errors - I'm hoping to find out what the cause for this 
is soon. For the time being I commented out the new 
version setting in build.xml so that the 710 testcases 
still run fine at this point.

Wolfgang

BITPlan - smart solutions
Pater-Delp-Str. 1, D-47877 Willich Schiefbahn
Tel. +49 1805 - BITPLAN / +49 1805 248 752, Fax +49 2154 811-481
Web: http://www.bitplan.de
bitplan GmbH, Willich - HRB 6820 Krefeld, VAT-ID: 10258040548, 
Geschäftsführer: Wolfgang Fahl

-------------------------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.