java-asm-remove_bnd.patch 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. --- asm-5.0.4.orig/archive/asm.xml 2015-05-15 09:37:24.000000000 -0500
  2. +++ asm-5.0.4/archive/asm.xml 2015-09-12 00:40:39.702197123 -0500
  3. @@ -33,15 +33,10 @@
  4. <target name="dist" depends="build-jar,build-snapshot"/>
  5. <target name="build-jar">
  6. - <taskdef resource="aQute/bnd/ant/taskdef.properties" classpath="${config}/biz.aQute.bnd.jar"/>
  7. - <bnd
  8. - classpath="${out.build}"
  9. - eclipse="true"
  10. - failok="false"
  11. - exceptions="true"
  12. - files="archive/asm.bnd"
  13. - output="${out.dist.lib}/${ant.project.name}-${product.artifact}.jar"/>
  14. -
  15. + <jar destfile="${out.dist.lib}/${ant.project.name}-${product.artifact}.jar"
  16. + basedir="${out.build}" manifest="archive/${ant.project.name}.osgi"
  17. + includes="org/objectweb/asm/*,org/objectweb/asm/signature/*"
  18. + excludes="tmp/**"/>
  19. <copy file="${archive}/asm.pom" toFile="${out.dist.lib}/${ant.project.name}-${product.artifact}.pom"/>
  20. <replace file="${out.dist.lib}/${ant.project.name}-${product.artifact}.pom" token="@product.name@" value="${ant.project.name}"/>
  21. <replace file="${out.dist.lib}/${ant.project.name}-${product.artifact}.pom" token="@product.artifact@" value="${product.artifact}"/>
  22. --- asm-5.0.4.orig/archive/asm-all.xml 2015-05-15 09:37:24.000000000 -0500
  23. +++ asm-5.0.4/archive/asm-all.xml 2015-09-12 00:43:15.974683899 -0500
  24. @@ -34,15 +34,9 @@
  25. <target name="build-jar">
  26. <mkdir dir="${out.dist.lib}/all"/>
  27. - <taskdef resource="aQute/bnd/ant/taskdef.properties" classpath="${config}/biz.aQute.bnd.jar"/>
  28. - <bnd
  29. - classpath="${out.build}"
  30. - eclipse="true"
  31. - failok="false"
  32. - exceptions="true"
  33. - files="archive/asm-all.bnd"
  34. - output="${out.dist.lib}/all/${ant.project.name}-${product.artifact}.jar"/>
  35. -
  36. + <jar destfile="${out.dist.lib}/all/${ant.project.name}-${product.artifact}.jar"
  37. + basedir="${out.build}" manifest="archive/${ant.project.name}.osgi"
  38. + excludes="tmp/**,org/objectweb/asm/optimizer**"/>
  39. <copy file="${archive}/asm-all.pom" toFile="${out.dist.lib}/all/${ant.project.name}-${product.artifact}.pom"/>
  40. <replace file="${out.dist.lib}/all/${ant.project.name}-${product.artifact}.pom" token="@product.name@" value="${ant.project.name}"/>
  41. <replace file="${out.dist.lib}/all/${ant.project.name}-${product.artifact}.pom" token="@product.artifact@" value="${product.artifact}"/>
  42. --- asm-5.0.4.orig/archive/asm-analysis.xml 2015-05-15 09:37:24.000000000 -0500
  43. +++ asm-5.0.4/archive/asm-analysis.xml 2015-09-12 00:46:21.293679991 -0500
  44. @@ -33,15 +33,10 @@
  45. <target name="dist" depends="build-jar,build-snapshot"/>
  46. <target name="build-jar">
  47. - <taskdef resource="aQute/bnd/ant/taskdef.properties" classpath="${config}/biz.aQute.bnd.jar"/>
  48. - <bnd
  49. - classpath="${out.build}"
  50. - eclipse="true"
  51. - failok="false"
  52. - exceptions="true"
  53. - files="archive/asm-analysis.bnd"
  54. - output="${out.dist.lib}/${ant.project.name}-${product.artifact}.jar"/>
  55. -
  56. + <jar destfile="${out.dist.lib}/${ant.project.name}-${product.artifact}.jar"
  57. + basedir="${out.build}" manifest="archive/${ant.project.name}.osgi"
  58. + includes="org/objectweb/asm/tree/analysis/*"
  59. + excludes="tmp/**"/>
  60. <copy file="${archive}/asm-analysis.pom" toFile="${out.dist.lib}/${ant.project.name}-${product.artifact}.pom"/>
  61. <replace file="${out.dist.lib}/${ant.project.name}-${product.artifact}.pom" token="@product.name@" value="${ant.project.name}"/>
  62. <replace file="${out.dist.lib}/${ant.project.name}-${product.artifact}.pom" token="@product.artifact@" value="${product.artifact}"/>
  63. --- asm-5.0.4.orig/archive/asm-commons.xml 2015-05-15 09:37:24.000000000 -0500
  64. +++ asm-5.0.4/archive/asm-commons.xml 2015-09-12 00:47:33.099957670 -0500
  65. @@ -33,15 +33,10 @@
  66. <target name="dist" depends="build-jar,build-snapshot"/>
  67. <target name="build-jar">
  68. - <taskdef resource="aQute/bnd/ant/taskdef.properties" classpath="${config}/biz.aQute.bnd.jar"/>
  69. - <bnd
  70. - classpath="${out.build}"
  71. - eclipse="true"
  72. - failok="false"
  73. - exceptions="true"
  74. - files="archive/asm-commons.bnd"
  75. - output="${out.dist.lib}/${ant.project.name}-${product.artifact}.jar"/>
  76. -
  77. + <jar destfile="${out.dist.lib}/${ant.project.name}-${product.artifact}.jar"
  78. + basedir="${out.build}" manifest="archive/${ant.project.name}.osgi"
  79. + includes="org/objectweb/asm/commons/*"
  80. + excludes="tmp/**"/>
  81. <copy file="${archive}/asm-commons.pom" toFile="${out.dist.lib}/${ant.project.name}-${product.artifact}.pom"/>
  82. <replace file="${out.dist.lib}/${ant.project.name}-${product.artifact}.pom" token="@product.name@" value="${ant.project.name}"/>
  83. <replace file="${out.dist.lib}/${ant.project.name}-${product.artifact}.pom" token="@product.artifact@" value="${product.artifact}"/>
  84. --- asm-5.0.4.orig/archive/asm-debug-all.xml 2015-05-15 09:37:24.000000000 -0500
  85. +++ asm-5.0.4/archive/asm-debug-all.xml 2015-09-12 01:02:18.168496421 -0500
  86. @@ -34,15 +34,9 @@
  87. <target name="build-jar">
  88. <mkdir dir="${out.dist.lib}/all"/>
  89. - <taskdef resource="aQute/bnd/ant/taskdef.properties" classpath="${config}/biz.aQute.bnd.jar"/>
  90. - <bnd
  91. - classpath="${out.build}/tmp"
  92. - eclipse="true"
  93. - failok="false"
  94. - exceptions="true"
  95. - files="archive/asm-debug-all.bnd"
  96. - output="${out.dist.lib}/all/${ant.project.name}-${product.artifact}.jar"/>
  97. -
  98. + <jar destfile="${out.dist.lib}/all/${ant.project.name}-${product.artifact}.jar"
  99. + basedir="${out.build}" manifest="archive/${ant.project.name}.osgi"
  100. + excludes="tmp/**,org/objectweb/asm/optimizer**"/>
  101. <copy file="${archive}/asm-debug-all.pom" toFile="${out.dist.lib}/all/${ant.project.name}-${product.artifact}.pom"/>
  102. <replace file="${out.dist.lib}/all/${ant.project.name}-${product.artifact}.pom" token="@product.name@" value="${ant.project.name}"/>
  103. <replace file="${out.dist.lib}/all/${ant.project.name}-${product.artifact}.pom" token="@product.artifact@" value="${product.artifact}"/>
  104. --- asm-5.0.4.orig/archive/asm-tree.xml 2015-05-15 09:37:24.000000000 -0500
  105. +++ asm-5.0.4/archive/asm-tree.xml 2015-09-12 00:51:45.141925645 -0500
  106. @@ -33,15 +33,10 @@
  107. <target name="dist" depends="build-jar,build-snapshot"/>
  108. <target name="build-jar">
  109. - <taskdef resource="aQute/bnd/ant/taskdef.properties" classpath="${config}/biz.aQute.bnd.jar"/>
  110. - <bnd
  111. - classpath="${out.build}"
  112. - eclipse="true"
  113. - failok="false"
  114. - exceptions="true"
  115. - files="archive/asm-tree.bnd"
  116. - output="${out.dist.lib}/${ant.project.name}-${product.artifact}.jar"/>
  117. -
  118. + <jar destfile="${out.dist.lib}/${ant.project.name}-${product.artifact}.jar"
  119. + basedir="${out.build}" manifest="archive/${ant.project.name}.osgi"
  120. + includes="org/objectweb/asm/tree/*"
  121. + excludes="tmp/**"/>
  122. <copy file="${archive}/asm-tree.pom" toFile="${out.dist.lib}/${ant.project.name}-${product.artifact}.pom"/>
  123. <replace file="${out.dist.lib}/${ant.project.name}-${product.artifact}.pom" token="@product.name@" value="${ant.project.name}"/>
  124. <replace file="${out.dist.lib}/${ant.project.name}-${product.artifact}.pom" token="@product.artifact@" value="${product.artifact}"/>
  125. --- asm-5.0.4.orig/archive/asm-util.xml 2015-05-15 09:37:24.000000000 -0500
  126. +++ asm-5.0.4/archive/asm-util.xml 2015-09-12 01:03:14.101526755 -0500
  127. @@ -33,15 +33,10 @@
  128. <target name="dist" depends="build-jar,build-snapshot"/>
  129. <target name="build-jar">
  130. - <taskdef resource="aQute/bnd/ant/taskdef.properties" classpath="${config}/biz.aQute.bnd.jar"/>
  131. - <bnd
  132. - classpath="${out.build}"
  133. - eclipse="true"
  134. - failok="false"
  135. - exceptions="true"
  136. - files="archive/asm-util.bnd"
  137. - output="${out.dist.lib}/${ant.project.name}-${product.artifact}.jar"/>
  138. -
  139. + <jar destfile="${out.dist.lib}/${ant.project.name}-${product.artifact}.jar"
  140. + basedir="${out.build}" manifest="archive/${ant.project.name}.osgi"
  141. + includes="org/objectweb/asm/util/*"
  142. + excludes="tmp/**"/>
  143. <copy file="${archive}/asm-util.pom" toFile="${out.dist.lib}/${ant.project.name}-${product.artifact}.pom"/>
  144. <replace file="${out.dist.lib}/${ant.project.name}-${product.artifact}.pom" token="@product.name@" value="${ant.project.name}"/>
  145. <replace file="${out.dist.lib}/${ant.project.name}-${product.artifact}.pom" token="@product.artifact@" value="${product.artifact}"/>
  146. --- asm-5.0.4.orig/archive/asm-xml.xml 2015-05-15 09:37:24.000000000 -0500
  147. +++ asm-5.0.4/archive/asm-xml.xml 2015-09-12 00:54:49.180928671 -0500
  148. @@ -33,15 +33,10 @@
  149. <target name="dist" depends="build-jar,build-snapshot"/>
  150. <target name="build-jar">
  151. - <taskdef resource="aQute/bnd/ant/taskdef.properties" classpath="${config}/biz.aQute.bnd.jar"/>
  152. - <bnd
  153. - classpath="${out.build}"
  154. - eclipse="true"
  155. - failok="false"
  156. - exceptions="true"
  157. - files="archive/asm-xml.bnd"
  158. - output="${out.dist.lib}/${ant.project.name}-${product.artifact}.jar"/>
  159. -
  160. + <jar destfile="${out.dist.lib}/${ant.project.name}-${product.artifact}.jar"
  161. + basedir="${out.build}" manifest="archive/${ant.project.name}.osgi"
  162. + includes="org/objectweb/asm/xml/*"
  163. + excludes="tmp/**"/>
  164. <copy file="${archive}/asm-xml.pom" toFile="${out.dist.lib}/${ant.project.name}-${product.artifact}.pom"/>
  165. <replace file="${out.dist.lib}/${ant.project.name}-${product.artifact}.pom" token="@product.name@" value="${ant.project.name}"/>
  166. <replace file="${out.dist.lib}/${ant.project.name}-${product.artifact}.pom" token="@product.artifact@" value="${product.artifact}"/>