|
[
Permlink
| « Hide
]
Natalia Kowalczyk added a comment - 09/Jul/05 10:55 PM
CVS diff of WebResponseObjectFactory with a patch
Thanks Natakia, that's a great patch. Do you think you could add some junit tests in samples/servlet that proves that it works? Also, it would be great if you could submit some doco patch (they're in documentation/docs/xdocs). Having all this will make is much faster to apply your patch as otherwise we'll need to write all those. Thanks again for this very useful patch!
Here is a test case for this issue. I also modify in differant location classpath/dependancies to make the build work and the test pass (it work on my system) but i can't attach the patch ATM as I am offline and can't make any diff so the patch arrive this weekend.
Here is the patch to add htmlunitjar in the differants classpath/dependancies
I will commit the patch this week end
While I was testing Cactus's samples, I got this error testing on Tomcat 5:
[cactustests] Null Test: Caused an ERROR [cactustests] com/gargoylesoftware/htmlunit/WebResponse [cactustests] java.lang.NoClassDefFoundError: com/gargoylesoftware/htmlunit/WebResponse [cactustests] at java.lang.Class.getDeclaredMethods0(Native Method) [cactustests] at java.lang.Class.privateGetDeclaredMethods(Class.java:2365) [cactustests] at java.lang.Class.getMethod0(Class.java:2611) [cactustests] at java.lang.Class.getMethod(Class.java:1579) It probably means we didn't bundle a jar needed by HTML Unit... Nope, that class has no external dependency; looks like a classloader issue then...
Already integrated in the SVN HEAD. We will have to think of a better integration for the future. I am closing this issue now and will open one after we release Cactus 1.8.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||