<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>INSTALL.md</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -71,6 +71,8 @@ Properties that can change behavior
     any extra files to copy into dist/&lt;p&gt; during compile
 - config.extra
     any extra files to copy into config/ during compile
+- pack.deps
+    pack dependent jars into the final dist jar, to remove dependencies
 
 
 Extra ivy thingies</diff>
      <filename>ant/README.txt</filename>
    </modified>
    <modified>
      <diff>@@ -135,13 +135,10 @@
     &lt;copy todir=&quot;${dist.dir}/libs&quot; flatten=&quot;true&quot;&gt;
       &lt;path refid=&quot;deps.path&quot; /&gt;
     &lt;/copy&gt;
-    &lt;copy todir=&quot;${target.dir}/test-classes/resources&quot; failonerror=&quot;false&quot;&gt;
+    &lt;copy todir=&quot;${target.dir}/test-classes/&quot; failonerror=&quot;false&quot;&gt;
       &lt;fileset dir=&quot;${test.source.dir}/resources&quot; /&gt;
     &lt;/copy&gt;
-    &lt;copy todir=&quot;${target.dir}/classes/resources&quot; overwrite=&quot;true&quot; failonerror=&quot;false&quot;&gt;
-      &lt;fileset dir=&quot;${source.dir}/resources&quot; /&gt;
-    &lt;/copy&gt;
-    &lt;copy todir=&quot;${dist.dir}/resources&quot; overwrite=&quot;true&quot; failonerror=&quot;false&quot;&gt;
+    &lt;copy todir=&quot;${target.dir}/classes/&quot; overwrite=&quot;true&quot; failonerror=&quot;false&quot;&gt;
       &lt;fileset dir=&quot;${source.dir}/resources&quot; /&gt;
     &lt;/copy&gt;
   &lt;/target&gt;</diff>
      <filename>ant/compile.xml</filename>
    </modified>
    <modified>
      <diff>@@ -1,13 +1,25 @@
 &lt;project xmlns:ivy=&quot;antlib:org.apache.ivy.ant&quot;&gt;
 
-  &lt;target name=&quot;make-non-executable-jar&quot; unless=&quot;ivy.extra.jarclassname&quot;&gt;
+  &lt;!-- unzip all the dependent jars into target/ so that the final jar will depend on nothing. kinda evil. --&gt;
+  &lt;target name=&quot;pack-deps&quot; if=&quot;pack.deps&quot;&gt;
+    &lt;pathconvert pathsep=&quot;,&quot; property=&quot;deps.path.list&quot;&gt;
+      &lt;path refid=&quot;deps.path&quot; /&gt;
+      &lt;map from=&quot;/&quot; to=&quot;&quot; /&gt;
+    &lt;/pathconvert&gt;
+    &lt;unzip dest=&quot;${target.dir}/classes&quot;&gt;
+      &lt;fileset dir=&quot;/&quot; includes=&quot;${deps.path.list}&quot; /&gt;
+    &lt;/unzip&gt;
+    &lt;delete dir=&quot;${target.dir}/classes/META-INF&quot; /&gt;
+  &lt;/target&gt;
+
+  &lt;target name=&quot;make-non-executable-jar&quot; unless=&quot;ivy.extra.jarclassname&quot; depends=&quot;pack-deps&quot;&gt;
     &lt;jar destfile=&quot;${dist.dir}/${jar.name}.jar&quot;&gt;
       &lt;fileset dir=&quot;${target.dir}/classes&quot; /&gt;
     &lt;/jar&gt;
   &lt;/target&gt;
 
   &lt;!-- generate a jar that contains all deps inside it, so it can be run with &quot;java -jar&quot; --&gt;
-  &lt;target name=&quot;make-executable-jar&quot; if=&quot;ivy.extra.jarclassname&quot; depends=&quot;copy-extra&quot;&gt;
+  &lt;target name=&quot;make-executable-jar&quot; if=&quot;ivy.extra.jarclassname&quot; depends=&quot;copy-extra,pack-deps&quot;&gt;
     &lt;pathconvert refid=&quot;deps.path&quot; pathsep=&quot; &quot; property=&quot;deps.path.jar-format&quot;&gt;
       &lt;chainedmapper&gt;
         &lt;flattenmapper /&gt;
@@ -42,6 +54,7 @@
         &lt;filter token=&quot;TEST_CLASSPATH&quot; value=&quot;${test.classpath}:${target.dir}/classes:${target.dir}/test-classes&quot; /&gt;
         &lt;filter token=&quot;DIST_CLASSPATH&quot; value=&quot;${deps.path.dist-format}:$${DIST_HOME}/${jar.name}.jar&quot; /&gt;
         &lt;filter token=&quot;TARGET&quot; value=&quot;${target.dir}&quot; /&gt;
+        &lt;filter token=&quot;DIST_NAME&quot; value=&quot;${dist.name}&quot; /&gt;
       &lt;/filterset&gt;
     &lt;/copy&gt;
     &lt;chmod dir=&quot;${dist.dir}/scripts&quot; includes=&quot;*&quot; perm=&quot;ugo+x&quot; /&gt;</diff>
      <filename>ant/package.xml</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>INSTALL</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>6719c784b43f0965966fe2547ba2d9e60766c527</id>
    </parent>
  </parents>
  <author>
    <name>Robey Pointer</name>
    <email>robeypointer@gmail.com</email>
  </author>
  <url>http://github.com/robey/configgy/commit/d84f5800d3a0cf00c5952123ec78178753d892a3</url>
  <id>d84f5800d3a0cf00c5952123ec78178753d892a3</id>
  <committed-date>2008-12-27T22:16:07-08:00</committed-date>
  <authored-date>2008-12-27T22:16:07-08:00</authored-date>
  <message>update scala-build.</message>
  <tree>003cd77ba0c035b23c09955e120be525c64d936f</tree>
  <committer>
    <name>Robey Pointer</name>
    <email>robeypointer@gmail.com</email>
  </committer>
</commit>
