java-mx4j/java-mx4j-3.0.2-split-extratools.patch

94 lines
4.3 KiB
Diff
Raw Normal View History

--- mx4j-3.0.2/build/build.xml 2009-09-07 20:02:13.000000000 +0200
+++ mx4j-3.0.2/build/build.xml-gil 2009-09-07 20:09:28.000000000 +0200
@@ -62,7 +62,9 @@
<property name="tools.jar.file" value="${dist.lib.dir}/${name}-tools.jar"/>
<property name="tests.jar.file" value="${dist.test.dir}/${name}-tests.jar"/>
-
+
+ <property name="tools.extra.jar.file" value="${dist.lib.dir}/${name}-tools-extra.jar"/>
+
<property name="examples.jar.file" value="${dist.examples.dir}/${name}-examples.jar"/>
<property name="mx4j.soap.war.file" value="${dist.lib.dir}/${name}-soap.war"/>
@@ -105,10 +107,34 @@
<patternset id="tools.classes">
<include name="mx4j/log/**"/>
<include name="mx4j/util/**"/>
- <include name="mx4j/tools/**"/>
+ <include name="mx4j/tools/adaptor/**"/>
+ <include name="mx4j/tools/config/**"/>
+ <include name="mx4j/tools/i18n/**"/>
+ <include name="mx4j/tools/mail/**"/>
+ <include name="mx4j/tools/naming/**"/>
+ <include name="mx4j/tools/remote/*.*"/>
+ <include name="mx4j/tools/remote/http/**"/>
+ <include name="mx4j/tools/remote/local/**"/>
+ <include name="mx4j/tools/remote/provider/local/**"/>
+ <include name="mx4j/tools/remote/proxy/**"/>
+ <include name="mx4j/tools/remote/resolver/local/**"/>
+ <include name="mx4j/tools/remote/rmi/**"/>
+ <include name="mx4j/tools/stats/**"/>
<include name="mx4j/remote/*.*"/>
</patternset>
+ <patternset id="tools.extra.classes">
+ <include name="mx4j/tools/jython/**"/>
+ <include name="mx4j/tools/remote/caucho/**"/>
+ <include name="mx4j/tools/remote/provider/burlap/**"/>
+ <include name="mx4j/tools/remote/provider/hessian/**"/>
+ <include name="mx4j/tools/remote/provider/soap/**"/>
+ <!--include name="mx4j/tools/remote/resolver/burlap/**"/-->
+ <!--include name="mx4j/tools/remote/resolver/hessian/**"/-->
+ <include name="mx4j/tools/remote/resolver/soap/**"/>
+ <include name="mx4j/tools/remote/soap/**"/>
+ </patternset>
+
<patternset id="tools.files">
<include name="mx4j/tools/adaptor/http/**/*.xsl"/>
<include name="mx4j/tools/adaptor/http/**/*.xml"/>
@@ -118,6 +144,9 @@
<include name="mx4j/tools/adaptor/http/**/*.gif"/>
<include name="mx4j/tools/adaptor/http/**/*.jpg"/>
<include name="mx4j/tools/adaptor/http/**/*.ico"/>
+ </patternset>
+
+ <patternset id="tools.extra.files">
<include name="mx4j/tools/jython/**/*.py"/>
<include name="mx4j/tools/remote/**/*.wsdd"/>
</patternset>
@@ -313,6 +342,7 @@
<javac srcdir="${tools.src.dir}" destdir="${tools.classes.dir}" debug="on" deprecation="on" encoding="US-ASCII" target="1.3" source="1.3">
<patternset refid="tools.classes"/>
+ <patternset refid="tools.extra.classes"/>
<exclude name="mx4j/tools/mail/**" unless="javamail.present"/>
<exclude name="mx4j/tools/jython/**" unless="jython.present"/>
<exclude name="mx4j/tools/remote/**" unless="jaas.present"/>
@@ -344,6 +374,25 @@
<zipfileset file="${etc.dir}/JMXConnectorServerProvider-tools.provider" fullpath="META-INF/services/javax.management.remote.JMXConnectorServerProvider"/>
</jar>
+ <jar jarfile="${tools.extra.jar.file}" manifest="${etc.dir}/MANIFEST.MF">
+ <fileset dir="${core.classes.dir}">
+ <patternset refid="tools.extra.classes"/>
+ </fileset>
+ <fileset dir="${tools.classes.dir}">
+ <patternset refid="tools.extra.classes"/>
+ </fileset>
+ <fileset dir="${core.src.dir}">
+ <patternset refid="tools.extra.files"/>
+ </fileset>
+ <fileset dir="${tools.src.dir}">
+ <patternset refid="tools.extra.files"/>
+ </fileset>
+<!--
+ <zipfileset file="${etc.dir}/JMXConnectorProvider-tools.provider" fullpath="META-INF/services/javax.management.remote.JMXConnectorProvider"/>
+ <zipfileset file="${etc.dir}/JMXConnectorServerProvider-tools.provider" fullpath="META-INF/services/javax.management.remote.JMXConnectorServerProvider"/>
+-->
+ </jar>
+
<war destfile="${mx4j.soap.war.file}" manifest="${etc.dir}/MANIFEST.MF" webxml="${etc.dir}/web.xml">
<lib dir="${lib.dir}">
<include name="axis.jar"/>