changeset 367:66924b73b76e

Ant sample: add Apache Commons Math dependency.
author shade
date Thu, 23 Jan 2014 02:45:58 +0400
parents 9d70c6308d91
children b313d460af7a
files jmh-ant-sample/build.xml
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/jmh-ant-sample/build.xml	Thu Jan 23 02:41:48 2014 +0400
+++ b/jmh-ant-sample/build.xml	Thu Jan 23 02:45:58 2014 +0400
@@ -42,6 +42,12 @@
     -->
     <property name="joptsimple.jar" location="${user.home}/.m2/repository/net/sf/jopt-simple/jopt-simple/4.6/jopt-simple-4.6.jar"/>
 
+    <!--
+        Point this to commons-math dependency. Again, we default to the one
+        Maven already resolved for us, but you can point it elsewhere.
+    -->
+    <property name="commonsmath.jar" location="${user.home}/.m2/repository/org/apache/commons/commons-math3/3.2/commons-math3-3.2.jar"/>
+
     <property name="src" location="src"/>
     <property name="build" location="build"/>
     <property name="dist" location="dist"/>
@@ -71,6 +77,7 @@
             </manifest>
             <zipgroupfileset file="${jmh.jar}" includes="**/*.jar" />
             <zipgroupfileset file="${joptsimple.jar}" includes="**/*.jar" />
+            <zipgroupfileset file="${commonsmath.jar}" includes="**/*.jar" />
         </jar>
     </target>