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/17 00:04:33 UTC

svn commit: r170476 - in /incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs: pageflow/tutorial_pageflow.xml system-controls/webservices/sample-ws-control-blank.xml wsm/sample_AddressBookEnhanced.xml wsm/sample_wsm-blank.xml wsm/tutorial_wsm.xml

Author: steveh
Date: Mon May 16 15:04:33 2005
New Revision: 170476

URL: http://svn.apache.org/viewcvs?rev=170476&view=rev
Log:
Reviewing the samples and tutorials after the switch to universal .java file extensions.

Modified:
    incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/pageflow/tutorial_pageflow.xml
    incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/system-controls/webservices/sample-ws-control-blank.xml
    incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/wsm/sample_AddressBookEnhanced.xml
    incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/wsm/sample_wsm-blank.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=170476&r1=170475&r2=170476&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 Mon May 16 15:04:33 2005
@@ -102,7 +102,7 @@
                 <p>
 			In this step you will create a Controller file and a JSP page.  These are the basic files in 
 			a Beehive Page Flow web application.  Each Page Flow contains one Controller file and any 
-			number of JSP pages. A Controller file is a Java class (with the JPF file extension) that 
+			number of JSP pages. A Controller file is a Java class that 
 			controls how your web application functions and what it does. The methods in the 
 			Controller 
 			file determine all of the major features of a web application: how users navigate from page 
@@ -228,7 +228,7 @@
 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>
+<source>copy C:\beehive_projects\pageflow_tutorial.war %CATALINA_HOME%\webapps /Y</source>
 			</section>
             <section id="test_2">
                 <title>To Test the Page Flow Web Application</title>

Modified: incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/system-controls/webservices/sample-ws-control-blank.xml
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/system-controls/webservices/sample-ws-control-blank.xml?rev=170476&r1=170475&r2=170476&view=diff
==============================================================================
--- incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/system-controls/webservices/sample-ws-control-blank.xml (original)
+++ incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/system-controls/webservices/sample-ws-control-blank.xml Mon May 16 15:04:33 2005
@@ -23,6 +23,8 @@
 				control.  The build generates the types used by the web service
 				along with the control interfaces and compiles them into a JAR file.
 				The final service control JAR is saved in the build directory.</p>
+			<note>Before running the <code>ant build</code> target, don't forget to edit the
+				<code>build.properties</code> file.</note>
 			<p>The controls-webservice-blank sample contains the WSDL file for the 
 				<a href="site:address-enhanced">EnhancedAddressBookWS</a> sample, but the web service 
 				doesn't need to be running to 

Modified: incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/wsm/sample_AddressBookEnhanced.xml
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/wsm/sample_AddressBookEnhanced.xml?rev=170476&r1=170475&r2=170476&view=diff
==============================================================================
--- incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/wsm/sample_AddressBookEnhanced.xml (original)
+++ incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/wsm/sample_AddressBookEnhanced.xml Mon May 16 15:04:33 2005
@@ -68,7 +68,7 @@
 						 folders to 
 						another location before proceeding. The following 
 						instructions assume that you have copied the folder</p> 
-	<source>&lt;BeehiveRoot>/samples/wsm-addressbook</source>					 
+	<source>&lt;BeehiveRoot>/samples/wsm-addressbook-enhanced</source>					 
 <p>					 into the directory 
 						<code>C:/beehive_projects</code>, resulting in the 
 						following directory structure.</p>
@@ -110,11 +110,10 @@
   -f C:\beehive_projects\wsm-addressbook-enhanced\WEB-INF\src\build.xml 
   clean 
   build 
-  deploy
 
 <strong>Copy and paste version:</strong>
 
-ant -f C:\beehive_projects\wsm-addressbook-enhanced\WEB-INF\src\build.xml clean build deploy</source>
+ant -f C:\beehive_projects\wsm-addressbook-enhanced\WEB-INF\src\build.xml clean build</source>
 <p>The command above creates a WAR file named <code>EnhancedAddressBookWS.war</code> and saves it
 	at C:\beehive_projects.</p>
 <p>To deploy the app to Tomcat, run the following command:</p>

Modified: incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/wsm/sample_wsm-blank.xml
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/wsm/sample_wsm-blank.xml?rev=170476&r1=170475&r2=170476&view=diff
==============================================================================
--- incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/wsm/sample_wsm-blank.xml (original)
+++ incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/wsm/sample_wsm-blank.xml Mon May 16 15:04:33 2005
@@ -55,9 +55,13 @@
 	<code>build.properties</code> file.</note>
 <note>The value of &lt;SomeContext> will determine (1) the name of the WAR file 
 	produced when the web service is compiled and the (2) part of the URL used by Tomcat to
-	access the web service.</note>  
-		<p>The WAR file will be named <code>&lt;SomeContext>WS.war</code></p>
-		<p>The URL will be <code>http://localhost:8080/&lt;SomeContext>WS/</code></p>
+	access the web service.
+	
+<br/><br/>The WAR file will be named <code>&lt;SomeContext>WS.war</code>
+		<br/><br/>The URL will be <code>http://localhost:8080/&lt;SomeContext>WS/</code>
+	
+	</note>  
+
 					</section>			
 			<section><title>Build and Deploy the Template Web App</title>
 				<p>To build the template web service, run the following Ant command.
@@ -65,13 +69,13 @@
 					The WAR file will be saved to the parent directory of <code>&lt;Project-Folder</code>.
 					Assume that this parent directory is named <code>C:/webDevelopementDirectory</code>.)</p>
 <source>ant 
-  -f &lt;Project-Folder>WEB-INF\build.xml 
+  -f &lt;Project-Folder>WEB-INF\src\build.xml 
   clean 
   build 
-  deploy
-
+  war
+  
 <strong>Copy and Paste version:</strong>
-ant -f &lt;Project-Folder>\WEB-INF\build.xml clean build deploy</source>
+ant -f &lt;Project-Folder>\WEB-INF\src\build.xml clean build war</source>
 	<p>To deploy the web application copy the application's WAR file to Tomcat's <code>webapps</code> dir.</p>
 	<source>copy C:\webDevelopementDirectory\&lt;SomeContext>WS.war %CATALINA_HOME%\webapps</source>
 </section>
@@ -80,7 +84,7 @@
 				<p>You can now try out the web service by pointing your browser at 
 					the following link.</p>
 				<ul>
-					<li>Run the controller file's begin() method:
+					<li>
 						http://localhost:8080/<strong>&lt;SomeContext>WS</strong>/</li>
 				</ul>
 			</section>

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=170476&r1=170475&r2=170476&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 Mon May 16 15:04:33 2005
@@ -87,7 +87,7 @@
                 <p>You are now ready to compile and run the template web service already included
 					in the project folder--but before we run the web service, let's first look at the code.</p>
                 <p>In a text editor of your choice, 
-					open the file <code>C:/beehive_projects/ws_tutorial/WEB-INF/src/web/Blank.java</code>.  
+					open the file <code>C:/beehive_projects/ws_tutorial/WEB-INF/src-ws/web/Blank.java</code>.  
 					</p>
 					<p>The code looks like this:</p>
                 <source>package web;
@@ -131,10 +131,10 @@
   -f C:\beehive_projects\ws_tutorial\WEB-INF\src\build.xml
   clean 
   build 
-  deploy
+  war
 
 <strong>Copy and Paste version:</strong>
-ant -f C:\beehive_projects\ws_tutorial\WEB-INF\src\build.xml clean build deploy</source>
+ant -f C:\beehive_projects\ws_tutorial\WEB-INF\src\build.xml clean build war</source>
 <note>The 'deploy' target builds a WAR file named tutorialWS.war and saves it at C:/beehive_projects.</note>
 <p>To copy the WAR file to the Tomcat server, enter the following command:</p>
 	<source>copy C:\beehive_projects\tutorialWS.war %CATALINA_HOME%\webapps /Y</source>