This is an automated email from the git hooks/post-receive script.

eighthave pushed a commit to branch master
in repository lombok-ast.

commit a9a003f5a2cb5847974d276c9a7ed04b91dfbe65
Author: Hans-Christoph Steiner <[email protected]>
Date:   Fri Dec 18 10:52:34 2015 +0100

    make final output be an appropriate jar for Debian
    
     This normally builds a jar with all of the dependencies bundled in
     with the lombok.ast code.
---
 debian/patches/make_debian_stripped_jar.patch | 37 +++++++++++++++++++++++++++
 debian/patches/series                         |  1 +
 2 files changed, 38 insertions(+)

diff --git a/debian/patches/make_debian_stripped_jar.patch 
b/debian/patches/make_debian_stripped_jar.patch
new file mode 100644
index 0000000..c63a3ca
--- /dev/null
+++ b/debian/patches/make_debian_stripped_jar.patch
@@ -0,0 +1,37 @@
+Description: make final output be an appropriate jar for Debian
+
+ This normally builds a jar with all of the dependencies bundled in
+ with the lombok.ast code.
+
+
+--- a/build.xml
++++ b/build.xml
+@@ -239,8 +239,7 @@
+       
+       <target name="dist" depends="compile, version, unpackLibs" 
description="Creates distributable.">
+               <mkdir dir="dist" />
+-              <taskdef name="jarjar" 
classname="com.tonicsystems.jarjar.JarJarTask" classpath="lib/build/jarjar.jar" 
/>
+-              <jarjar destfile="dist/lombok.ast-${lombok.ast.version}.jar">
++              <jar destfile="dist/lombok.ast-${lombok.ast.version}.jar">
+                       <fileset dir="build/lombok.ast" />
+                       <fileset dir="." includes="LICENSE" />
+                       <fileset dir="." includes="AUTHORS" />
+@@ -249,7 +248,7 @@
+                               <attribute name="Lombok-Ast-Version" 
value="${lombok.ast.version}" />
+                               <attribute name="Class-Path" value="ecj.jar 
javac.jar" />
+                       </manifest>
+-              </jarjar>
++              </jar>
+               
+               <copy file="dist/lombok.ast-${lombok.ast.version}.jar" 
tofile="dist/lombok.ast.jar" />
+       </target>
+--- a/buildScripts/ivy.xml
++++ b/buildScripts/ivy.xml
+@@ -15,7 +15,6 @@
+               <dependency org="org.eclipse.jdt.core.compiler" name="ecj" 
rev="4.4" conf="build->default; contrib->sources" />
+               <dependency org="net.sourceforge.cobertura" name="cobertura" 
rev="1.9.4.1" conf="test->runtime" />
+               <dependency org="net.sourceforge.cobertura" 
name="cobertura-runtime" rev="1.9.4.1" conf="test->runtime" />
+-              <dependency org="com.googlecode.jarjar" name="jarjar" rev="1.1" 
conf="build->default" />
+               <dependency org="com.jcraft" name="jsch" rev="0.1.42" 
conf="build->default" />
+       </dependencies>
+ </ivy-module>
diff --git a/debian/patches/series b/debian/patches/series
index 38842c1..c1a8ce9 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@ remove_missing_dependency.patch
 parboiled.patch
 fix_java7_build.patch
 use_https_always.patch
+make_debian_stripped_jar.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-java/lombok-ast.git

_______________________________________________
pkg-java-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

Reply via email to