<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -3,6 +3,8 @@
 	&lt;property name=&quot;lib.dir&quot; location=&quot;libs&quot;/&gt;
 	&lt;property name=&quot;build.dir&quot; location=&quot;build&quot;/&gt;
 	&lt;property name=&quot;dist.dir&quot;  location=&quot;dist&quot;/&gt;
+    &lt;property name=&quot;example.dir&quot; location=&quot;examples&quot; /&gt;
+    &lt;property name=&quot;project.name&quot; value=&quot;irccat&quot; /&gt;
 
     &lt;path id=&quot;classpath&quot;&gt;
         &lt;fileset dir=&quot;${lib.dir}&quot; includes=&quot;**/*.jar&quot;/&gt;
@@ -22,11 +24,26 @@
     &lt;javac srcdir=&quot;${src.dir}&quot; destdir=&quot;${build.dir}&quot; classpathref=&quot;classpath&quot; debug=&quot;on&quot;/&gt;
   &lt;/target&gt;
 
-  &lt;target name=&quot;dist&quot; depends=&quot;compile&quot;&gt;
+  &lt;target name=&quot;jar&quot; depends=&quot;compile&quot;&gt;
     &lt;mkdir dir=&quot;${dist.dir}&quot;/&gt;
-    &lt;jar jarfile=&quot;${dist.dir}/irccat.jar&quot; basedir=&quot;${build.dir}&quot;/&gt;
+    &lt;jar jarfile=&quot;${dist.dir}/${project.name}.jar&quot; basedir=&quot;${build.dir}&quot;/&gt;
   &lt;/target&gt;
 
+    &lt;target name=&quot;tgz&quot; depends=&quot;jar&quot;&gt;
+        &lt;tar destfile=&quot;${dist.dir}/${project.name}.tar&quot;&gt;
+        	&lt;tarfileset file=&quot;${basedir}/README&quot; prefix=&quot;${project.name}&quot; /&gt;
+            &lt;tarfileset file=&quot;${basedir}/irccat.sh&quot; filemode=&quot;755&quot; prefix=&quot;${project.name}&quot; /&gt;
+        	&lt;tarfileset file=&quot;${dist.dir}/${project.name}.jar&quot; prefix=&quot;${project.name}&quot; /&gt;
+        	&lt;tarfileset file=&quot;${example.dir}/irccat.xml&quot; prefix=&quot;${project.name}&quot; /&gt;
+        	&lt;tarfileset dir=&quot;${lib.dir}&quot; includes=&quot;*.jar&quot; prefix=&quot;${project.name}/libs&quot; /&gt;
+        &lt;/tar&gt;
+        &lt;gzip src=&quot;${dist.dir}/${project.name}.tar&quot; zipfile=&quot;${dist.dir}/${project.name}.tar.gz&quot; /&gt;
+        &lt;delete file=&quot;${dist.dir}/${project.name}.tar&quot; /&gt;
+    &lt;/target&gt;
+
+    &lt;target name=&quot;dist&quot; depends=&quot;jar,tgz&quot;&gt;
+    &lt;/target&gt;
+
   &lt;target name=&quot;clean&quot;
         description=&quot;clean up&quot; &gt;
     &lt;!-- Delete the ${build} and ${dist} directory trees --&gt;
@@ -38,7 +55,7 @@
         &lt;java fork=&quot;false&quot; classname=&quot;fm.last.irccat.IRCCat&quot;&gt;
             &lt;classpath&gt;
                 &lt;path refid=&quot;classpath&quot;/&gt;
-                &lt;path location=&quot;${dist.dir}/irccat.jar&quot;/&gt;
+                &lt;path location=&quot;${dist.dir}/${project.name}.jar&quot;/&gt;
             &lt;/classpath&gt;
 			&lt;arg value=&quot;${configfile}&quot; /&gt;
         &lt;/java&gt;</diff>
      <filename>build.xml</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>9ef6d5c69308b265b15329fa40b5975bc712c142</id>
    </parent>
  </parents>
  <author>
    <name>Dominic Mitchell</name>
    <email>dom@semantico.com</email>
  </author>
  <url>http://github.com/RJ/irccat/commit/a2b06b52cf161b736e19a09f1175f6b6c835e216</url>
  <id>a2b06b52cf161b736e19a09f1175f6b6c835e216</id>
  <committed-date>2009-09-23T07:07:00-07:00</committed-date>
  <authored-date>2009-01-15T14:13:44-08:00</authored-date>
  <message>Build a tar.gz file.

This should make it easier to run in isolation&#8230;

Signed-off-by: Richard Jones &lt;rj@metabrew.com&gt;</message>
  <tree>7982559543e597ff3cefb28b101348fed83f24a0</tree>
  <committer>
    <name>Richard Jones</name>
    <email>rj@metabrew.com</email>
  </committer>
</commit>
