[pkg-java] r18274 - in trunk/jakarta-jmeter/debian: . patches

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Thu Jul 17 18:02:52 UTC 2014


Author: ebourg-guest
Date: 2014-07-17 18:02:52 +0000 (Thu, 17 Jul 2014)
New Revision: 18274

Added:
   trunk/jakarta-jmeter/debian/patches/02_disable-soap-sampler.patch
   trunk/jakarta-jmeter/debian/patches/03_disable-jdbc-module.patch
   trunk/jakarta-jmeter/debian/patches/06_link-to-system-javadoc.patch
Removed:
   trunk/jakarta-jmeter/debian/patches/02_disable_components.patch
Modified:
   trunk/jakarta-jmeter/debian/changelog
   trunk/jakarta-jmeter/debian/patches/series
Log:
Split 02_disable_components.patch into 3 patches



Modified: trunk/jakarta-jmeter/debian/changelog
===================================================================
--- trunk/jakarta-jmeter/debian/changelog	2014-07-17 15:54:58 UTC (rev 18273)
+++ trunk/jakarta-jmeter/debian/changelog	2014-07-17 18:02:52 UTC (rev 18274)
@@ -7,6 +7,7 @@
     - Removed 03_bouncycastle_update.patch (fixed upstream)
   * Install ApacheJMeter_native.jar in the main jmeter package
   * Packaged the MongoDB testing module as jmeter-mongodb
+  * Split 02_disable_components.patch into 3 patches
   * Use XZ compression for the upstream tarball
 
  -- Emmanuel Bourg <ebourg at apache.org>  Thu, 17 Jul 2014 13:02:56 +0200

Copied: trunk/jakarta-jmeter/debian/patches/02_disable-soap-sampler.patch (from rev 18271, trunk/jakarta-jmeter/debian/patches/02_disable_components.patch)
===================================================================
--- trunk/jakarta-jmeter/debian/patches/02_disable-soap-sampler.patch	                        (rev 0)
+++ trunk/jakarta-jmeter/debian/patches/02_disable-soap-sampler.patch	2014-07-17 18:02:52 UTC (rev 18274)
@@ -0,0 +1,19 @@
+Description: Disable the SOAP sampler since it relies on the old Apache SOAP API
+ which isn't packaged yet. This library is archived here:
+ http://archive.apache.org/dist/ws/soap/version-2.3.1/
+Author: Onkar Shinde <onshinde at ubuntu.com>
+Forwarded: not-needed
+--- a/build.xml
++++ b/build.xml
+@@ -599,9 +599,10 @@
+   <target name="compile-http" depends="compile-jorphan,compile-core,compile-components" description="Compile components specific to HTTP sampling.">
+     <mkdir dir="${build.http}"/>
+     <!-- Directory needs to exist, or jar will fail -->
+-    <javac srcdir="${src.http}" destdir="${build.http}" source="${src.java.version}" optimize="${optimize}" debug="on" target="${target.java.version}"
++    <javac sourcepath="" srcdir="${src.http}" destdir="${build.http}" source="${src.java.version}" optimize="${optimize}" debug="on" target="${target.java.version}"
+            includeAntRuntime="${includeAntRuntime}" deprecation="${deprecation}" encoding="${encoding}">
+       <include name="**/*.java"/>
++      <exclude name="**/WebServiceSampler*.java"/>
+       <classpath>
+         <pathelement location="${build.jorphan}"/>
+         <pathelement location="${build.core}"/>

Deleted: trunk/jakarta-jmeter/debian/patches/02_disable_components.patch
===================================================================
--- trunk/jakarta-jmeter/debian/patches/02_disable_components.patch	2014-07-17 15:54:58 UTC (rev 18273)
+++ trunk/jakarta-jmeter/debian/patches/02_disable_components.patch	2014-07-17 18:02:52 UTC (rev 18274)
@@ -1,53 +0,0 @@
-Description: Disable components which fail to build because of yet unpackaged
- build dependencies.
-Forwarded: not-needed
-Author: Onkar Shinde <onshinde at ubuntu.com>
---- a/build.xml
-+++ b/build.xml
-@@ -599,9 +599,10 @@
-   <target name="compile-http" depends="compile-jorphan,compile-core,compile-components" description="Compile components specific to HTTP sampling.">
-     <mkdir dir="${build.http}"/>
-     <!-- Directory needs to exist, or jar will fail -->
--    <javac srcdir="${src.http}" destdir="${build.http}" source="${src.java.version}" optimize="${optimize}" debug="on" target="${target.java.version}"
-+    <javac sourcepath="" srcdir="${src.http}" destdir="${build.http}" source="${src.java.version}" optimize="${optimize}" debug="on" target="${target.java.version}"
-            includeAntRuntime="${includeAntRuntime}" deprecation="${deprecation}" encoding="${encoding}">
-       <include name="**/*.java"/>
-+      <exclude name="**/WebServiceSampler*.java"/>
-       <classpath>
-         <pathelement location="${build.jorphan}"/>
-         <pathelement location="${build.core}"/>
-@@ -748,7 +749,7 @@
-     </javac>
-   </target>
- 
--  <target name="compile-protocols" depends="compile-http,compile-ftp,compile-jdbc,compile-java,compile-ldap,compile-mail,compile-tcp" description="Compile all protocol-specific components."/>
-+  <target name="compile-protocols" depends="compile-http,compile-ftp,compile-java,compile-ldap,compile-mail,compile-tcp" description="Compile all protocol-specific components."/>
- 
-   <target name="compile-examples" depends="compile-jorphan,compile-core" description="Compile example components.">
-     <mkdir dir="${build.examples}"/>
-@@ -1024,14 +1025,14 @@
-     </jar>
- 
-     <!-- jdbc -->
--    <jar jarfile="${dest.jar}/ApacheJMeter_jdbc.jar" manifest="${build.dir}/MANIFEST_BIN.MF">
-+    <!--jar jarfile="${dest.jar}/ApacheJMeter_jdbc.jar" manifest="${build.dir}/MANIFEST_BIN.MF">
-       <zipfileset file="${resources.meta-inf}/default.notice"
-         fullpath="META-INF/NOTICE" />
-       <zipfileset file="${resources.meta-inf}/default.license"
-         fullpath="META-INF/LICENSE" />
-       <fileset dir="${build.jdbc}" includes="**/*.class" />
-       <fileset dir="${src.jdbc}" includes="**/*.properties" />
--    </jar>
-+    </jar-->
- 
-     <!-- java -->
-     <jar jarfile="${dest.jar}/ApacheJMeter_java.jar" manifest="${build.dir}/MANIFEST_BIN.MF">
-@@ -2236,7 +2237,7 @@
-       packagenames="org.apache.jmeter.*,org.apache.jorphan.*"
-       excludepackagenames="org.apache.jorphan.timer">
-       <classpath refid="classpath"/>
--      <link href="http://docs.oracle.com/javase/6/docs/api/"/>
-+      <link href="file:///usr/share/doc/default-jdk-doc/api/"/>
-     </javadoc>
-     <patch-javadoc dir="${dest.docs.api}" docencoding="${javadoc.encoding}"/>
-   </target>

Copied: trunk/jakarta-jmeter/debian/patches/03_disable-jdbc-module.patch (from rev 18271, trunk/jakarta-jmeter/debian/patches/02_disable_components.patch)
===================================================================
--- trunk/jakarta-jmeter/debian/patches/03_disable-jdbc-module.patch	                        (rev 0)
+++ trunk/jakarta-jmeter/debian/patches/03_disable-jdbc-module.patch	2014-07-17 18:02:52 UTC (rev 18274)
@@ -0,0 +1,31 @@
+Description: Disable the JDBC components since it relies on the excalibur-datasource library
+ which is not packaged yet
+Author: Onkar Shinde <onshinde at ubuntu.com>
+Forwarded: not-needed
+--- a/build.xml
++++ b/build.xml
+@@ -749,7 +749,7 @@
+     </javac>
+   </target>
+ 
+-  <target name="compile-protocols" depends="compile-http,compile-ftp,compile-jdbc,compile-java,compile-ldap,compile-mail,compile-tcp" description="Compile all protocol-specific components."/>
++  <target name="compile-protocols" depends="compile-http,compile-ftp,compile-java,compile-ldap,compile-mail,compile-tcp" description="Compile all protocol-specific components."/>
+ 
+   <target name="compile-examples" depends="compile-jorphan,compile-core" description="Compile example components.">
+     <mkdir dir="${build.examples}"/>
+@@ -1025,6 +1025,7 @@
+     </jar>
+ 
+     <!-- jdbc -->
++    <!--
+     <jar jarfile="${dest.jar}/ApacheJMeter_jdbc.jar" manifest="${build.dir}/MANIFEST_BIN.MF">
+       <zipfileset file="${resources.meta-inf}/default.notice"
+         fullpath="META-INF/NOTICE" />
+@@ -1033,6 +1034,7 @@
+       <fileset dir="${build.jdbc}" includes="**/*.class" />
+       <fileset dir="${src.jdbc}" includes="**/*.properties" />
+     </jar>
++    -->
+ 
+     <!-- java -->
+     <jar jarfile="${dest.jar}/ApacheJMeter_java.jar" manifest="${build.dir}/MANIFEST_BIN.MF">

Copied: trunk/jakarta-jmeter/debian/patches/06_link-to-system-javadoc.patch (from rev 18271, trunk/jakarta-jmeter/debian/patches/02_disable_components.patch)
===================================================================
--- trunk/jakarta-jmeter/debian/patches/06_link-to-system-javadoc.patch	                        (rev 0)
+++ trunk/jakarta-jmeter/debian/patches/06_link-to-system-javadoc.patch	2014-07-17 18:02:52 UTC (rev 18274)
@@ -0,0 +1,14 @@
+Description: Link the API documentation with the system Javadoc provided by the default-jdk-doc package
+Author: Onkar Shinde <onshinde at ubuntu.com>
+Forwarded: not-needed
+--- a/build.xml
++++ b/build.xml
+@@ -2239,7 +2239,7 @@
+       packagenames="org.apache.jmeter.*,org.apache.jorphan.*"
+       excludepackagenames="org.apache.jorphan.timer">
+       <classpath refid="classpath"/>
+-      <link href="http://docs.oracle.com/javase/6/docs/api/"/>
++      <link href="file:///usr/share/doc/default-jdk-doc/api/"/>
+     </javadoc>
+     <patch-javadoc dir="${dest.docs.api}" docencoding="${javadoc.encoding}"/>
+   </target>

Modified: trunk/jakarta-jmeter/debian/patches/series
===================================================================
--- trunk/jakarta-jmeter/debian/patches/series	2014-07-17 15:54:58 UTC (rev 18273)
+++ trunk/jakarta-jmeter/debian/patches/series	2014-07-17 18:02:52 UTC (rev 18274)
@@ -1,4 +1,6 @@
 01_improve_cli_help.patch
-02_disable_components.patch
+02_disable-soap-sampler.patch
+03_disable-jdbc-module.patch
 04_java8_compatibility.patch
 05_ignore-jodd.patch
+06_link-to-system-javadoc.patch




More information about the pkg-java-commits mailing list