ws-muse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sc...@apache.org
Subject svn commit: r157140 - incubator/muse/trunk/maven.xml
Date Fri, 11 Mar 2005 19:58:28 GMT
Author: scamp
Date: Fri Mar 11 11:58:27 2005
New Revision: 157140

URL: http://svn.apache.org/viewcvs?view=rev&rev=157140
Log:
stripped down stuff

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=157139&r2=157140
==============================================================================
--- incubator/muse/trunk/maven.xml (original)
+++ incubator/muse/trunk/maven.xml Fri Mar 11 11:58:27 2005
@@ -14,8 +14,7 @@
   <property environment="env" />
     
   <property name="test.config.wsdd" location="${maven.build.dir}/test-classes/server-config.wsdd"
/>  
-  <j:set var="diskjar" value="${pom.getDependencyPath('muse:muse-disk-types')}" />
-	
+ 	
   <preGoal name="java:prepare-filesystem">
     <j:if test="${context.getVariable('maven.ajar.src.enabled')}" >
        <attainGoal name="ajar:update-src"/>
@@ -39,10 +38,7 @@
     </copy>
     
   </postGoal>
-
-  <preGoal name="test:test">
-    <attainGoal name="deploy-disk-types"/>
-  </preGoal>
+  
   <postGoal name="test:test">
     <j:set var="maven.test.skip" value="true" />    
   </postGoal>
@@ -70,9 +66,7 @@
       <fileset dir="${maven.src.dir}/test">
          <include name="*.wsdd" />
       </fileset>
-    </copy>
-    <attainGoal name="generate-submgr" />
-    <attainGoal name="generate-registry" />
+    </copy>   
   </postGoal>
     
   <!-- ================================================================== -->
@@ -129,83 +123,6 @@
   </goal>
 
   <!-- ================================================================== -->
-  <!-- G E N E R A T E - S U B M G R  G O A L                             -->
-  <!-- ================================================================== -->
-  <!-- Generate Axis code to support the Subscription Manager web service -->
-  <!-- ================================================================== -->
-  <goal name="generate-submgr"
-        description="generates skeletons, stubs and impls for the Subscription Manager web
service">
-    
-    <taskdef name="wsdmwsdl2java" classname="org.apache.ws.tool.taskdef.WsdmWsdl2JavaTask"
classpathref="muse.classpath.id" />
-    <wsdmwsdl2java wsdl="${wsnt.submgr.wsdl.file}"
-                   srcDestDir="${maven.build.dest}"
-                   classesDestDir="${maven.build.dest}"
-                   classpathref="muse.classpath.id"
-                   wsdmWsdlLocation="/wsdl/muse"
-                   debug="off" />   
-    
-    <!-- overlay generated source with override source files -->
-    <copy todir="${maven.build.dest}"
-          overwrite="true">
-      <fileset dir="${maven.src.dir}/generated_override/submgr">
-        <include name="**/*.java"/>
-      </fileset>
-    </copy>
-    
-    <!-- compile the source - it remains in maven.build.dest for the rest of maven processing
-->
-    <javac srcdir="${maven.build.dest}"
-           destdir="${maven.build.dest}"
-           classpathref="muse.classpath.id"
-           debug="on" />
-    
-    <!-- deploy the submgr deploy.wsdd to target/server-config.wsdd & target/test-classes/server-config.wsdd
-->
-    <taskdef name="wsddUpdater" classname="org.apache.ws.platform.axis.tool.WsddUpdater"
classpathref="muse.classpath.id" />
-    <wsddUpdater deployWsdd="${maven.build.dest}/axis/org/apache/ws/generated/submgr/deploy.wsdd"
configWsdd="${test.config.wsdd}" />   
-    <wsddUpdater deployWsdd="${maven.build.dest}/axis/org/apache/ws/generated/submgr/deploy.wsdd"
configWsdd="${target.config.wsdd}" />       
-
-  </goal>
-
-  <!-- ================================================================== -->
-  <!-- G E N E R A T E - R E G I S T R Y  G O A L                         -->
-  <!-- ================================================================== -->
-  <!-- Generate Axis code to support the Registry web service             -->
-  <!-- ================================================================== -->
-  <goal name="generate-registry"
-        description="generates skeletons, stubs and impls for the Registry web service">
   
-
-    <taskdef name="wsdmwsdl2java" classname="org.apache.ws.tool.taskdef.WsdmWsdl2JavaTask"
classpathref="muse.classpath.id" />
-    <wsdmwsdl2java wsdl="${registry.wsdl.file}"
-                   srcDestDir="${maven.build.dest}"
-                   classesDestDir="${maven.build.dest}"
-                   classpathref="muse.classpath.id"
-                   wsdmWsdlLocation="/wsdl/muse"
-                   debug="off">
-       <namespaceMapping namespaceURI="http://schemas.xmlsoap.org/ws/2003/03/addressing"

-                         packageName="org.apache.axis.message.addressing" />         
   
-    </wsdmwsdl2java>   
-    
-    <!-- overlay generated source with override source files -->
-    <copy todir="${maven.build.dest}"
-          overwrite="true">
-      <fileset dir="${maven.src.dir}/generated_override/registry">
-        <include name="**/*.java"/>
-      </fileset>
-    </copy>
-    
-    <!-- compile the source - it remains in maven.build.dest for the rest of maven processing
-->
-    <javac srcdir="${maven.build.dest}"
-           destdir="${maven.build.dest}"
-           classpathref="muse.classpath.id"
-           debug="on" />
-    
-    <!-- deploy the registry deploy.wsdd to target/server-config.wsdd & target/test-classes/server-config.wsdd
-->
-    <taskdef name="wsddUpdater" classname="org.apache.ws.platform.axis.tool.WsddUpdater"
classpathref="muse.classpath.id" />
-    <wsddUpdater deployWsdd="${maven.build.dest}/axis/org/apache/ws/generated/registry/deploy.wsdd"
configWsdd="${test.config.wsdd}" />   
-    <wsddUpdater deployWsdd="${maven.build.dest}/axis/org/apache/ws/generated/registry/deploy.wsdd"
configWsdd="${target.config.wsdd}" />   
-    
-  </goal>
-
-  <!-- ================================================================== -->
   <!-- W A R : W E B A P P                                                -->
   <!-- P O S T - G O A L                                                  -->
   <!-- ================================================================== -->
@@ -227,27 +144,7 @@
     <mkdir dir="${maven.war.webapp.dir}/WEB-INF/classes" />
     
     <!-- Copy log4j config file into docroot to make it easier for users to edit -->
-    <copy file="${maven.build.dest}/log4j.properties" todir="${maven.war.webapp.dir}/WEB-INF/classes"
/>
-            
-    <mkdir dir="${maven.war.webapp.dir}/WEB-INF/classes/org/apache/ws/test" />    
-    <copy todir="${maven.war.webapp.dir}/WEB-INF/classes/org/apache/ws/test">
-       <fileset dir="${maven.test.dest}/org/apache/ws/test" />
-    </copy>    
-    
-    <mkdir dir="${maven.war.webapp.dir}/WEB-INF/classes/org/apache/ws/http" />    
-    <copy todir="${maven.war.webapp.dir}/WEB-INF/classes/org/apache/ws/http">
-       <fileset dir="${maven.test.dest}/org/apache/ws/http" />
-    </copy>
-    
-    <mkdir dir="${maven.war.webapp.dir}/WEB-INF/classes/org/apache/ws/notification" />
-    <copy todir="${maven.war.webapp.dir}/WEB-INF/classes/org/apache/ws/notification/">
-       <fileset dir="${maven.test.dest}/org/apache/ws/notification" includes="PortListen*.class"
/>
-    </copy>
-    
-    <mkdir dir="${maven.war.webapp.dir}/WEB-INF/classes/org/apache/ws/resource/example/discovery"
/>
-    <copy todir="${maven.war.webapp.dir}/WEB-INF/classes/org/apache/ws/resource/example/discovery/">
-        <fileset dir="${maven.test.dest}/org/apache/ws/resource/example/discovery" includes="DiskDiscoveryAgent.class"
/>
-    </copy>
+    <copy file="${maven.build.dest}/log4j.properties" todir="${maven.war.webapp.dir}/WEB-INF/classes"
/>            
     
     <j:set var="maven.test.skip" value="true" />
     <attainGoal name="jar" />
@@ -286,17 +183,7 @@
       <fileset dir="${site.dest.dir}" />
     </copy>
             
-    <property name="tutorial.assembly.dir" location="${docs.assembly.dir}/tutorial" />
-    <mkdir dir="${tutorial.assembly.dir}/disk/src/org/apache/ws/resource/example/discovery"
/>
-    <copy tofile="${tutorial.assembly.dir}/disk/src/org/apache/ws/resource/example/discovery/DiskDiscoveryAgent.java"
-    	  file="${maven.src.dir}/test/org/apache/ws/resource/example/discovery/DiskDiscoveryAgent.java"/>
-    <copy tofile="${tutorial.assembly.dir}/disk/src/org/apache/ws/resource/example/ExampleConstants.java"
-    	  file="${maven.src.dir}/test/org/apache/ws/resource/example/ExampleConstants.java"/>
   
-    <copy tofile="${tutorial.assembly.dir}/disk/src/org/apache/ws/resource/example/Disk.java"
-    	  file="${maven.src.dir}/test/org/apache/ws/resource/example/Disk.java"/> 
-    <copy tofile="${tutorial.assembly.dir}/disk/src/org/apache/ws/resource/example/StateInfo.java"
-    	  file="${maven.src.dir}/test/org/apache/ws/resource/example/StateInfo.java"/> 
-      
+    <property name="tutorial.assembly.dir" location="${docs.assembly.dir}/tutorial" />
    
     <mkdir dir="${maven.dist.bin.assembly.dir}/usr" />
     
     <copy todir="${maven.dist.bin.assembly.dir}">
@@ -334,34 +221,7 @@
     <delete>
        <fileset dir="${maven.dist.dir}"><include name="*.tar.gz" /></fileset>
   
     </delete>
-  </postGoal>
-    
-  <!-- ================================================================== -->
-  <!-- D E P L O Y - D I S K - T Y P E S   G O A L                        -->
-  <!-- ================================================================== -->
-  <!-- Deploys Disk for Unit Test                                         -->
-  <!-- ================================================================== -->  
-  <goal name="deploy-disk-types" 
-        description="Deploys Disk for Unit Test">
-     
-    <path id="disk-types.classpath.id">
-       <pathelement location="${wsrf.disk.types.classes.dir}" />
-       <pathelement location="${maven.build.dest}" />
-       <path refid="maven.dependency.classpath" />
-    </path>   
-        
-    <echo>Expanding deploy.wsdd from jar  ${diskjar}</echo>
-    <unzip src="${diskjar}" dest="${wsrf.disk.types.src.dir}">        
-       <patternset>
-        <include name="axis/com/xyz/deploy.wsdd"/>           
-       </patternset> 
-    </unzip>
-       
-    <!-- deploy the disk deploy.wsdd to src/test/server-config.wsdd -->
-    <taskdef name="wsddUpdater" classname="org.apache.ws.platform.axis.tool.WsddUpdater"
classpathref="disk-types.classpath.id" />
-    <wsddUpdater deployWsdd="${wsrf.disk.types.src.dir}/axis/com/xyz/deploy.wsdd" configWsdd="${maven.src.dir}/test/server-config.wsdd"
/>       
-    
-  </goal>
+  </postGoal>    
 
   <!-- ================================================================== -->
   <!-- C M 2 : D I S T   G O A L                                          -->



---------------------------------------------------------------------
To unsubscribe, e-mail: muse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-dev-help@ws.apache.org


Mime
View raw message