7096063: /META-INF/mimetypes.default missing in jre\lib\resources.jar
Reviewed-by: dholmes
--- a/jaxws/build-defs.xml Wed Jul 05 17:59:00 2017 +0200
+++ b/jaxws/build-defs.xml Mon Jan 09 09:22:54 2012 -0800
@@ -96,6 +96,10 @@
</replaceregexp>
<mkdir dir="${build.classes.dir}/META-INF/services"/>
+ <copy todir="${build.classes.dir}/META-INF"
+ file="${secondary.src.dir}/META-INF/mailcap.default"/>
+ <copy todir="${build.classes.dir}/META-INF"
+ file="${secondary.src.dir}/META-INF/mimetypes.default"/>
<copy todir="${build.classes.dir}/META-INF/services"
file="${primary.src.dir}/com/sun/tools/etc/META-INF/services/com.sun.mirror.apt.AnnotationProcessorFactory"/>
<copy todir="${build.classes.dir}/META-INF/services"
@@ -118,6 +122,7 @@
<!-- Set up source to use drop.dir. -->
<target name="-use-drop" depends="-set-props">
<property name="primary.src.dir" value="${jaxws_src.src.dir}"/>
+ <property name="secondary.src.dir" value="${jaf_src.src.dir}"/>
<path id="src.dir.id">
<pathelement path="${primary.src.dir}"/>
<pathelement path="${jaf_src.src.dir}"/>