Author: jboynes Date: Sun Aug 4 17:59:37 2013 New Revision: 1510281 URL: http://svn.apache.org/r1510281 Log: Add test dependency on EasyMock, cglib and objenesis
Modified: tomcat/trunk/build.properties.default tomcat/trunk/build.xml Modified: tomcat/trunk/build.properties.default URL: http://svn.apache.org/viewvc/tomcat/trunk/build.properties.default?rev=1510281&r1=1510280&r2=1510281&view=diff ============================================================================== --- tomcat/trunk/build.properties.default (original) +++ tomcat/trunk/build.properties.default Sun Aug 4 17:59:37 2013 @@ -205,6 +205,24 @@ hamcrest.home=${base.path}/hamcrest-${ha hamcrest.jar=${hamcrest.home}/hamcrest-core-${hamcrest.version}.jar hamcrest.loc=${base-maven.loc}/org/hamcrest/hamcrest-core/${hamcrest.version}/hamcrest-core-${hamcrest.version}.jar +# ----- EasyMock, version 3.2 or later ----- +easymock.version=3.2 +easymock.home=${base.path}/easymock-${easymock.version} +easymock.loc=${base-sf.loc}/easymock/easymock-${easymock.version}.zip +easymock.jar=${easymock.home}/easymock-${easymock.version}.jar + +# ----- cglib, used by EasyMock, version 2.2 or later ----- +cglib.version=2.2.3 +cglib.home=${base.path}/cglib-${cglib.version} +cglib.loc=${base-sf.loc}/cglib/cglib-nodep-${cglib.version}.jar +cglib.jar=${cglib.home}/cglib-nodep-${cglib.version}.jar + +# ----- objenesis, used by EasyMock, version 1.2 or later ----- +objenesis.version=1.2 +objenesis.home=${base.path}/objenesis-${objenesis.version} +objenesis.loc=https://objenesis.googlecode.com/files/objenesis-${objenesis.version}-bin.zip +objenesis.jar=${objenesis.home}/objenesis-${objenesis.version}.jar + # ----- Checkstyle, version 5.1 or later ----- checkstyle.version=5.6 checkstyle.home=${base.path}/checkstyle-${checkstyle.version} Modified: tomcat/trunk/build.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/build.xml?rev=1510281&r1=1510280&r2=1510281&view=diff ============================================================================== --- tomcat/trunk/build.xml (original) +++ tomcat/trunk/build.xml Sun Aug 4 17:59:37 2013 @@ -190,6 +190,9 @@ <pathelement location="${test.classes}"/> <pathelement location="${junit.jar}"/> <pathelement location="${hamcrest.jar}"/> + <pathelement location="${easymock.jar}"/> + <pathelement location="${cglib.jar}"/> + <pathelement location="${objenesis.jar}"/> <path refid="compile.classpath" /> <path refid="tomcat.classpath" /> </path> @@ -2525,6 +2528,24 @@ Apache Tomcat ${version} native binaries <param name="destdir" value="${hamcrest.home}"/> </antcall> + <antcall target="downloadzip"> + <param name="sourcefile" value="${easymock.loc}"/> + <param name="destfile" value="${easymock.jar}"/> + <param name="destdir" value="${base.path}"/> + </antcall> + + <antcall target="downloadfile"> + <param name="sourcefile" value="${cglib.loc}"/> + <param name="destfile" value="${cglib.jar}"/> + <param name="destdir" value="${cglib.home}"/> + </antcall> + + <antcall target="downloadzip"> + <param name="sourcefile" value="${objenesis.loc}"/> + <param name="destfile" value="${objenesis.jar}"/> + <param name="destdir" value="${base.path}"/> + </antcall> + </target> <target name="download-dist" --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org