You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beehive.apache.org by st...@apache.org on 2005/05/13 20:31:03 UTC

svn commit: r170066 - in /incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs: pageflow/tutorial_pageflow.xml wsm/tutorial_wsm.xml

Author: steveh
Date: Fri May 13 11:31:02 2005
New Revision: 170066

URL: http://svn.apache.org/viewcvs?rev=170066&view=rev
Log:
Fix for BEEHIVE-83: WSM tutorial needs to be updated

Modified:
    incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/pageflow/tutorial_pageflow.xml
    incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/wsm/tutorial_wsm.xml

Modified: incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/pageflow/tutorial_pageflow.xml
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/pageflow/tutorial_pageflow.xml?rev=170066&r1=170065&r2=170066&view=diff
==============================================================================
--- incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/pageflow/tutorial_pageflow.xml (original)
+++ incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/pageflow/tutorial_pageflow.xml Fri May 13 11:31:02 2005
@@ -215,15 +215,15 @@
             <section id="compile_2">
                 <title>To Compile and Deploy the Page Flow</title>
                 <p>You are now ready to compile the Page Flow and deploy it to Tomcat.</p>
-                <p>At the command prompt, change to the directory c:\beehive_projects\pageflow_tutorial\WEB-INF\src.</p>
-                <p>To build the web application, enter:</p>
-<source>ant 
+                <p>At the command prompt, enter:</p>
+<source>ant
+  -f C:\beehive_projects\pageflow_tutorial\WEB-INF\src\build.xml
   clean
   build
   war
 
 <strong>Copy and Paste version:</strong>
-ant clean build war
+ant -f C:\beehive_projects\pageflow_tutorial\WEB-INF\src\build.xml clean build war
 </source>
 <p>To deploy the application to Tomcat, copy the WAR file into Tomcat's <code>webapps</code> directory.</p>
 <source>copy C:\beehive_projects\pageflow_tutorial.war %CATALINA_HOME%\webapps</source>

Modified: incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/wsm/tutorial_wsm.xml
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/wsm/tutorial_wsm.xml?rev=170066&r1=170065&r2=170066&view=diff
==============================================================================
--- incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/wsm/tutorial_wsm.xml (original)
+++ incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/wsm/tutorial_wsm.xml Fri May 13 11:31:02 2005
@@ -118,7 +118,7 @@
     @WebService
     @WebMethod
 </source>
-<p><code>@WebService</code>, <code>@WebMethod</code>, and <code>@WebParam</code> are "metadata annotations", a.k.a. "annotations".  
+<p><code>@WebService</code> and <code>@WebMethod</code> are "metadata annotations", a.k.a. "annotations".  
 	Annotations allow you to set properties on Java classes and methods.  They can be used to generate 
 	compile-time artifacts such as configuration files or Java classes (this is how many Beehive Control 
 	annotations work) or to determine some runtime behavior (this is how Beehive Web Service annotations 
@@ -284,8 +284,7 @@
 public class Blank
 {
     @WebMethod
-    public String sayHelloWorld(@WebParam(name="name",header=true) String s)
-    {
+    public String sayHelloWorld(String s){
         return "Hello world, " + s + "!";
     }