<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,4 +1,4 @@
-&lt;project default=&quot;test&quot; basedir=&quot;.&quot;&gt;
+&lt;project default=&quot;build&quot; basedir=&quot;.&quot;&gt;
    &lt;property name=&quot;Name&quot; value=&quot;Jargs&quot;/&gt;
    &lt;property name=&quot;debug&quot; value=&quot;on&quot;/&gt;
    &lt;property name=&quot;build.src&quot; value=&quot;src&quot;/&gt;
@@ -8,10 +8,14 @@
    &lt;property name=&quot;javadoc.outdir&quot; value=&quot;doc/api&quot;/&gt;
    &lt;property name=&quot;javadoc.doctitle&quot; value=&quot;JArgs command line option parsing library&quot;/&gt;
    &lt;property name=&quot;javadoc.header&quot; value='For updates and more see &amp;lt;a target=&quot;_top&quot; href=&quot;http://jargs.sourceforge.net/&quot;&amp;gt;jargs.sourceforge.net&amp;lt;/a&amp;gt;'/&gt;
-   &lt;property name=&quot;javadoc.bottom&quot; value='Copyright &amp;amp;copy; 2001-2003 Steve Purcell. Released under the terms of the BSD licence'/&gt;
+   &lt;property name=&quot;javadoc.bottom&quot; value='Copyright &amp;amp;copy; 2001-2003 Steve
+Purcell. Copyright &amp;amp;copy; 2002 Vidar Holen.  Copyright &amp;amp;copy; 2002 Michal Ceresna.  Copyright &amp;amp;copy; 2005 Ewan Mellor.  Released under the terms of the BSD licence.'/&gt;
    &lt;property name=&quot;javadoc.packages&quot; value=&quot;jargs.gnu&quot;/&gt;
    &lt;property name=&quot;junit.jar&quot; value=&quot;/usr/share/java/junit.jar&quot;/&gt;
 
+   &lt;target name=&quot;build&quot; description=&quot;Build and test Jargs.&quot;
+           depends=&quot;compile,jars,javadoc,test&quot; /&gt;
+
    &lt;target name=&quot;compile&quot;&gt;
       &lt;mkdir dir=&quot;classes&quot;/&gt;
       &lt;javac srcdir=&quot;${build.src}&quot; destdir=&quot;${build.classes}&quot; debug=&quot;${debug}&quot;
@@ -20,6 +24,31 @@
       &lt;/javac&gt;
    &lt;/target&gt;
 
+   &lt;target name=&quot;jars&quot; depends=&quot;runtimejar,testjar&quot; /&gt;
+
+   &lt;target name=&quot;runtimejar&quot; depends=&quot;compile&quot;&gt;
+      &lt;mkdir dir=&quot;dist&quot;/&gt;
+      &lt;mkdir dir=&quot;lib&quot;/&gt;
+      &lt;copy todir=&quot;dist&quot;&gt;
+	      &lt;fileset dir=&quot;classes&quot;/&gt;
+      &lt;/copy&gt;
+      &lt;delete dir=&quot;dist/jargs/examples&quot;/&gt;
+      &lt;delete dir=&quot;dist/jargs/test&quot;/&gt;
+      &lt;jar jarfile=&quot;lib/jargs.jar&quot; basedir=&quot;dist&quot;/&gt;
+      &lt;delete dir=&quot;dist&quot;/&gt;
+   &lt;/target&gt;
+
+   &lt;target name=&quot;testjar&quot; depends=&quot;compile&quot;&gt;
+      &lt;mkdir dir=&quot;dist&quot;/&gt;
+      &lt;mkdir dir=&quot;lib&quot;/&gt;
+      &lt;copy todir=&quot;dist&quot;&gt;
+	      &lt;fileset dir=&quot;classes&quot;/&gt;
+      &lt;/copy&gt;
+      &lt;delete dir=&quot;dist/jargs/gnu&quot;/&gt;
+      &lt;jar jarfile=&quot;lib/jargs-test.jar&quot; basedir=&quot;dist&quot;/&gt;
+      &lt;delete dir=&quot;dist&quot;/&gt;
+   &lt;/target&gt;
+
    &lt;target name=&quot;test&quot; depends=&quot;compile&quot;&gt;
       &lt;java classname=&quot;junit.textui.TestRunner&quot;
        classpath=&quot;${build.classes}:${junit.jar}:${java.class.path}&quot;&gt;
@@ -34,23 +63,13 @@
       &lt;/java&gt;
    &lt;/target&gt;
 
-   &lt;target name=&quot;jar&quot; depends=&quot;compile&quot;&gt;
-      &lt;mkdir dir=&quot;dist&quot;/&gt;
-      &lt;mkdir dir=&quot;lib&quot;/&gt;
-      &lt;copy todir=&quot;dist&quot;&gt;
-	      &lt;fileset dir=&quot;classes&quot;/&gt;
-      &lt;/copy&gt;
-      &lt;delete dir=&quot;classes/jargs/examples&quot;/&gt;
-      &lt;delete dir=&quot;classes/jargs/test&quot;/&gt;
-      &lt;jar jarfile=&quot;lib/jargs.jar&quot; basedir=&quot;dist&quot;/&gt;
-      &lt;delete dir=&quot;dist&quot;/&gt;
-   &lt;/target&gt;
-
-   &lt;target name=&quot;clean&quot;&gt;
+   &lt;target name=&quot;clean&quot;
+           description=&quot;Remove all generated files.&quot;&gt;
       &lt;delete dir=&quot;dist&quot; /&gt;
       &lt;delete dir=&quot;classes&quot; /&gt;
       &lt;delete dir=&quot;${javadoc.outdir}&quot; /&gt;
       &lt;delete file=&quot;lib/jargs.jar&quot; /&gt;
+      &lt;delete file=&quot;lib/jargs-test.jar&quot; /&gt;
    &lt;/target&gt;
 
    &lt;target name=&quot;javadoc&quot;&gt;
@@ -67,15 +86,8 @@
              header=&quot;${javadoc.header}&quot;
              footer=&quot;${javadoc.header}&quot;
              bottom=&quot;${javadoc.bottom}&quot;&gt;
-             &lt;package name=&quot;jargs.gnu&quot;/&gt;
+             &lt;package name=&quot;**.*&quot; /&gt;
          &lt;/javadoc&gt;
   &lt;/target&gt;
 
-  &lt;target name=&quot;dist&quot; depends=&quot;jar,javadoc&quot;&gt;
-      &lt;delete dir=&quot;classes&quot;/&gt;
-  &lt;/target&gt;
-
-  &lt;target name=&quot;docdist&quot; depends=&quot;clean,javadoc&quot;&gt;
-  &lt;/target&gt;
-
 &lt;/project&gt;</diff>
      <filename>build.xml</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>55ee592587ce4a4e5accd0b55ebf0d357380710b</id>
    </parent>
  </parents>
  <author>
    <name>Ewan Mellor</name>
    <email>jargs@ewanmellor.org.uk</email>
  </author>
  <url>http://github.com/purcell/jargs/commit/15c0c9af39f1b6742426c37fc423e558e3eb6495</url>
  <id>15c0c9af39f1b6742426c37fc423e558e3eb6495</id>
  <committed-date>2005-04-07T13:53:58-07:00</committed-date>
  <authored-date>2005-04-07T13:53:58-07:00</authored-date>
  <message>Build two jars, one just with the library, and one with the examples and unit tests.  Previously we were attempting to build just a jar with the library, but we were getting a jar with everything anyway, because the delete statements were wrong.  Added build target, which does everything, and made it the default.  Updated copyright statement for javadocs.</message>
  <tree>87749317582fa2fd8ccd6e3b9dd05cbd36a04fb9</tree>
  <committer>
    <name>Ewan Mellor</name>
    <email>jargs@ewanmellor.org.uk</email>
  </committer>
</commit>
