[tor-commits] [collector/master] Don't add META-DATA files from other jars to the collector jar.

karsten at torproject.org karsten at torproject.org
Mon Jul 25 19:54:28 UTC 2016


commit 7517480e4475f35730c560cab5dadcfbfc011118
Author: iwakeh <iwakeh at torproject.org>
Date:   Wed Jul 20 16:23:13 2016 +0200

    Don't add META-DATA files from other jars to the collector jar.
---
 build.xml | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

diff --git a/build.xml b/build.xml
index ba50fbf..eccae8b 100644
--- a/build.xml
+++ b/build.xml
@@ -141,9 +141,18 @@
         <include name="collector.properties"/>
         <include name="logback.xml"/>
       </fileset>
-      <zipgroupfileset dir="${libs}" >
-        <patternset refid="runtime" />
-      </zipgroupfileset>
+      <restrict>
+        <not>
+          <name name="META-INF/*" />
+        </not>
+        <archives>
+          <zips>
+            <fileset dir="${libs}">
+              <patternset refid="runtime" />
+            </fileset>
+          </zips>
+        </archives>
+      </restrict>
       <manifest>
         <attribute name="Created-By" value="The Tor Project" />
         <attribute name="Implementation-Title" value="${name}"/>





More information about the tor-commits mailing list