Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-commons/beanutils/build.xml,v
retrieving revision 1.26
diff -u -r1.26 build.xml
--- build.xml	12 Jan 2002 20:44:05 -0000	1.26
+++ build.xml	15 Jan 2002 00:57:25 -0000
@@ -174,7 +174,6 @@
   <target name="all" depends="clean,compile"
    description="Clean and compile all components"/>
 
-
   <target name="javadoc" depends="compile"
    description="Create component Javadoc documentation">
     <mkdir      dir="${dist.home}"/>
@@ -193,7 +192,6 @@
     </javadoc> 
   </target>
 
-
   <target name="dist" depends="compile,javadoc"
    description="Create binary distribution">
     <mkdir      dir="${dist.home}"/>
@@ -201,6 +199,12 @@
               todir="${dist.home}"/>
     <copy      file="RELEASE-NOTES.txt"
               todir="${dist.home}"/>
+    <antcall target="jar"/>
+  </target>
+
+  <target name="jar" depends="compile"
+   description="Create jar">
+    <mkdir      dir="${dist.home}"/>
     <mkdir      dir="${build.home}/classes/META-INF"/>
     <copy      file="../LICENSE"
              tofile="${build.home}/classes/META-INF/LICENSE.txt"/>
@@ -209,6 +213,17 @@
            manifest="${build.home}/conf/MANIFEST.MF"/>
   </target>
 
+  <!-- ================================================================== -->
+  <!-- I N S T A L L  J A R                                               -->
+  <!-- ================================================================== -->
+  <target name="install-jar" depends="jar"
+          description="--> Installs .jar file in ${lib.repo}">
+    <copy todir="${lib.repo}" filtering="no">
+      <fileset dir="${dist.home}">
+        <include name="commons-${component.name}.jar"/>
+      </fileset>
+    </copy>
+  </target>
 
 <!-- ========== Unit Test Targets ========================================= -->
 
