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/31 23:49:08 UTC

svn commit: r179290 - in /incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs: jpetstore.xml pageflow/netui-samples.xml pageflow/sample_jpf_jsf_integration.xml wsm/sample_AddressBookEnhanced.xml wsm/sample_AddressBookFromWSDL.xml

Author: steveh
Date: Tue May 31 14:49:07 2005
New Revision: 179290

URL: http://svn.apache.org/viewcvs?rev=179290&view=rev
Log:
Fix for BEEHIVE-774: Copy step should not be required for running samplesFix
(Integrating changes from v1/m1 branch.)

Modified:
    incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/jpetstore.xml
    incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/pageflow/netui-samples.xml
    incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/pageflow/sample_jpf_jsf_integration.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_AddressBookFromWSDL.xml

Modified: incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/jpetstore.xml
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/jpetstore.xml?rev=179290&r1=179289&r2=179290&view=diff
==============================================================================
--- incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/jpetstore.xml (original)
+++ incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/jpetstore.xml Tue May 31 14:49:07 2005
@@ -199,7 +199,7 @@
 					<a href="http://httpunit.sourceforge.net/">http://httpunit.sourceforge.net/</a></p></section>
 			<section id="copy_app">
 				<title>To Copy the Petstore Application to a Project 
-					Folder</title>
+					Folder (Optional Step)</title>
 				<p>To keep your Beehive distribution directory 
 					pristine, you should copy the folder 
 					<code>&lt;BeehiveRoot>/samples/petstoreWeb</code> to another location before 
@@ -214,6 +214,19 @@
 				<source>C:
   beehive_projects
     petstoreWeb</source>
+	<note>Strictly speaking, you do not need to copy the <code>petstoreWeb</code>
+		directory to another location.  If you wish to leave the <code>petstoreWeb</code> directory
+		in place, in the instructions below you must
+		replace occurrences of the path element <code>C:\beehive_projects</code>
+		with this path element: <code>&lt;BeehiveRoot>\samples</code>.
+		<br/><br/>
+		For example, to build the sample, run the following Ant command:
+		<br/><br/>
+		&nbsp;&nbsp;&nbsp;<code>ant -f &lt;BeehiveRoot>\samples\petstoreWeb\src\WEB-INF\build.xml clean  build war</code>
+		<br/><br/>
+		To delete the sample's build directory, run the <code>clean</code> target:
+		<br/><br/>
+		&nbsp;&nbsp;&nbsp;<code>ant -f &lt;BeehiveRoot>\samples\petstoreWeb\src\WEB-INF\build.xml clean</code></note>
 			</section>
 			<section id="edit_properties_file"><title>Edit the <code>build.properties</code> File</title>
 				<p>Edit the <code>build.properties</code> file--the file
@@ -246,7 +259,7 @@
 			<section id="compile">
 				<title>To Compile the Petstore Application</title>
 				<p>To compile the Petstore app, enter the following Ant command:</p>
-<source>ant clean build war
+<source>ant -f C:\beehive_projects\petstoreWeb\build.xml clean build war
 </source>
 <p>A WAR file named <code>petstoreWeb.war</code> will be created at <code>C:/beehive_projects/petstoreWeb/petstoreWeb.war</code>.</p>
 			</section>

Modified: incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/pageflow/netui-samples.xml
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/pageflow/netui-samples.xml?rev=179290&r1=179289&r2=179290&view=diff
==============================================================================
--- incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/pageflow/netui-samples.xml (original)
+++ incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/pageflow/netui-samples.xml Tue May 31 14:49:07 2005
@@ -37,7 +37,7 @@
 			</section>
 			<section id="copy_app">
 				<title>To Copy the Application to a Project 
-					Folder</title>
+					Folder (Optional Step)</title>
 				<p>To keep your Beehive distribution directory 
 					pristine, you should copy the 
 					<code>&lt;BeehiveRoot>/samples/netui-samples</code> folder to another location before 
@@ -52,6 +52,19 @@
 				<source>C:
   beehive_projects
     netui-samples</source>
+	<note>Strictly speaking, you do not need to copy the <code>netui-samples</code>
+		directory to another location.  If you wish to leave the <code>netui-samples</code> directory
+		in place, in the instructions below you must
+		replace occurrences of the path element <code>C:\beehive_projects</code>
+		with this path element: <code>&lt;BeehiveRoot>\samples</code>.
+		<br/><br/>
+		For example, to build the sample, run the following Ant command:
+		<br/><br/>
+		&nbsp;&nbsp;&nbsp;<code>ant -f &lt;BeehiveRoot>\samples\netui-samples\src\WEB-INF\build.xml clean  build war</code>
+		<br/><br/>
+		To delete the sample's build directory, run the <code>clean</code> target:
+		<br/><br/>
+		&nbsp;&nbsp;&nbsp;<code>ant -f &lt;BeehiveRoot>\samples\netui-samples\src\WEB-INF\build.xml clean</code></note>
 			</section>
 			<section id="edit_properties_file"><title>Edit the <code>build.properties</code> File</title>
 				<p>In this section you will edit the <code>build.properties</code> file--the file

Modified: incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/pageflow/sample_jpf_jsf_integration.xml
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/pageflow/sample_jpf_jsf_integration.xml?rev=179290&r1=179289&r2=179290&view=diff
==============================================================================
--- incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/pageflow/sample_jpf_jsf_integration.xml (original)
+++ incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/pageflow/sample_jpf_jsf_integration.xml Tue May 31 14:49:07 2005
@@ -35,7 +35,7 @@
 			</section>
 			<section id="copy_app">
 				<title>To Copy the Application to a Project 
-					Folder</title>
+					Folder (Optional Step)</title>
 				<p>To keep your Beehive distribution directory 
 					pristine, you should copy the folder
 					<code>&lt;BeehiveRoot>/samples/netui-jsf</code> to another location before 
@@ -50,6 +50,19 @@
 				<source>C:
   beehive_projects
     netui-jsf</source>
+	<note>Strictly speaking, you do not need to copy the <code>netui-jsf</code>
+		directory to another location.  If you wish to leave the <code>netui-jsf</code> directory
+		in place, in the instructions below you must
+		replace occurrences of the path element <code>C:\beehive_projects</code>
+		with this path element: <code>&lt;BeehiveRoot>\samples</code>.
+		<br/><br/>
+		For example, to build the sample, run the following Ant command:
+		<br/><br/>
+		&nbsp;&nbsp;&nbsp;<code>ant -f &lt;BeehiveRoot>\samples\netui-jsf\src\WEB-INF\build.xml clean  build war</code>
+		<br/><br/>
+		To delete the sample's build directory, run the <code>clean</code> target:
+		<br/><br/>
+		&nbsp;&nbsp;&nbsp;<code>ant -f &lt;BeehiveRoot>\samples\netui-jsf\src\WEB-INF\build.xml clean</code></note>
 			</section>
 			<section><title>To Download a JSF Implementation</title>
 				<p>Download and install one of the following JSF implementations:</p>

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=179290&r1=179289&r2=179290&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 Tue May 31 14:49:07 2005
@@ -62,7 +62,7 @@
 			<section id="setup_server">
 				<title>To Set up the Server</title>
 				<section id="copy_app">
-					<title>To Copy the Application to a Project Folder</title>
+					<title>To Copy the Application to a Project Folder (Optional Step)</title>
 					<p>To keep your Beehive distribution directory pristine, 
 						you should copy the application
 						 folders to 
@@ -78,6 +78,19 @@
 	
 				<note>&lt;BeehiveRoot> refers to the top-level directory of your Beehive installation.
 					A typical value for &lt;BeehiveRoot> would be <code>C:/apache/apache-beehive-1.0</code>. </note>
+	<note>Strictly speaking, you do not need to copy the <code>wsm-addressbook-enhanced</code>
+		directory to another location.  If you wish to leave the <code>wsm-addressbook-enhanced</code> directory
+		in place, in the instructions below you must
+		replace occurrences of the path element <code>C:\beehive_projects</code>
+		with this path element: <code>&lt;BeehiveRoot>\samples</code>.
+		<br/><br/>
+		For example, to build the sample, run the following Ant command:
+		<br/><br/>
+		&nbsp;&nbsp;&nbsp;<code>ant -f &lt;BeehiveRoot>\samples\wsm-addressbook-enhanced\src\WEB-INF\build.xml clean build</code>
+		<br/><br/>
+		To delete the sample's build directory, run the <code>clean</code> target:
+		<br/><br/>
+		&nbsp;&nbsp;&nbsp;<code>ant -f &lt;BeehiveRoot>\samples\wsm-addressbook-enhanced\src\WEB-INF\build.xml clean</code></note>
 				</section>
 			<section id="start_tomcat">
 				<title>To Start Tomcat</title>

Modified: incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/wsm/sample_AddressBookFromWSDL.xml
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/wsm/sample_AddressBookFromWSDL.xml?rev=179290&r1=179289&r2=179290&view=diff
==============================================================================
--- incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/wsm/sample_AddressBookFromWSDL.xml (original)
+++ incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/wsm/sample_AddressBookFromWSDL.xml Tue May 31 14:49:07 2005
@@ -53,7 +53,7 @@
 			<section id="setup_server">
 				<title>To Set up the Server</title>
 				<section id="copy_app">
-					<title>To Copy the Application to a Project Folder</title>
+					<title>To Copy the Application to a Project Folder (Optional Step)</title>
 					<p>To keep your Beehive distribution directory pristine, 
 						you should copy the application
 						 folder to 
@@ -68,6 +68,19 @@
     wsm-addressbook-fromWSDL</source>
 				<note>&lt;BeehiveRoot> refers to the top-level directory of your Beehive installation.
 					A typical value for &lt;BeehiveRoot> would be <code>C:/apache/apache-beehive-1.0</code>. </note>
+	<note>Strictly speaking, you do not need to copy the <code>wsm-addressbook-fromWSDL</code>
+		directory to another location.  If you wish to leave the <code>wsm-addressbook-fromWSDL</code> directory
+		in place, in the instructions below you must
+		replace occurrences of the path element <code>C:\beehive_projects</code>
+		with this path element: <code>&lt;BeehiveRoot>\samples</code>.
+		<br/><br/>
+		For example, to build a generated web service file, run the following Ant command:
+		<br/><br/>
+		&nbsp;&nbsp;&nbsp;<code>ant -f &lt;BeehiveRoot>\samples\wsm-addressbook-fromWSDL\src\WEB-INF\build.xml clean build war</code>
+		<br/><br/>
+		To delete the sample's build directory, run the <code>clean</code> target:
+		<br/><br/>
+		&nbsp;&nbsp;&nbsp;<code>ant -f &lt;BeehiveRoot>\samples\wsm-addressbook-fromWSDL\src\WEB-INF\build.xml clean</code></note>					
 				</section>
 			<section id="start_tomcat">
 				<title>To Start Tomcat</title>
@@ -92,8 +105,8 @@
 					For example, if the WSDL contains an operation named "fooOperation" that takes an integer request
 					 and responds with a string, then the following method will be generated:</p>
 					 <source>String fooOperation(int n)
-						{
-						}</source>
+{
+}</source>
 					<p>Place the selected WSDL in the following directory.</p>
 					<source>wsm-addressbook-fromWSDL/WEB-INF/wsdl/</source>
 					<p>The directory already contains a sample WSDL for the AddressBook web service.