Re-introduces c5892 that rolled htmlunit dependencies in gwt_dev_jar and
updated user/build.xml accordingly
Patch by: amitmanjhi
git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@5922 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/dev/core/build.xml b/dev/core/build.xml
index 5d3943e..658a48d 100755
--- a/dev/core/build.xml
+++ b/dev/core/build.xml
@@ -54,6 +54,21 @@
<include name="tomcat/tomcat-http11-1.0.jar" />
<include name="tomcat/tomcat-jk2-2.1.jar" />
<include name="tomcat/tomcat-util-5.1.jar" />
+ <!-- htmlunit dependencies not already included: BEGIN -->
+ <include name="apache/commons/commons-codec-1.3.jar" />
+ <include name="apache/commons/commons-httpclient-3.1.jar" />
+ <include name="apache/commons/commons-io-1.4.jar" />
+ <include name="apache/commons/commons-lang-2.4.jar" />
+ <include name="cssparser/cssparser-0.9.5.jar" />
+ <include name="htmlunit/htmlunit-2.5.jar" />
+ <include name="htmlunit/htmlunit-core-js-2.5.jar" />
+ <include name="nekohtml/nekohtml-1.9.12.jar" />
+ <include name="xalan/xalan-2.7.1.jar" />
+ <include name="xerces/xerces-2_9_1/serializer.jar" />
+ <include name="xerces/xerces-2_9_1/xercesImpl.jar" />
+ <include name="xerces/xerces-2_9_1/xml-apis.jar" />
+ <include name="w3c/sac/sac-1.3.jar" />
+ <!-- htmlunit dependencies not already included: END -->
</fileset>
<fileset file="build.xml"/>
</sourcefiles>
@@ -93,6 +108,21 @@
<zipfileset src="${gwt.tools.lib}/tomcat/tomcat-http11-1.0.jar" />
<zipfileset src="${gwt.tools.lib}/tomcat/tomcat-jk2-2.1.jar" />
<zipfileset src="${gwt.tools.lib}/tomcat/tomcat-util-5.1.jar" />
+ <!-- htmlunit dependencies not already included: BEGIN -->
+ <zipfileset src="${gwt.tools.lib}/apache/commons/commons-codec-1.3.jar" />
+ <zipfileset src="${gwt.tools.lib}/apache/commons/commons-httpclient-3.1.jar" />
+ <zipfileset src="${gwt.tools.lib}/apache/commons/commons-io-1.4.jar" />
+ <zipfileset src="${gwt.tools.lib}/apache/commons/commons-lang-2.4.jar" />
+ <zipfileset src="${gwt.tools.lib}/cssparser/cssparser-0.9.5.jar" />
+ <zipfileset src="${gwt.tools.lib}/htmlunit/htmlunit-2.5.jar" />
+ <zipfileset src="${gwt.tools.lib}/htmlunit/htmlunit-core-js-2.5.jar" />
+ <zipfileset src="${gwt.tools.lib}/nekohtml/nekohtml-1.9.12.jar" />
+ <zipfileset src="${gwt.tools.lib}/xalan/xalan-2.7.1.jar" />
+ <zipfileset src="${gwt.tools.lib}/xerces/xerces-2_9_1/serializer.jar" />
+ <zipfileset src="${gwt.tools.lib}/xerces/xerces-2_9_1/xercesImpl.jar" />
+ <zipfileset src="${gwt.tools.lib}/xerces/xerces-2_9_1/xml-apis.jar" />
+ <zipfileset src="${gwt.tools.lib}/w3c/sac/sac-1.3.jar" />
+ <!-- htmlunit dependencies not already included: END -->
</gwt.jar>
</sequential>
</outofdate>
diff --git a/user/build.xml b/user/build.xml
index f285fcc..47a0c20 100755
--- a/user/build.xml
+++ b/user/build.xml
@@ -36,26 +36,6 @@
<pathelement location="test_i18n_${gwt.i18n.test.InnerClassChar}" />
</path>
- <!--
- Classpaths added for htmlunit libs
- -->
- <path id="htmlunit.libs">
- <pathelement location="${gwt.tools.lib}/apache/commons/commons-codec-1.3.jar" />
- <pathelement location="${gwt.tools.lib}/tomcat/commons-collections-3.1.jar" />
- <pathelement location="${gwt.tools.lib}/apache/commons/commons-httpclient-3.1.jar" />
- <pathelement location="${gwt.tools.lib}/apache/commons/commons-io-1.4.jar" />
- <pathelement location="${gwt.tools.lib}/apache/commons/commons-lang-2.4.jar" />
- <pathelement location="${gwt.tools.lib}/tomcat/commons-logging-1.0.jar" />
- <pathelement location="${gwt.tools.lib}/cssparser/cssparser-0.9.5.jar" />
- <pathelement location="${gwt.tools.lib}/htmlunit/htmlunit-2.5.jar" />
- <pathelement location="${gwt.tools.lib}/htmlunit/htmlunit-core-js-2.5.jar" />
- <pathelement location="${gwt.tools.lib}/nekohtml/nekohtml-1.9.12.jar" />
- <pathelement location="${gwt.tools.lib}/xalan/xalan-2.7.1.jar" />
- <pathelement location="${gwt.tools.lib}/xerces/xerces-2_9_1/serializer.jar" />
- <pathelement location="${gwt.tools.lib}/xerces/xerces-2_9_1/xercesImpl.jar" />
- <pathelement location="${gwt.tools.lib}/xerces/xerces-2_9_1/xml-apis.jar" />
- <pathelement location="${gwt.tools.lib}/w3c/sac/sac-1.3.jar" />
- </path>
<!-- Platform shouldn't matter here, just picking one -->
<property.ensure name="gwt.dev.jar" location="${gwt.build.lib}/gwt-dev-${build.host.platform}.jar" />
@@ -70,7 +50,6 @@
<pathelement location="${gwt.tools.lib}/w3c/sac/sac-1.3.jar" />
<pathelement location="${gwt.tools.lib}/w3c/flute/flute-1.3.jar" />
<pathelement location="${gwt.dev.jar}" />
- <path refid="htmlunit.libs" />
</classpath>
</gwt.javac>
@@ -97,7 +76,6 @@
<pathelement location="${gwt.tools.lib}/junit/junit-3.8.1.jar" />
<pathelement location="${gwt.tools.lib}/selenium/selenium-java-client-driver.jar" />
<pathelement location="${gwt.dev.jar}" />
- <path refid="htmlunit.libs" />
</classpath>
</gwt.javac>
</target>
@@ -200,7 +178,6 @@
<gwt.junit test.args="${test.args} -htmlunit FF3" test.out="${junit.out}/${build.host.platform}-htmlunit-web-mode" test.cases="test.web.htmlunit.tests" >
<extraclasspaths>
<path refid="test.extraclasspath" />
- <path refid="htmlunit.libs" />
</extraclasspaths>
</gwt.junit>
</target>