Browse Source

Add slf4j and modify build scripts to bundle it

Change-Id: I39690644e4382843118d4c0321a55dfc45e7a917
Reviewed-on: http://gerrit.dmdirc.com/2312
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Automatic-Compile: DMDirc Build Manager
tags/0.6.7rc1
Chris Smith 12 years ago
parent
commit
586a08503a
2 changed files with 7 additions and 1 deletions
  1. 7
    1
      build.xml
  2. BIN
      lib/slf4j-api-1.6.4.jar

+ 7
- 1
build.xml View File

@@ -30,9 +30,15 @@
30 30
         <delete dir="modules/util/dist"/>
31 31
     </target>
32 32
 
33
+    <target name="-bundle-slf4j">
34
+        <jar destfile="${dist.jar}" update="true">
35
+            <zipfileset src="lib/slf4j-api-1.6.4.jar" includes="org/slf4j/**/*"/>
36
+        </jar>
37
+    </target>
38
+
33 39
     <target name="-pre-init" depends="-init-private-properties"/>
34 40
     <target name="-post-compile" depends="-write-version, build-plugins"/>
35 41
     <target name="-post-test-run" depends="-do-test-reports"/>
36
-    <target name="-post-jar" depends="-update-bundled-plugins"/>
42
+    <target name="-post-jar" depends="-update-bundled-plugins,-bundle-slf4j"/>
37 43
 
38 44
 </project>

BIN
lib/slf4j-api-1.6.4.jar View File


Loading…
Cancel
Save