summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriwakeh <iwakeh@torproject.org>2016-07-20 16:23:13 +0200
committeriwakeh <iwakeh@torproject.org>2016-07-20 16:23:13 +0200
commit1426040a653ae2e9e2e3df6c648804e4748daf33 (patch)
treeedcc53b223abe3ac54f2b97df1b3006a2c9a952e
parent4685cf108264eb0a566ff0e3b2bd00319daa84e0 (diff)
Don't add META-DATA files from other jars to the collector jar.
-rw-r--r--build.xml15
1 files 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}"/>