[asm] 03/05: Restored the asm-all and asm-debug-all jars

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Sat Dec 9 23:09:47 UTC 2017


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

ebourg-guest pushed a commit to branch master
in repository asm.

commit 84de420e2e8337d966bdf06b8a032f4ccdb8e1c1
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Mon Nov 20 13:19:56 2017 +0100

    Restored the asm-all and asm-debug-all jars
---
 debian/changelog                                   |   1 +
 .../patches/disable-module-info-bnd-plugin.patch   |  30 +-
 debian/patches/restore-asm-all.patch               | 384 +++++++++++++++++++++
 debian/patches/series                              |   1 +
 4 files changed, 401 insertions(+), 15 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 6977994..a6521bc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ asm (6.0-1) UNRELEASED; urgency=medium
   * Team upload.
   * New upstream release
     - Disabled the Java 5 compatibility check to build with Java 9
+    - Restored the asm-all and asm-debug-all jars
 
  -- Emmanuel Bourg <ebourg at apache.org>  Mon, 20 Nov 2017 15:48:25 +0100
 
diff --git a/debian/patches/disable-module-info-bnd-plugin.patch b/debian/patches/disable-module-info-bnd-plugin.patch
index a1c8179..9891c66 100644
--- a/debian/patches/disable-module-info-bnd-plugin.patch
+++ b/debian/patches/disable-module-info-bnd-plugin.patch
@@ -8,11 +8,11 @@ Forwarded: not-needed
    ${out.build}/bnd-module-plugin.jar
    
 --plugin.asm: \
--  org.objectweb.asm.optimizer.ModuleInfoBndPlugin;
+-  org.objectweb.asm.tools.ModuleInfoBndPlugin;
 -
  
  -removeheaders:\
-   ANNV,\
+   DSTAMP,\
 --- a/archive/asm-analysis.bnd
 +++ b/archive/asm-analysis.bnd
 @@ -52,9 +52,6 @@
@@ -20,7 +20,7 @@ Forwarded: not-needed
    ${out.build}/bnd-module-plugin.jar
    
 --plugin.asm: \
--  org.objectweb.asm.optimizer.ModuleInfoBndPlugin;
+-  org.objectweb.asm.tools.ModuleInfoBndPlugin;
 -
  
  Bundle-RequiredExecutionEnvironment: J2SE-1.3
@@ -32,11 +32,11 @@ Forwarded: not-needed
    ${out.build}/bnd-module-plugin.jar
    
 --plugin.asm: \
--  org.objectweb.asm.optimizer.ModuleInfoBndPlugin;
+-  org.objectweb.asm.tools.ModuleInfoBndPlugin;
 -
  -removeheaders:\
-   ANNV,\
    DSTAMP,\
+   TODAY,\
 --- a/archive/asm-debug-all.bnd
 +++ b/archive/asm-debug-all.bnd
 @@ -60,9 +60,6 @@
@@ -44,11 +44,11 @@ Forwarded: not-needed
    ${out.build}/bnd-module-plugin.jar
    
 --plugin.asm: \
--  org.objectweb.asm.optimizer.ModuleInfoBndPlugin;
+-  org.objectweb.asm.tools.ModuleInfoBndPlugin;
 -
  -removeheaders:\
-   ANNV,\
    DSTAMP,\
+   TODAY,\
 --- a/archive/asm-tree.bnd
 +++ b/archive/asm-tree.bnd
 @@ -53,9 +53,6 @@
@@ -56,11 +56,11 @@ Forwarded: not-needed
    ${out.build}/bnd-module-plugin.jar
    
 --plugin.asm: \
--  org.objectweb.asm.optimizer.ModuleInfoBndPlugin;
+-  org.objectweb.asm.tools.ModuleInfoBndPlugin;
 -
  -removeheaders:\
-   ANNV,\
    DSTAMP,\
+   TODAY,\
 --- a/archive/asm-util.bnd
 +++ b/archive/asm-util.bnd
 @@ -53,9 +53,6 @@
@@ -68,11 +68,11 @@ Forwarded: not-needed
    ${out.build}/bnd-module-plugin.jar
    
 --plugin.asm: \
--  org.objectweb.asm.optimizer.ModuleInfoBndPlugin;
+-  org.objectweb.asm.tools.ModuleInfoBndPlugin;
 -
  -removeheaders:\
-   ANNV,\
    DSTAMP,\
+   TODAY,\
 --- a/archive/asm-xml.bnd
 +++ b/archive/asm-xml.bnd
 @@ -57,9 +57,6 @@
@@ -80,11 +80,11 @@ Forwarded: not-needed
    ${out.build}/bnd-module-plugin.jar
    
 --plugin.asm: \
--  org.objectweb.asm.optimizer.ModuleInfoBndPlugin;
+-  org.objectweb.asm.tools.ModuleInfoBndPlugin;
 -
  -removeheaders:\
-   ANNV,\
    DSTAMP,\
+   TODAY,\
 --- a/archive/asm.bnd
 +++ b/archive/asm.bnd
 @@ -48,9 +48,6 @@
@@ -92,8 +92,8 @@ Forwarded: not-needed
    ${out.build}/bnd-module-plugin.jar
    
 --plugin.asm: \
--  org.objectweb.asm.optimizer.ModuleInfoBndPlugin;
+-  org.objectweb.asm.tools.ModuleInfoBndPlugin;
 -
  -removeheaders:\
-   ANNV,\
    DSTAMP,\
+   TODAY,\
diff --git a/debian/patches/restore-asm-all.patch b/debian/patches/restore-asm-all.patch
new file mode 100644
index 0000000..ee876a3
--- /dev/null
+++ b/debian/patches/restore-asm-all.patch
@@ -0,0 +1,384 @@
+--- /dev/null
++++ b/archive/asm-all.bnd
+@@ -0,0 +1,70 @@
++###############################################################################
++#ASM: a very small and fast Java bytecode manipulation framework
++#Copyright (c) 2000-2011 INRIA, France Telecom
++#All rights reserved.
++#
++#Redistribution and use in source and binary forms, with or without
++#modification, are permitted provided that the following conditions
++#are met:
++#1. Redistributions of source code must retain the above copyright
++#   notice, this list of conditions and the following disclaimer.
++#2. Redistributions in binary form must reproduce the above copyright
++#   notice, this list of conditions and the following disclaimer in the
++#   documentation and/or other materials provided with the distribution.
++#3. Neither the name of the copyright holders nor the names of its
++#   contributors may be used to endorse or promote products derived from
++#   this software without specific prior written permission.
++#
++#THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
++#AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
++#IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
++#ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
++#LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
++#CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
++#SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
++#INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
++#CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
++#ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
++#THE POSSIBILITY OF SUCH DAMAGE.
++###############################################################################
++
++
++Implementation-Title:  ASM all classes
++Implementation-Version: ${product.artifact}
++Implementation-Vendor: France Telecom R&D
++
++Bundle-Name: ASM all classes with debug info
++Bundle-Vendor: France Telecom R&D
++Bundle-Version: ${product.artifact}
++Bundle-DocURL:  http://asm.objectweb.org
++Bundle-SymbolicName: org.objectweb.asm.all
++
++Export-Package: \
++  org.objectweb.asm;version=${product.artifact},\
++  org.objectweb.asm.commons;version=${product.artifact},\
++  org.objectweb.asm.signature;version=${product.artifact},\
++  org.objectweb.asm.tree;version=${product.artifact},\
++  org.objectweb.asm.tree.analysis;version=${product.artifact},\
++  org.objectweb.asm.util;version=${product.artifact},\
++  org.objectweb.asm.xml;version=${product.artifact}
++
++Import-Package: \
++  javax.xml.transform.*;resolution:="optional",\
++  org.xml.sax.*;resolution:="optional"
++
++Module-Requires: \
++  java.xml;transitive=true
++
++Bundle-RequiredExecutionEnvironment: J2SE-1.4
++
++-pluginpath: \
++  ${out.build}/bnd-module-plugin.jar
++  
++-plugin.asm: \
++  org.objectweb.asm.tools.ModuleInfoBndPlugin;
++
++
++-removeheaders:\
++  DSTAMP,\
++  TODAY,\
++  TSTAMP
+--- /dev/null
++++ b/archive/asm-all.pom
+@@ -0,0 +1,45 @@
++<!--
++ ! ASM: a very small and fast Java bytecode manipulation framework
++ ! Copyright (c) 2000-2011 INRIA, France Telecom
++ ! All rights reserved.
++ !
++ ! Redistribution and use in source and binary forms, with or without
++ ! modification, are permitted provided that the following conditions
++ ! are met:
++ ! 1. Redistributions of source code must retain the above copyright
++ !    notice, this list of conditions and the following disclaimer.
++ ! 2. Redistributions in binary form must reproduce the above copyright
++ !    notice, this list of conditions and the following disclaimer in the
++ !    documentation and/or other materials provided with the distribution.
++ ! 3. Neither the name of the copyright holders nor the names of its
++ !    contributors may be used to endorse or promote products derived from
++ !    this software without specific prior written permission.
++ !
++ ! THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
++ ! AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
++ ! IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
++ ! ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
++ ! LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
++ ! CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
++ ! SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
++ ! INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
++ ! CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
++ ! ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
++ ! THE POSSIBILITY OF SUCH DAMAGE.
++-->
++
++<project>
++  <modelVersion>4.0.0</modelVersion>
++
++  <parent>
++    <groupId>org.ow2.asm</groupId>
++    <artifactId>asm-parent</artifactId>
++    <version>@product.artifact@</version>
++  </parent>
++
++  <name>ASM All</name>
++  <groupId>org.ow2.asm</groupId>
++  <artifactId>asm-all</artifactId>
++  <packaging>jar</packaging>
++  
++</project>
+--- /dev/null
++++ b/archive/asm-all.xml
+@@ -0,0 +1,61 @@
++<!--
++ ! ASM: a very small and fast Java bytecode manipulation framework
++ ! Copyright (c) 2000-2011 INRIA, France Telecom
++ ! All rights reserved.
++ !
++ ! Redistribution and use in source and binary forms, with or without
++ ! modification, are permitted provided that the following conditions
++ ! are met:
++ ! 1. Redistributions of source code must retain the above copyright
++ !    notice, this list of conditions and the following disclaimer.
++ ! 2. Redistributions in binary form must reproduce the above copyright
++ !    notice, this list of conditions and the following disclaimer in the
++ !    documentation and/or other materials provided with the distribution.
++ ! 3. Neither the name of the copyright holders nor the names of its
++ !    contributors may be used to endorse or promote products derived from
++ !    this software without specific prior written permission.
++ !
++ ! THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
++ ! AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
++ ! IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
++ ! ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
++ ! LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
++ ! CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
++ ! SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
++ ! INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
++ ! CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
++ ! ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
++ ! THE POSSIBILITY OF SUCH DAMAGE.
++-->
++
++<project name="asm-all" default="dist">
++  
++  <target name="dist" depends="build-jar,build-snapshot"/>
++
++  <target name="build-jar">
++    <mkdir dir="${out.dist.lib}/all"/>
++    <taskdef resource="aQute/bnd/ant/taskdef.properties" classpath="${config}/${biz.aQute.bnd.path}"/>
++    <bnd
++            classpath="${out.build}"
++            failok="false"
++            exceptions="true"
++            files="archive/asm-all.bnd"
++            output="${out.dist.lib}/all/${ant.project.name}-${product.artifact}.jar"/>
++
++    <copy file="${archive}/asm-all.pom" toFile="${out.dist.lib}/all/${ant.project.name}-${product.artifact}.pom"/>
++    <replace file="${out.dist.lib}/all/${ant.project.name}-${product.artifact}.pom" token="@product.name@" value="${ant.project.name}"/>
++    <replace file="${out.dist.lib}/all/${ant.project.name}-${product.artifact}.pom" token="@product.artifact@" value="${product.artifact}"/>
++
++    <echo file="${out.dist.lib}/all/README.txt">It is highly recommended to use only the necessary ASM jars for your
++application instead of using the asm-all jar, unless you really need
++all ASM packages.</echo>
++  </target>
++
++  <target name="build-snapshot" if="product.snapshot">
++    <mkdir dir="${out.dist.lib}/all"/>
++    <copy file="${out.dist.lib}/all/${ant.project.name}-${product.artifact}.jar" toFile="${out.dist.lib}/${ant.project.name}-SNAPSHOT.jar"/>
++    <copy file="${out.dist.lib}/all/${ant.project.name}-${product.artifact}.pom" toFile="${out.dist.lib}/${ant.project.name}-SNAPSHOT.pom"/>
++    <echo file="${out.dist.lib}/all/${ant.project.name}-snapshot-version" message="${product.build.time}"/>
++  </target>
++
++</project>
+\ No newline at end of file
+--- /dev/null
++++ b/archive/asm-debug-all.bnd
+@@ -0,0 +1,69 @@
++###############################################################################
++#ASM: a very small and fast Java bytecode manipulation framework
++#Copyright (c) 2000-2011 INRIA, France Telecom
++#All rights reserved.
++#
++#Redistribution and use in source and binary forms, with or without
++#modification, are permitted provided that the following conditions
++#are met:
++#1. Redistributions of source code must retain the above copyright
++#   notice, this list of conditions and the following disclaimer.
++#2. Redistributions in binary form must reproduce the above copyright
++#   notice, this list of conditions and the following disclaimer in the
++#   documentation and/or other materials provided with the distribution.
++#3. Neither the name of the copyright holders nor the names of its
++#   contributors may be used to endorse or promote products derived from
++#   this software without specific prior written permission.
++#
++#THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
++#AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
++#IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
++#ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
++#LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
++#CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
++#SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
++#INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
++#CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
++#ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
++#THE POSSIBILITY OF SUCH DAMAGE.
++###############################################################################
++
++
++Implementation-Title:  ASM all classes with debug info
++Implementation-Version: ${product.artifact}
++Implementation-Vendor: France Telecom R&D
++
++Bundle-Name: ASM all classes with debug info
++Bundle-Vendor: France Telecom R&D
++Bundle-Version: ${product.artifact}
++Bundle-DocURL:  http://asm.objectweb.org
++Bundle-SymbolicName: org.objectweb.asm.all.debug
++
++Export-Package: \
++  org.objectweb.asm;version=${product.artifact},\
++  org.objectweb.asm.commons;version=${product.artifact},\
++  org.objectweb.asm.signature;version=${product.artifact},\
++  org.objectweb.asm.tree;version=${product.artifact},\
++  org.objectweb.asm.tree.analysis;version=${product.artifact},\
++  org.objectweb.asm.util;version=${product.artifact},\
++  org.objectweb.asm.xml;version=${product.artifact}
++
++Import-Package: \
++  javax.xml.transform.*;resolution:="optional",\
++  org.xml.sax.*;resolution:="optional"
++
++Module-Requires: \
++  java.xml;transitive=true
++
++Bundle-RequiredExecutionEnvironment: J2SE-1.5
++
++-pluginpath: \
++  ${out.build}/bnd-module-plugin.jar
++  
++-plugin.asm: \
++  org.objectweb.asm.tools.ModuleInfoBndPlugin;
++
++-removeheaders:\
++  DSTAMP,\
++  TODAY,\
++  TSTAMP
+--- /dev/null
++++ b/archive/asm-debug-all.pom
+@@ -0,0 +1,45 @@
++<!--
++ ! ASM: a very small and fast Java bytecode manipulation framework
++ ! Copyright (c) 2000-2011 INRIA, France Telecom
++ ! All rights reserved.
++ !
++ ! Redistribution and use in source and binary forms, with or without
++ ! modification, are permitted provided that the following conditions
++ ! are met:
++ ! 1. Redistributions of source code must retain the above copyright
++ !    notice, this list of conditions and the following disclaimer.
++ ! 2. Redistributions in binary form must reproduce the above copyright
++ !    notice, this list of conditions and the following disclaimer in the
++ !    documentation and/or other materials provided with the distribution.
++ ! 3. Neither the name of the copyright holders nor the names of its
++ !    contributors may be used to endorse or promote products derived from
++ !    this software without specific prior written permission.
++ !
++ ! THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
++ ! AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
++ ! IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
++ ! ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
++ ! LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
++ ! CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
++ ! SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
++ ! INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
++ ! CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
++ ! ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
++ ! THE POSSIBILITY OF SUCH DAMAGE.
++-->
++
++<project>
++  <modelVersion>4.0.0</modelVersion>
++
++  <parent>
++    <groupId>org.ow2.asm</groupId>
++    <artifactId>asm-parent</artifactId>
++    <version>@product.artifact@</version>
++  </parent>
++
++  <name>ASM Debug All</name>
++  <groupId>org.ow2.asm</groupId>
++  <artifactId>asm-debug-all</artifactId>
++  <packaging>jar</packaging>
++  
++</project>
+--- /dev/null
++++ b/archive/asm-debug-all.xml
+@@ -0,0 +1,61 @@
++<!--
++ ! ASM: a very small and fast Java bytecode manipulation framework
++ ! Copyright (c) 2000-2011 INRIA, France Telecom
++ ! All rights reserved.
++ !
++ ! Redistribution and use in source and binary forms, with or without
++ ! modification, are permitted provided that the following conditions
++ ! are met:
++ ! 1. Redistributions of source code must retain the above copyright
++ !    notice, this list of conditions and the following disclaimer.
++ ! 2. Redistributions in binary form must reproduce the above copyright
++ !    notice, this list of conditions and the following disclaimer in the
++ !    documentation and/or other materials provided with the distribution.
++ ! 3. Neither the name of the copyright holders nor the names of its
++ !    contributors may be used to endorse or promote products derived from
++ !    this software without specific prior written permission.
++ !
++ ! THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
++ ! AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
++ ! IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
++ ! ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
++ ! LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
++ ! CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
++ ! SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
++ ! INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
++ ! CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
++ ! ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
++ ! THE POSSIBILITY OF SUCH DAMAGE.
++-->
++
++<project name="asm-debug-all" default="dist">
++  
++  <target name="dist" depends="build-jar,build-snapshot"/>
++
++  <target name="build-jar">
++    <mkdir dir="${out.dist.lib}/all"/>
++    <taskdef resource="aQute/bnd/ant/taskdef.properties" classpath="${config}/${biz.aQute.bnd.path}"/>
++    <bnd
++      classpath="${out.build}/tmp"
++      failok="false"
++      exceptions="true"
++      files="archive/asm-debug-all.bnd"
++      output="${out.dist.lib}/all/${ant.project.name}-${product.artifact}.jar"/>
++
++    <copy file="${archive}/asm-debug-all.pom" toFile="${out.dist.lib}/all/${ant.project.name}-${product.artifact}.pom"/>
++    <replace file="${out.dist.lib}/all/${ant.project.name}-${product.artifact}.pom" token="@product.name@" value="${ant.project.name}"/>
++    <replace file="${out.dist.lib}/all/${ant.project.name}-${product.artifact}.pom" token="@product.artifact@" value="${product.artifact}"/>
++
++    <echo file="${out.dist.lib}/all/README.txt">It is highly recommended to use only the necessary ASM jars for your
++application instead of using the asm-all jar, unless you really need
++all ASM packages.</echo>
++  </target>
++
++  <target name="build-snapshot" if="product.snapshot">
++    <mkdir dir="${out.dist.lib}/all"/>
++    <copy file="${out.dist.lib}/all/${ant.project.name}-${product.artifact}.jar" toFile="${out.dist.lib}/${ant.project.name}-SNAPSHOT.jar"/>
++    <copy file="${out.dist.lib}/all/${ant.project.name}-${product.artifact}.pom" toFile="${out.dist.lib}/${ant.project.name}-SNAPSHOT.pom"/>
++    <echo file="${out.dist.lib}/all/${ant.project.name}-snapshot-version" message="${product.build.time}"/>
++  </target>
++
++</project>
+\ No newline at end of file
+--- a/build.xml
++++ b/build.xml
+@@ -262,8 +262,10 @@
+ 	
+ 	<target name="jar" depends="dist.init,dist.version,compile,retrofit,bnd-module-plugin-jar">
+ 		<ant antfile="${archive}/asm.xml" />
++		<ant antfile="${archive}/asm-all.xml" />
+ 		<ant antfile="${archive}/asm-analysis.xml" />
+ 		<ant antfile="${archive}/asm-commons.xml" />
++		<ant antfile="${archive}/asm-debug-all.xml" />
+ 		<ant antfile="${archive}/asm-parent.xml" />
+ 		<ant antfile="${archive}/asm-tree.xml" />
+ 		<ant antfile="${archive}/asm-util.xml" />
diff --git a/debian/patches/series b/debian/patches/series
index 1ce33e5..e6654f0 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,4 +1,5 @@
 encoding.patch
 reproducible-javadoc.diff
+restore-asm-all.patch
 disable-module-info-bnd-plugin.patch
 disable-retrofitter.patch

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



More information about the pkg-java-commits mailing list