This content has been marked as final.
Show 1 reply
-
1. Re: Getting Started Doco - issues
ssilvert Oct 11, 2010 8:30 AM (in response to kragoth)I believe that the list on the Getting Started page is correct. It is the list for JSFUnit 1.3. It now requires both commons-httpclient-2.0.2 and the new httpcomponents-httpclient 4.0.1. Cactus needs the old one and the latest HtmlUnit needs the new one.
If you are using JSFUnit 1.3 then you need to update HtmlUnit to 2.8 and Neko to 1.9.14.
Here is the Maven dependency tree from one of the sample apps:
[INFO] --- maven-dependency-plugin:2.1:tree (default-cli) @ jboss-jsfunit-examples-hellojsf-jsfunit --- [INFO] org.jboss.jsfunit:jboss-jsfunit-examples-hellojsf-jsfunit:war:1.4.0.Final-SNAPSHOT [INFO] +- org.jboss.jsfunit:jboss-jsfunit-core:jar:1.4.0.Final-SNAPSHOT:compile [INFO] | +- net.sourceforge.htmlunit:htmlunit:jar:2.8:compile [INFO] | | +- commons-codec:commons-codec:jar:1.4:compile [INFO] | | \- xerces:xercesImpl:jar:2.9.1:compile [INFO] | | \- xml-apis:xml-apis:jar:1.3.04:compile [INFO] | +- net.sourceforge.htmlunit:htmlunit-core-js:jar:2.8:compile [INFO] | +- org.apache.httpcomponents:httpclient:jar:4.0.1:compile [INFO] | | \- org.apache.httpcomponents:httpcore:jar:4.0.1:compile [INFO] | +- org.apache.httpcomponents:httpmime:jar:4.0.1:compile [INFO] | +- org.apache.james:apache-mime4j:jar:0.6:compile [INFO] | +- commons-lang:commons-lang:jar:2.4:compile [INFO] | +- commons-collections:commons-collections:jar:3.2.1:compile [INFO] | +- commons-io:commons-io:jar:1.4:compile [INFO] | +- net.sourceforge.cssparser:cssparser:jar:0.9.5:compile [INFO] | | \- org.w3c.css:sac:jar:1.3:compile [INFO] | +- net.sourceforge.nekohtml:nekohtml:jar:1.9.14:compile [INFO] | +- xalan:xalan:jar:2.7.1:compile [INFO] | | \- xalan:serializer:jar:2.7.1:compile [INFO] | \- cactus:cactus:jar:13-1.7.1:compile [INFO] | +- cactus:cactus-ant:jar:13-1.7.1:compile [INFO] | +- commons-httpclient:commons-httpclient:jar:2.0.2:compile [INFO] | +- junit:junit:jar:3.8.1:compile [INFO] | +- aspectj:aspectjrt:jar:1.2.1:compile [INFO] | \- cargo:cargo:jar:0.5:compile [INFO] +- org.jboss.jsfunit:jboss-jsfunit-examples-hellojsf-webapp:war:1.4.0.Final-SNAPSHOT:runtime
Of course, where you see JSFUnit 1.4.0.Final-SNAPSHOT you should use 1.3.0.Final.
Stan