Author: kwright
Date: Tue Jul 16 19:00:32 2019
New Revision: 1863177

URL: http://svn.apache.org/viewvc?rev=1863177&view=rev
Log:
Add metainf to jar and include wsdls and xsd's

Added:
    manifoldcf/branches/CONNECTORS-1566/connectors/csws/jax-ws-catalog.xml   
(with props)
Modified:
    manifoldcf/branches/CONNECTORS-1566/connectors/csws/build.xml
    manifoldcf/branches/CONNECTORS-1566/framework/buildfiles/connector-build.xml

Modified: manifoldcf/branches/CONNECTORS-1566/connectors/csws/build.xml
URL: 
http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1566/connectors/csws/build.xml?rev=1863177&r1=1863176&r2=1863177&view=diff
==============================================================================
--- manifoldcf/branches/CONNECTORS-1566/connectors/csws/build.xml (original)
+++ manifoldcf/branches/CONNECTORS-1566/connectors/csws/build.xml Tue Jul 16 
19:00:32 2019
@@ -31,6 +31,11 @@
     <import file="${mcf-dist}/connector-build.xml"/>
 
     <target name="classcreate-wsdls" depends="precompile-check" if="canBuild">
+        <mkdir dir="build/metainf/wsdls"/>
+        <copy todir="build/metainf/wsdls">
+          <fileset dir="wsdls"/>
+        </copy>
+        <copy todir="build/metainf" file="jax-ws-catalog.xml"/>
         <antcall target="classcreate-wsdl-cxf">
             <param name="wsdlname" value="wsdls/DocumentManagement.wsdl"/>
         </antcall>

Added: manifoldcf/branches/CONNECTORS-1566/connectors/csws/jax-ws-catalog.xml
URL: 
http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1566/connectors/csws/jax-ws-catalog.xml?rev=1863177&view=auto
==============================================================================
--- manifoldcf/branches/CONNECTORS-1566/connectors/csws/jax-ws-catalog.xml 
(added)
+++ manifoldcf/branches/CONNECTORS-1566/connectors/csws/jax-ws-catalog.xml Tue 
Jul 16 19:00:32 2019
@@ -0,0 +1,20 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog" prefer="system">
+  <system systemId="http://localhost/wsdls/Authentication.wsdl"; 
uri="wsdls/Authentication.wsdl"/>
+</catalog>
\ No newline at end of file

Propchange: 
manifoldcf/branches/CONNECTORS-1566/connectors/csws/jax-ws-catalog.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: 
manifoldcf/branches/CONNECTORS-1566/framework/buildfiles/connector-build.xml
URL: 
http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1566/framework/buildfiles/connector-build.xml?rev=1863177&r1=1863176&r2=1863177&view=diff
==============================================================================
--- 
manifoldcf/branches/CONNECTORS-1566/framework/buildfiles/connector-build.xml 
(original)
+++ 
manifoldcf/branches/CONNECTORS-1566/framework/buildfiles/connector-build.xml 
Tue Jul 16 19:00:32 2019
@@ -691,14 +691,16 @@
     </target>
 
     <target name="jar-connector" depends="compile-connector,precompile-check" 
if="canBuild">
-       <mkdir dir="build/xsdclasses"/>
-       <mkdir dir="build/wsdlclasses"/>
-       <mkdir dir="build/jar"/>
-       <jar destfile="build/jar/mcf-${ant.project.name}-connector.jar">
-               <fileset dir="build/connector/classes"/>
-         <fileset dir="build/xsdclasses"/>
-         <fileset dir="build/wsdlclasses"/>
-       </jar>
+          <mkdir dir="build/xsdclasses"/>
+          <mkdir dir="build/wsdlclasses"/>
+          <mkdir dir="build/jar"/>
+          <mkdir dir="build/metainf"/>
+          <jar destfile="build/jar/mcf-${ant.project.name}-connector.jar">
+            <fileset dir="build/connector/classes"/>
+            <fileset dir="build/xsdclasses"/>
+            <fileset dir="build/wsdlclasses"/>
+            <metainf dir="build/metainf"/>
+          </jar>
     </target>
 
     <target name="jar-interface" depends="compile-interface,has-RMI-check" 
if="hasRMI">


Reply via email to