You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-dev@ws.apache.org by sc...@apache.org on 2005/04/08 23:29:20 UTC
svn commit: r160613 - incubator/muse/trunk/maven.xml
Author: scamp
Date: Fri Apr 8 14:29:20 2005
New Revision: 160613
URL: http://svn.apache.org/viewcvs?view=rev&rev=160613
Log:
added extracting the wsdls and xsds from generated jars
Modified:
incubator/muse/trunk/maven.xml
Modified: incubator/muse/trunk/maven.xml
URL: http://svn.apache.org/viewcvs/incubator/muse/trunk/maven.xml?view=diff&r1=160612&r2=160613
==============================================================================
--- incubator/muse/trunk/maven.xml (original)
+++ incubator/muse/trunk/maven.xml Fri Apr 8 14:29:20 2005
@@ -95,15 +95,39 @@
<attainGoal name="jar:jar" />
<copy file="${maven.build.dir}/${maven.final.name}.jar" todir="${maven.war.webapp.dir}/WEB-INF/lib" overwrite="true" verbose="true" />
- <!-- Copy spec WSDLs into spec/ subdir of webapp docroot. -->
- <mkdir dir="${spec.wsdl.dest.dir}" />
- <copy todir="${spec.wsdl.dest.dir}">
- <fileset dir="${wsdm.wsdl.src.dir}" />
- </copy>
+ <!-- Extract Spec Wsdls and Xsds from Generated Jars -->
+ <j:set var="wsdljar" value="${pom.getDependencyPath('apollo:wsa-xbeans')}"/>
+ <attainGoal name="extract-wsdl-jar"/>
+
+ <j:set var="wsdljar" value="${pom.getDependencyPath('apollo:wsrf-xbeans')}"/>
+ <attainGoal name="extract-wsdl-jar"/>
+
+ <j:set var="wsdljar" value="${pom.getDependencyPath('hermes:wsn-xbeans')}"/>
+ <attainGoal name="extract-wsdl-jar"/>
+
+ <j:set var="wsdljar" value="${pom.getDependencyPath('muse:wsdm-xbeans')}"/>
+ <attainGoal name="extract-wsdl-jar"/>
<attainGoal name="dep-license-files" />
</postGoal>
+
+ <goal name="extract-wsdl-jar">
+ <echo>Extracting Wsdls from: ${wsdljar}</echo>
+ <mkdir dir="${maven.build.dir}/temp-wsdl" />
+ <unzip src="${wsdljar}"
+ dest="${maven.build.dir}/temp-wsdl">
+ <patternset>
+ <include name="**/*.wsdl"/>
+ <include name="**/*.xsd"/>
+ </patternset>
+ </unzip>
+ <copy todir="${spec.wsdl.dest.dir}">
+ <fileset dir="${maven.build.dir}/temp-wsdl/schema/src/src/wsdl"/>
+ </copy>
+
+ <delete dir="${maven.build.dir}/temp-wsdl" />
+ </goal>
<goal name="deploy">
<mkdir dir="${env.CATALINA_HOME}/webapps/${webapp.name}/WEB-INF/lib" />
---------------------------------------------------------------------
To unsubscribe, e-mail: muse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-dev-help@ws.apache.org