You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pubscribe-commits@ws.apache.org by ip...@apache.org on 2005/07/16 02:45:31 UTC

svn commit: r219271 - in /webservices/pubscribe/trunk: maven.xml project.xml src/webapp/WEB-INF/web.xml src/webapp/images/hermes-logo.jpg src/webapp/images/pubscribe-logo.jpg src/webapp/index.html

Author: ips
Date: Fri Jul 15 17:45:29 2005
New Revision: 219271

URL: http://svn.apache.org/viewcvs?rev=219271&view=rev
Log:
upgraded to Axis 1.2.1 and fixed error in web.xml

Added:
    webservices/pubscribe/trunk/src/webapp/images/pubscribe-logo.jpg
      - copied unchanged from r219129, webservices/pubscribe/trunk/src/webapp/images/hermes-logo.jpg
Removed:
    webservices/pubscribe/trunk/src/webapp/images/hermes-logo.jpg
Modified:
    webservices/pubscribe/trunk/maven.xml
    webservices/pubscribe/trunk/project.xml
    webservices/pubscribe/trunk/src/webapp/WEB-INF/web.xml
    webservices/pubscribe/trunk/src/webapp/index.html

Modified: webservices/pubscribe/trunk/maven.xml
URL: http://svn.apache.org/viewcvs/webservices/pubscribe/trunk/maven.xml?rev=219271&r1=219270&r2=219271&view=diff
==============================================================================
--- webservices/pubscribe/trunk/maven.xml (original)
+++ webservices/pubscribe/trunk/maven.xml Fri Jul 15 17:45:29 2005
@@ -26,8 +26,6 @@
         
   </preGoal>
 
-
-
   <postGoal name="test:compile">
     <copy todir="${maven.test.dest}">
        <fileset dir="${maven.src.dir}/test" excludes="**/*.java, **/package.html" />
@@ -135,44 +133,41 @@
     <echo>Extracting WSDLs from ${wsdljar} to ${spec.wsdl.dest.dir} ...</echo>
     <mkdir dir="${maven.build.dir}/temp-wsdl" />
     <mkdir dir="${spec.wsdl.dest.dir}" />   
+    <j:set var="temp.wsdl.dir" value="${maven.build.dir}/temp-wsdl" /> 
     <unzip src="${wsdljar}"
-           dest="${maven.build.dir}/temp-wsdl">
+           dest="${temp.wsdl.dir}">
       <patternset>
-        <include name="**/*.wsdl"/>
-        <include name="**/*.xsd"/>
+        <include name="**/*.wsdl" />
+        <include name="**/*.xsd" />
       </patternset>
     </unzip>
     <copy todir="${spec.wsdl.dest.dir}">
-      <fileset dir="${maven.build.dir}/temp-wsdl/schema/src" />         	
+      <fileset dir="${temp.wsdl.dir}/schemaorg_apache_xmlbeans/src" />         	
     </copy>
-    <delete dir="${maven.build.dir}/temp-wsdl" />
+    <delete dir="${temp.wsdl.dir}" />
   </goal>
 
   <!-- ================================================================== -->
   <!-- D I S T : P R E P A R E - B I N - F I L E S Y S T E M              -->
   <!-- P O S T - G O A L                                                  -->
   <!-- ================================================================== -->
-  <!-- Copy the following into the binary distribution directory:         -->
-  <!-- webapps/wsdm/, docs/, examples/, readme.htm, and util.xml          -->
+  <!-- Copy the following from src/ into the binary dist dir:             -->
+  <!-- docs/, examples/, template/, and webapps/pubscribe/                -->
   <!-- ================================================================== -->
   <postGoal name="dist:prepare-bin-filesystem">
 
+    <attainGoal name="war:webapp" />
+    <attainGoal name="website" />    
+    
     <!-- Delete the jar that dist:prepare-bin-filesystem placed in the dist dir. -->
     <delete file="${maven.dist.bin.assembly.dir}/${maven.final.name}.jar" />
 
-    <attainGoal name="war:webapp" />
-    <mkdir dir="${maven.dist.bin.assembly.dir}/webapps/${webapp.name}" />    
-    <copy todir="${maven.dist.bin.assembly.dir}/webapps/${webapp.name}">
-      <fileset dir="${maven.war.webapp.dir}" />
-    </copy>        
-
-
-    <mkdir dir="${maven.dist.bin.assembly.dir}/examples/consumer" />    
-      <copy todir="${maven.dist.bin.assembly.dir}/examples/consumer">
-      <fileset dir="${maven.src.dir}/examples/consumer" />
-    </copy>    
-
-    <attainGoal name="website" />    
+    <copy todir="${maven.dist.bin.assembly.dir}">
+      <fileset dir="${basedir}">
+        <include name="README*" />
+      </fileset>
+    </copy>
+    
     <property name="docs.assembly.dir" location="${maven.dist.bin.assembly.dir}/docs" />
     <delete dir="${docs.assembly.dir}" />
     <mkdir dir="${docs.assembly.dir}" />
@@ -180,12 +175,31 @@
       <fileset dir="${site.dest.dir}" />
     </copy>
     
+    <property name="examples.assembly.dir" location="${maven.dist.bin.assembly.dir}/examples" />
+    <delete dir="${examples.assembly.dir}/consumer" />
+    <mkdir dir="${examples.assembly.dir}/consumer" />
+    <copy todir="${examples.assembly.dir}/consumer">
+      <fileset dir="${maven.src.dir}/examples/consumer" />
+    </copy>    
+    <delete dir="${examples.assembly.dir}/filesystem" />
+    <mkdir dir="${examples.assembly.dir}/filesystem" />
+    <copy todir="${examples.assembly.dir}/filesystem">
+      <fileset dir="${maven.src.dir}/examples/filesystem" />
+    </copy>
 
-    <copy todir="${maven.dist.bin.assembly.dir}">
-      <fileset dir="${basedir}">
-        <include name="README.txt" />
-      </fileset>
+    <property name="template.assembly.dir" location="${maven.dist.bin.assembly.dir}/template" />
+    <delete dir="${template.assembly.dir}" />
+    <mkdir dir="${template.assembly.dir}" />
+    <copy todir="${template.assembly.dir}">
+      <fileset dir="${maven.src.dir}/template" />
     </copy>
+    
+    <property name="webapp.assembly.dir" location="${maven.dist.bin.assembly.dir}/webapps/${webapp.name}" />
+    <delete dir="${webapp.assembly.dir}" />
+    <mkdir dir="${webapp.assembly.dir}" />    
+    <copy todir="${webapp.assembly.dir}">
+      <fileset dir="${maven.war.webapp.dir}" />
+    </copy>            
                 
   </postGoal>
   

Modified: webservices/pubscribe/trunk/project.xml
URL: http://svn.apache.org/viewcvs/webservices/pubscribe/trunk/project.xml?rev=219271&r1=219270&r2=219271&view=diff
==============================================================================
--- webservices/pubscribe/trunk/project.xml (original)
+++ webservices/pubscribe/trunk/project.xml Fri Jul 15 17:45:29 2005
@@ -160,7 +160,7 @@
     <dependency>
       <groupId>axis</groupId>
       <artifactId>axis</artifactId>
-      <version>1.2</version>
+      <version>1.2.1</version>
       <url>http://ws.apache.org/axis/</url>
       <properties>
         <license>ApacheLicense-2.0.txt</license>

Modified: webservices/pubscribe/trunk/src/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewcvs/webservices/pubscribe/trunk/src/webapp/WEB-INF/web.xml?rev=219271&r1=219270&r2=219271&view=diff
==============================================================================
--- webservices/pubscribe/trunk/src/webapp/WEB-INF/web.xml (original)
+++ webservices/pubscribe/trunk/src/webapp/WEB-INF/web.xml Fri Jul 15 17:45:29 2005
@@ -9,6 +9,9 @@
 
   <listener>
     <listener-class>org.apache.ws.resource.webapp.WsrfServletContextListener</listener-class>
+  </listener>
+
+  <listener>
     <listener-class>org.apache.axis.transport.http.AxisHTTPSessionListener</listener-class>
   </listener>
 
@@ -18,12 +21,12 @@
     <servlet-class>org.apache.axis.transport.http.AxisServlet</servlet-class>
   </servlet>
 
-   <servlet>
-     <servlet-name>AdminServlet</servlet-name>
-     <display-name>Axis Admin Servlet</display-name>
-     <servlet-class>org.apache.axis.transport.http.AdminServlet</servlet-class>
-     <load-on-startup>100</load-on-startup>
-   </servlet>
+  <servlet>
+    <servlet-name>AdminServlet</servlet-name>
+    <display-name>Axis Admin Servlet</display-name>
+    <servlet-class>org.apache.axis.transport.http.AdminServlet</servlet-class>
+    <load-on-startup>100</load-on-startup>
+  </servlet>
 
   <servlet-mapping>
     <servlet-name>AxisServlet</servlet-name>

Modified: webservices/pubscribe/trunk/src/webapp/index.html
URL: http://svn.apache.org/viewcvs/webservices/pubscribe/trunk/src/webapp/index.html?rev=219271&r1=219270&r2=219271&view=diff
==============================================================================
--- webservices/pubscribe/trunk/src/webapp/index.html (original)
+++ webservices/pubscribe/trunk/src/webapp/index.html Fri Jul 15 17:45:29 2005
@@ -1,16 +1,15 @@
 <html>
 
 <head>
-<meta http-equiv="Content-Type"
-content="text/html; charset=iso-8859-1">
-<title>Apache-Pubscribe</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<title>Apache Pubscribe</title>
 </head>
 
 <body bgcolor="#FFFFFF">
 
 <h1 align="center"><a href="http://ws.apache.org/ws-fx/pubscribe/"><img class="logoImage" alt="Pubscribe" src="images/pubscribe-logo.jpg" border="0"></a></h1>
 
-<p>Hello! <em>Welcome</em> to Apache-Pubscribe.</p>
+<p>Hello! <em>Welcome</em> to Apache Pubscribe.</p>
 
 <p>What do you want to do today?</p>
 
@@ -23,7 +22,7 @@
     <li><a href="fingerprint.jsp">View system info</a>
         the list of deployed jars</li>
     <li><a href="http://ws.apache.org/ws-fx/pubscribe">Visit</a>
-        the Apache-Pubscribe Home Page</li>
+        the Apache Pubscribe Home Page</li>
 </ul>
 
 If the validation page displays an exception instead of a