You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beehive.apache.org by ri...@apache.org on 2005/08/24 00:17:43 UTC
svn commit: r239467 - in
/beehive/trunk/docs/forrest/release/src/documentation/content/xdocs: ./
controls/ pageflow/ samples/ wsm/
Author: rich
Date: Tue Aug 23 15:17:17 2005
New Revision: 239467
URL: http://svn.apache.org/viewcvs?rev=239467&view=rev
Log:
Got rid of Windows-specific directory names throughout the docs. Split out Windows- and non-Windows-specific steps where necessary.
tests: validate in docs/forrest/release (WinXP)
BB: self (linux)
Modified:
beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/controls/sample_controls-blank.xml
beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/controls/tutorial_controls.xml
beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/pageflow/netui-samples.xml
beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/pageflow/pageflow_building.xml
beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/pageflow/pageflow_jsp.xml
beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/pageflow/sample_jpf_jsf_integration.xml
beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/pageflow/sample_netui-blank.xml
beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/pageflow/tutorial_pageflow.xml
beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/samples/jpetstore.xml
beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/setup.xml
beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/site.xml
beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/wsm/sample_AddressBook.xml
beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/wsm/sample_AddressBookEnhanced.xml
beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/wsm/sample_AddressBookFromWSDL.xml
beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/wsm/sample_wsm-blank.xml
beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/wsm/sample_wsmAnnoSamples.xml
Modified: beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/controls/sample_controls-blank.xml
URL: http://svn.apache.org/viewcvs/beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/controls/sample_controls-blank.xml?rev=239467&r1=239466&r2=239467&view=diff
==============================================================================
--- beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/controls/sample_controls-blank.xml (original)
+++ beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/controls/sample_controls-blank.xml Tue Aug 23 15:17:17 2005
@@ -14,7 +14,7 @@
</p>
<note><BeehiveRoot> refers to the top-level directory of your Beehive installation.
- A typical value for <BeehiveRoot> would be <code>C:/apache/apache-beehive-1.0</code>. </note>
+ A typical value for <BeehiveRoot> would be <code>/apache/apache-beehive-1.0</code>. </note>
<p>The template contains a basic 'Hello World' control to get you started. Control projects can be
archived in a JAR file and then imported into multiple applications. Simply import the JAR archive
into the application's WEB-INF/lib directory. </p>
@@ -32,11 +32,11 @@
edit the <code>beehive.home</code> property so it points to
<code><BeehiveRoot></code> (the top-level folder of your
beehive installation). For example, if your beehive installation
- resides at <code>C:/apache/apache-beehive-1.0</code>, then your <code>build.properties</code> file
+ resides at <code>/apache/apache-beehive-1.0</code>, then your <code>build.properties</code> file
would appear as follows.</p>
<p><strong>build.properties</strong></p>
- <source>beehive.home=<strong>C:/apache/apache-beehive-1.0</strong></source>
+ <source>beehive.home=<strong>/apache/apache-beehive-1.0</strong></source>
<p>An Ant build file is included
in the template, which will compile your control project into a distributable JAR
file. After you have copied the contents of
Modified: beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/controls/tutorial_controls.xml
URL: http://svn.apache.org/viewcvs/beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/controls/tutorial_controls.xml?rev=239467&r1=239466&r2=239467&view=diff
==============================================================================
--- beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/controls/tutorial_controls.xml (original)
+++ beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/controls/tutorial_controls.xml Tue Aug 23 15:17:17 2005
@@ -38,22 +38,22 @@
tutorial's project, we'll copy and then rename the <a href="site:netui-blank">netui-blank</a> project using these steps:
</p>
<ol>
- <li>On your C: drive, create a directory named <code>beehive_projects</code>.</li>
+ <li>Create a directory <code>/beehive_projects</code> (on Windows, this would be <code>C:\beehive_projects</code>).</li>
<li>Copy the folder <code><BeehiveDistribution>/samples/netui-blank</code> into
- <code>C:/beehive_projects</code> where <code><BeehiveDistribution></code> is the directory that contains your
- unzipped copy of a Beehive distribution. A typical value might be <code>C:/apache/apache-beehive-1.0</code>.)</li>
- <li>Rename the folder <code>C:\beehive_projects\</code><strong><code>netui-blank</code></strong> to
- <code>C:\beehive_projects\</code><strong><code>controls_tutorial</code></strong></li>
+ <code>/beehive_projects</code> where <code><BeehiveDistribution></code> is the directory that contains your
+ unzipped copy of a Beehive distribution. A typical value might be <code>/apache/apache-beehive-1.0</code>.)</li>
+ <li>Rename the folder <code>/beehive_projects/</code><strong><code>netui-blank</code></strong> to
+ <code>/beehive_projects/</code><strong><code>controls_tutorial</code></strong></li>
<li>Before continuing, confirm that the following directory structure exists:</li>
</ol>
<source>
-c:\
- beehive_projects\
- controls_tutorial\
+/
+ beehive_projects/
+ controls_tutorial/
Controller.java
index.jsp
- resources\
- WEB-INF\
+ resources/
+ WEB-INF/
</source>
<p>
Note, this directory structure is just an example; you are free to put the <code>controls_tutorial</code>
@@ -85,10 +85,10 @@
<br/><br/>
<code>http://someapplicationserver/</code><strong><code>fooWebApp</code></strong>
</note>
- <p>For example, if your Beehive distribution is located in <code>C:/apache/apache-beehive-1.0</code>,
+ <p>For example, if your Beehive distribution is located in <code>/apache/apache-beehive-1.0</code>,
then your <code>build.properties</code> file would appear as follows.</p>
<source>
-beehive.home=<strong>C:/apache/apache-beehive-1.0</strong>
+beehive.home=<strong>/apache/apache-beehive-1.0</strong>
servlet-api.jar=${os.CATALINA_HOME}/common/lib/servlet-api.jar
jsp-api.jar=${os.CATALINA_HOME}/common/lib/jsp-api.jar
@@ -144,7 +144,7 @@
listed in the interface file.</p>
</section>
<section id="create-examine"><title>Examine the Control Files</title>
- <p>Open the file <code>C:/beehive_projects/control_tutorial/WEB-INF/src/pkg/HelloImpl.java</code>.</p>
+ <p>Open the file <code>/beehive_projects/control_tutorial/WEB-INF/src/pkg/HelloImpl.java</code>.</p>
<p>The implementation file appears as follows. (There is no need to edit the file at
this point in the tutorial.)</p>
<source>
@@ -226,7 +226,7 @@
</section>
<section id="create_edit_page">
<title>Edit the index.jsp Test Page</title>
- <p>Edit the file <code>C:/beehive_projects/control_tutorial/index.jsp</code> to appear as follows; changes are shown in <strong>bold</strong>:</p>
+ <p>Edit the file <code>/beehive_projects/control_tutorial/index.jsp</code> to appear as follows; changes are shown in <strong>bold</strong>:</p>
<source>
<%@ page language="java" contentType="text/html;charset=UTF-8"%>
<%@ taglib uri="http://beehive.apache.org/netui/tags-databinding-1.0" prefix="netui-data"%>
@@ -258,8 +258,13 @@
This will build the webapp by running the Beehive annotation processors and will produce class files in <code>WEB-INF/classes</code>.
Now, the application is ready to deploy to your server. On Tomcat, copy the WAR file into Tomcat's <code>$CATALINA_HOME/webapps</code>
directory.</p>
+ <p>On Windows:</p>
<source>
copy controls_tutorial.war %CATALINA_HOME%\webapps /Y
+ </source>
+ <p>Everywhere else:</p>
+ <source>
+ cp controls_tutorial.war $CATALINA_HOME/webapps
</source>
<p>If you are asked to overwrite the old WAR file, enter 'yes'. Note, when doing redeployment, you may have to wait a few seconds
for Tomcat to redeploy the WAR file. Once deployment or redeployment has completed, the webapp can be accessed through a browser.</p>
Modified: beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/pageflow/netui-samples.xml
URL: http://svn.apache.org/viewcvs/beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/pageflow/netui-samples.xml?rev=239467&r1=239466&r2=239467&view=diff
==============================================================================
--- beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/pageflow/netui-samples.xml (original)
+++ beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/pageflow/netui-samples.xml Tue Aug 23 15:17:17 2005
@@ -44,38 +44,38 @@
proceeding.</p>
<note><BeehiveRoot> refers to the top-level directory of your Beehive installation.
- A typical value for <BeehiveRoot> would be <code>C:/apache/apache-beehive-1.0</code>. </note>
+ A typical value for <BeehiveRoot> would be <code>/apache/apache-beehive-1.0</code>. </note>
<p>The following instructions assume that you have
copied the folder <code>netui-samples</code> into the
- directory <code>C:/beehive_projects</code>,
+ directory <code>/beehive_projects</code>,
resulting in the following directory structure.</p>
- <source>C:
+ <source>/
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><BeehiveRoot>\samples</code>.
+ replace occurrences of the path element <code>/beehive_projects</code>
+ with this path element: <code><BeehiveRoot>/samples</code>.
<br/><br/>
For example, to build the sample, run the following Ant command:
<br/><br/>
- <code>ant -f <BeehiveRoot>\samples\netui-samples\src\WEB-INF\build.xml clean build war</code>
+ <code>ant -f <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/>
- <code>ant -f <BeehiveRoot>\samples\netui-samples\src\WEB-INF\build.xml clean</code></note>
+ <code>ant -f <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
that sets the build-related properties for your web application.</p>
- <p>Open the file <code>C:/beehive_projects/netui-samples/WEB-INF/src/build.properties</code>
+ <p>Open the file <code>/beehive_projects/netui-samples/WEB-INF/src/build.properties</code>
in a text editor.</p>
<p>Edit the file so that the <code>beehive.home</code> property points to the
top-level folder of your beehive installation. For example, if your beehive installation
- resides at <code>C:/apache/apache-beehive-1.0</code>, then your <code>build.properties</code> file
+ resides at <code>/apache/apache-beehive-1.0</code>, then your <code>build.properties</code> file
would appear as follows.</p>
- <source>beehive.home=<strong>C:/apache/apache-beehive-1.0</strong>
+ <source>beehive.home=<strong>/apache/apache-beehive-1.0</strong>
servlet-api.jar=${os.CATALINA_HOME}/common/lib/servlet-api.jar
jsp-api.jar=${os.CATALINA_HOME}/common/lib/jsp-api.jar
@@ -90,24 +90,29 @@
<p>To compile the page flow samples app, enter the following Ant
command:</p>
<source>ant
- -f C:\beehive_projects\netui-samples\WEB-INF\src\build.xml
+ -f /beehive_projects/netui-samples/WEB-INF/src/build.xml
clean
build
war
<strong>Copy and Paste version:</strong>
-ant -f C:\beehive_projects\netui-samples\WEB-INF\src\build.xml clean build war</source>
+ant -f /beehive_projects/netui-samples/WEB-INF/src/build.xml clean build war</source>
</section>
<section id="start_tomcat">
<title>To Start Tomcat</title>
<p>To start Tomcat, run the following command:</p>
<source>%CATALINA_HOME%\bin\startup.bat</source>
+ <p>Or, on non-Windows systems,</p>
+ <source>$CATALINA_HOME/bin/startup.sh</source>
</section>
<section id="deploy">
<title>To Deploy to Tomcat</title>
<p>To deploy the samples, copy the WAR file to Tomcat's <code>webapps</code> directory.</p>
+ <p>On Windows:</p>
<source>copy C:\beehive_projects\netui-samples.war %CATALINA_HOME%\webapps /Y</source>
+ <p>Everywhere else:</p>
+ <source>cp /beehive_projects/netui-samples.war $CATALINA_HOME/webapps</source>
</section>
<section id="test">
<title>Running</title>
@@ -122,4 +127,4 @@
Sun Microsystems, Inc. in the United States and other
countries.<br/> © 2004, Apache Software Foundation </legal>
</footer>
-</document>
\ No newline at end of file
+</document>
Modified: beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/pageflow/pageflow_building.xml
URL: http://svn.apache.org/viewcvs/beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/pageflow/pageflow_building.xml?rev=239467&r1=239466&r2=239467&view=diff
==============================================================================
--- beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/pageflow/pageflow_building.xml (original)
+++ beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/pageflow/pageflow_building.xml Tue Aug 23 15:17:17 2005
@@ -109,53 +109,23 @@
<th>Version</th>
</tr>
<tr>
- <td>XMLBeans</td>
- <td>apache-xbean.jar</td>
- <td>2.0.0</td>
- </tr>
- <tr>
- <td>Axis</td>
- <td>axis.jar</td>
- <td>1.2RC2</td>
- </tr>
- <tr>
- <td>Axis</td>
- <td>axis-ant.jar</td>
- <td>1.2RC2</td>
- </tr>
- <tr>
- <td>Beehive NetUI</td>
- <td>beehive-netui-pageflow.jar</td>
- <td><em>distribution</em></td>
- </tr>
- <tr>
- <td>Beehive NetUI</td>
- <td>beehive-netuid-scoping.jar</td>
- <td><em>distribution</em></td>
- </tr>
- <tr>
- <td>Beehive NetUI</td>
- <td>beehive-netui-tags-databinding.jar</td>
- <td><em>distribution</em></td>
- </tr>
- <tr>
- <td>Beehive NetUI</td>
- <td>beehive-netui-tags-html.jar</td>
+ <td>Beehive Controls</td>
+ <td>beehive-controls.jar</td>
<td><em>distribution</em></td>
</tr>
<tr>
<td>Beehive NetUI</td>
- <td>beehive-netui-tags-template.jar</td>
+ <td>beehive-netui-core.jar</td>
<td><em>distribution</em></td>
</tr>
<tr>
<td>Beehive NetUI</td>
- <td>beehive-netui-util.jar</td>
+ <td>beehive-netui-tags.jar</td>
<td><em>distribution</em></td>
</tr>
<tr>
<td>Jakarta Commons Bean Utils</td>
- <td>commons-beanutils</td>
+ <td>commons-beanutils.jar</td>
<td>1.6</td>
</tr>
<tr>
@@ -171,7 +141,7 @@
<tr>
<td>Jakarta Commons Digester</td>
<td>commons-digester.jar</td>
- <td>1.5</td>
+ <td>1.6</td>
</tr>
<tr>
<td>Jakarta Commons Discovery</td>
@@ -184,34 +154,24 @@
<td>1.0</td>
</tr>
<tr>
- <td>Jakarta Commons Servlet File Upload</td>
+ <td>Jakarta Commons File Upload</td>
<td>commons-fileupload.jar</td>
<td>1.0</td>
</tr>
<tr>
<td>Jakarta Commons Logging</td>
<td>commons-logging.jar</td>
- <td>1.0.3</td>
- </tr>
- <tr>
- <td>Jakarta Commons Validator</td>
- <td>commons-validator.jar</td>
- <td>1.1.3</td>
- </tr>
- <tr>
- <td>Beehive Controls</td>
- <td>beehive-controls.jar</td>
- <td><em>distribution</em></td>
+ <td>1.0.4</td>
</tr>
<tr>
<td>Jakarta Commons ORO (Text Processing)</td>
<td>jakarta-oro.jar</td>
- <td>2.0.8</td>
+ <td>2.0.7</td>
</tr>
<tr>
- <td>JAX RPC</td>
- <td>jaxrpc.jar</td>
- <td>1.1</td>
+ <td>Jakarta Commons Validator</td>
+ <td>commons-validator.jar</td>
+ <td>1.1.4</td>
</tr>
<tr>
<td>JSR 173 (Streaming API for XML)</td>
@@ -224,54 +184,24 @@
<td>1.1.0-D13</td>
</tr>
<tr>
- <td>Log4J</td>
- <td>log4j-1.2.8.jar</td>
- <td>1.2.8</td>
- </tr>
- <tr>
- <td>SAAJ</td>
- <td>saaj.jar</td>
- <td>1.2</td>
- </tr>
- <tr>
<td>JSTL</td>
<td>standard.jar</td>
<td>1.1.0-D13</td>
</tr>
<tr>
- <td>Struts</td>
- <td>struts.jar</td>
- <td>1.2.4</td>
- </tr>
- <tr>
- <td>Velocity</td>
- <td>velocity-1.4.jar</td>
- <td>1.4</td>
- </tr>
- <tr>
- <td>Velocity</td>
- <td>velocity-dep-1.4.jar</td>
- <td>1.4</td>
- </tr>
- <tr>
- <td>WSDL4J</td>
- <td>wsdl4j.jar</td>
- <td>1.5</td>
- </tr>
- <tr>
- <td>Beehive Web Services</td>
- <td>beehive-wsdltypes.jar</td>
- <td><em>distribution</em></td>
+ <td>Log4J</td>
+ <td>log4j-1.2.8.jar</td>
+ <td>1.2.8</td>
</tr>
<tr>
- <td>Beehive Web Services</td>
- <td>beehive-wsm-axis.jar</td>
- <td><em>distribution</em></td>
+ <td>Struts</td>
+ <td>struts.jar</td>
+ <td>1.2.7</td>
</tr>
<tr>
- <td>Beehive Web Services</td>
- <td>beehive-wsm.jar</td>
- <td><em>distribution</em></td>
+ <td>XMLBeans</td>
+ <td>apache-xbean.jar</td>
+ <td>2.0.0</td>
</tr>
</table>
@@ -304,7 +234,7 @@
<p><strong>build.properties</strong></p>
<source>
-beehive.home=C:/apache/apache-beehive-1.0
+beehive.home=/apache/apache-beehive-1.0
servlet-api.jar=${os.CATALINA_HOME}/common/lib/servlet-api.jar
jsp-api.jar=${os.CATALINA_HOME}/common/lib/jsp-api.jar
context.path=contextPath</source>
@@ -394,6 +324,13 @@
<li><a href="site:pageflow_altering">Altering a Page Flow</a></li>
</ul>
</section>
+
+ <section>
+ <title>[TODO]</title>
+ <source>
+
+ </source>
+ </section>
</body>
<footer>
Modified: beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/pageflow/pageflow_jsp.xml
URL: http://svn.apache.org/viewcvs/beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/pageflow/pageflow_jsp.xml?rev=239467&r1=239466&r2=239467&view=diff
==============================================================================
--- beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/pageflow/pageflow_jsp.xml (original)
+++ beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/pageflow/pageflow_jsp.xml Tue Aug 23 15:17:17 2005
@@ -260,11 +260,11 @@
<title>Next...</title>
<p>
- Next, learn about how to compile and package up a complete web-app.
+ Next, learn about how to compile and package up a complete web project.
</p>
<ul>
- <li><a href="site:pageflow_building">Building a Page Flow Web-App</a></li>
+ <li><a href="site:pageflow_building">Building a Page Flow Web Project</a></li>
</ul>
</section>
Modified: beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/pageflow/sample_jpf_jsf_integration.xml
URL: http://svn.apache.org/viewcvs/beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/pageflow/sample_jpf_jsf_integration.xml?rev=239467&r1=239466&r2=239467&view=diff
==============================================================================
--- beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/pageflow/sample_jpf_jsf_integration.xml (original)
+++ beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/pageflow/sample_jpf_jsf_integration.xml Tue Aug 23 15:17:17 2005
@@ -42,27 +42,27 @@
proceeding.</p>
<note><BeehiveRoot> refers to the top-level directory of your Beehive installation.
- A typical value for <BeehiveRoot> would be <code>C:/apache/apache-beehive-1.0</code>. </note>
+ A typical value for <BeehiveRoot> would be <code>/apache/apache-beehive-1.0</code>. </note>
<p>The following instructions assume that you have
copied the folder <code>netui-jsf</code> into the
- directory <code>C:/beehive_projects</code>,
+ directory <code>/beehive_projects</code>,
resulting in the following directory structure.</p>
- <source>C:
+ <source>/
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><BeehiveRoot>\samples</code>.
+ replace occurrences of the path element <code>/beehive_projects</code>
+ with this path element: <code><BeehiveRoot>/samples</code>.
<br/><br/>
For example, to build the sample, run the following Ant command:
<br/><br/>
- <code>ant -f <BeehiveRoot>\samples\netui-jsf\src\WEB-INF\build.xml clean build war</code>
+ <code>ant -f <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/>
- <code>ant -f <BeehiveRoot>\samples\netui-jsf\src\WEB-INF\build.xml clean</code></note>
+ <code>ant -f <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>
@@ -74,18 +74,18 @@
<section id="edit_properties_file"><title>To Edit the <code>build.properties</code> File</title>
<p>In this section you will edit the <code>build.properties</code> file--the file
that sets the build-related properties for your web application.</p>
- <p>Open the file <code>C:/beehive_projects/netui-jsf/WEB-INF/src/build.properties</code>
+ <p>Open the file <code>/beehive_projects/netui-jsf/WEB-INF/src/build.properties</code>
in a text editor.</p>
<p>Edit the file so that the <code>beehive.home</code> property points to the
top-level folder of your beehive installation.</p>
<p>Also uncomment one of the properties <code>myfaces.dir</code> or <code>jsf-ri.dir</code>.
Point the uncommented property at the appropriate directory.</p>
<p>For example, if your beehive installation
- resides at <code>C:/apache/apache-beehive-1.0</code>
+ resides at <code>/apache/apache-beehive-1.0</code>
and you have installed the JSF Reference Implementation,
then your <code>build.properties</code> file
would appear as follows.</p>
- <source>beehive.home=<strong>C:/apache/apache-beehive-1.0</strong>
+ <source>beehive.home=<strong>/apache/apache-beehive-1.0</strong>
servlet-api.jar=${os.CATALINA_HOME}/common/lib/servlet-api.jar
jsp-api.jar=${os.CATALINA_HOME}/common/lib/jsp-api.jar
@@ -100,7 +100,7 @@
# TODO:
# If using the JavaServer Faces Reference Implementation, uncomment the 'jsf-ri.dir' property and
# set it to a directory that contains jsf-api.jar and jsf-impl.jar (JSF RI v1.1_01).
-<strong>jsf-ri.dir=C:/java/jsf-1_1_01/lib</strong></source>
+<strong>jsf-ri.dir=/java/jsf-1_1_01/lib</strong></source>
<note>Windows users must use forwardslashes (/) not backslashes (\) in the
<code>build.properties</code> file.</note>
@@ -111,38 +111,43 @@
<p>If you are using the JSF Reference Implementation, enter the following Ant
command:</p>
<source>ant
- -f C:\beehive_projects\netui-jsf\WEB-INF\src\build.xml
+ -f /beehive_projects/netui-jsf/WEB-INF/src/build.xml
clean
build-jsf-ri
war
<strong>Copy and Paste version:</strong>
-ant -f C:\beehive_projects\netui-jsf\WEB-INF\src\build.xml clean build-jsf-ri war</source>
+ant -f /beehive_projects/netui-jsf/WEB-INF/src/build.xml clean build-jsf-ri war</source>
<section><title>...If Using MyFaces</title>
<p>If you are using MyFaces, enter the following Ant
command:</p>
<source>ant
- -f C:\beehive_projects\netui-jsf\WEB-INF\src\build.xml
+ -f /beehive_projects/netui-jsf/WEB-INF/src/build.xml
clean
build-myfaces
war
<strong>Copy and Paste version:</strong>
-ant -f C:\beehive_projects\netui-jsf\WEB-INF\src\build.xml clean build-myfaces war</source>
+ant -f /beehive_projects/netui-jsf/WEB-INF/src/build.xml clean build-myfaces war</source>
</section>
<p>Both of these targets build a WAR file and save it to:</p>
- <source>C:/beehive_projects/netui-jsf.war</source>
+ <source>/beehive_projects/netui-jsf.war</source>
</section>
<section id="start_tomcat">
<title>To Start Tomcat</title>
<p>To start Tomcat, run the following command:</p>
<source>%CATALINA_HOME%\bin\startup.bat</source>
+ <p>On non-Windows systems:</p>
+ <source>$CATALINA_HOME/bin/startup.sh</source>
</section>
<section id="deploy">
<title>To Deploy to Tomcat</title>
<p>To deploy the samples, copy the WAR file to Tomcat's <code>webapps</code> directory.</p>
+ <p>On Windows:</p>
<source>copy C:\beehive_projects\netui-jsf.war %CATALINA_HOME%\webapps /Y</source>
+ <p>Everywhere else:</p>
+ <source>cp /beehive_projects/netui-jsf.war $CATALINA_HOME/webapps</source>
</section>
<section id="test">
<title>Running</title>
Modified: beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/pageflow/sample_netui-blank.xml
URL: http://svn.apache.org/viewcvs/beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/pageflow/sample_netui-blank.xml?rev=239467&r1=239466&r2=239467&view=diff
==============================================================================
--- beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/pageflow/sample_netui-blank.xml (original)
+++ beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/pageflow/sample_netui-blank.xml Tue Aug 23 15:17:17 2005
@@ -13,7 +13,7 @@
starting point for building your own Page Flow applications.</p>
<note><BeehiveRoot> refers to the top-level directory of your Beehive installation.
- A typical value for <BeehiveRoot> would be <code>C:/apache/apache-beehive-1.0</code>. </note>
+ A typical value for <BeehiveRoot> would be <code>/apache/apache-beehive-1.0</code>. </note>
<p>The template contains everything needed in a basic Page Flow
application, except for the runtime and <netui> tag library
JAR files. This topic explains how to add those JAR files and
@@ -32,17 +32,17 @@
development directory. </p>
<p>Below we assume that you have copied <code>netui-blank</code> into the
- folder <strong><code>C:/myDevelopmentDirectory</code></strong>.</p>
- <source>C:/myDevelopmentDirectory/netui-blank</source>
+ folder <strong><code>/myDevelopmentDirectory</code></strong>.</p>
+ <source>/myDevelopmentDirectory/netui-blank</source>
<p>Rename <code>netui-blank</code> to something more
appropriate to your application. Below we assume that <code>netui-blank</code> has been
renamed as <strong><code>myWebApplication</code></strong>. </p>
- <source>C:/myDevelopmentDirectory/myWebApplication</source>
+ <source>/myDevelopmentDirectory/myWebApplication</source>
</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
that sets the build-related properties for your web application.</p>
- <p>Open the file <code>C:/myDevelopmentDirectory/myWebApplication/WEB-INF/src/build.properties</code>
+ <p>Open the file <code>/myDevelopmentDirectory/myWebApplication/WEB-INF/src/build.properties</code>
in a text editor.</p>
<p>Edit the <code>beehive.home</code> property so that it points to the
top-level folder of your beehive installation.
@@ -50,11 +50,11 @@
<p>Edit the <code>context.path</code> property to some value that is appropriate to your
web application.</p>
<p> For example, if you beehive installation
- resides at <code>C:/apache/apache-beehive-1.0</code>, then your <code>build.properties</code> file
+ resides at <code>/apache/apache-beehive-1.0</code>, then your <code>build.properties</code> file
would appear as follows.</p>
<p><strong>Note:</strong> the value of <code><SomeContext></code> will determine the
app's URL address.</p>
- <source>beehive.home=<strong>C:/apache/apache-beehive-1.0</strong>
+ <source>beehive.home=<strong>/apache/apache-beehive-1.0</strong>
servlet-api.jar=${os.CATALINA_HOME}/common/lib/servlet-api.jar
jsp-api.jar=${os.CATALINA_HOME}/common/lib/jsp-api.jar
@@ -68,23 +68,30 @@
<p>To build the web app, run the following Ant command. This Ant command will delete
any build artifacts in the <code>classes</code> directory, compile the web application
source, and archive the result as a WAR file. The WAR file will be saved at
- <code>C:/myDevelopmentmentDirectory/</code>. The name of the WAR file will
+ <code>/myDevelopmentmentDirectory/</code>. The name of the WAR file will
be <code><SomeContext>.war</code>.</p>
<source>ant
- -f C:\myDevelopmentDirectory\myWebApplication\WEB-INF\src\build.xml
+ -f /myDevelopmentDirectory/myWebApplication/WEB-INF/src/build.xml
clean
build
war
<strong>Copy and Paste version:</strong>
-ant -f C:\myDevelopmentDirectory\myWebApplication\WEB-INF\src\build.xml clean build war</source>
+ant -f /myDevelopmentDirectory/myWebApplication/WEB-INF/src/build.xml clean build war</source>
</section>
<section id="deploy_run">
<title>To Deploy and Run the Template Web App</title>
<p>Before deploying the application, ensure that Tomcat is turned on.</p>
-<source>%CATALINA_HOME%\bin\startup.bat</source>
+ <p>On Windows:</p>
+ <source>%CATALINA_HOME%\bin\startup.bat</source>
+ <p>Everywhere else:</p>
+ <source>$CATALINA_HOME/bin/startup.sh</source>
+
<p>To deploy the web application copy the application WAR file to Tomcat's <code>webapps</code> dir.</p>
+ <p>On Windows:</p>
<source>copy C:\webDevelopementDirectory\<SomeContext>.war %CATALINA_HOME%\webapps</source>
+ <p>Everywhere else:</p>
+ <source>cp /webDevelopementDirectory/<SomeContext>.war $CATALINA_HOME/webapps</source>
<p>You can now try out the web app by pointing your browser at
the following link.</p>
@@ -100,4 +107,4 @@
Sun Microsystems, Inc. in the United States and other
countries.<br/> © 2004, Apache Software Foundation </legal>
</footer>
-</document>
\ No newline at end of file
+</document>
Modified: beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/pageflow/tutorial_pageflow.xml
URL: http://svn.apache.org/viewcvs/beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/pageflow/tutorial_pageflow.xml?rev=239467&r1=239466&r2=239467&view=diff
==============================================================================
--- beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/pageflow/tutorial_pageflow.xml (original)
+++ beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/pageflow/tutorial_pageflow.xml Tue Aug 23 15:17:17 2005
@@ -35,26 +35,26 @@
<p>
In order to follow the steps in this tutorial, it's necessary to create a Beehive-enabled web application. Beehive-enabled web applications
are described <a href="index.html">here</a>. A skeleton Beehive-enabled web project is provided in the samples/ directory as
- <a href="site:netui-blank">netui-blank</a>. This contains a basic Ant build file and an example Page Flow Controller. To create the
+ <a href="site:netui-blank">netui-blank</a>. This contains a basic Ant build file and an example Page Flow controller. To create the
tutorial's project, we'll copy and then rename the <a href="site:netui-blank">netui-blank</a> project using these steps:
</p>
<ol>
- <li>On your C: drive, create a directory named <code>beehive_projects</code>.</li>
+ <li>Create a directory <code>/beehive_projects</code> (on Windows, this would be <code>C:\beehive_projects</code>).</li>
<li>Copy the folder <code><BeehiveDistribution>/samples/netui-blank</code> into
- <code>C:/beehive_projects</code> where <code><BeehiveDistribution></code> is the directory that contains your
- unzipped copy of a Beehive distribution. A typical value might be <code>C:/apache/apache-beehive-1.0</code>.)</li>
- <li>Rename the folder <code>C:\beehive_projects\</code><strong><code>netui-blank</code></strong> to
- <code>C:\beehive_projects\</code><strong><code>pageflow_tutorial</code></strong></li>
+ <code>/beehive_projects</code> where <code><BeehiveDistribution></code> is the directory that contains your
+ unzipped copy of a Beehive distribution. A typical value might be <code>/apache/apache-beehive-1.0</code>.)</li>
+ <li>Rename the folder <code>/beehive_projects/</code><strong><code>netui-blank</code></strong> to
+ <code>/beehive_projects/</code><strong><code>pageflow_tutorial</code></strong></li>
<li>Before continuing, confirm that the following directory structure exists:</li>
</ol>
<source>
-c:\
- beehive_projects\
- pageflow_tutorial\
+/
+ beehive_projects/
+ pageflow_tutorial/
Controller.java
index.jsp
- resources\
- WEB-INF\
+ resources/
+ WEB-INF/
</source>
<p>
Note, this directory structure is just an example; you are free to put the <code>pageflow_tutorial</code>
@@ -86,10 +86,10 @@
<br/><br/>
<code>http://someapplicationserver/</code><strong><code>fooWebApp</code></strong>
</note>
- <p>For example, if your Beehive distribution is located in <code>C:/apache/apache-beehive-1.0</code>,
+ <p>For example, if your Beehive distribution is located in <code>/apache/apache-beehive-1.0</code>,
then your <code>build.properties</code> file would appear as follows.</p>
<source>
-beehive.home=<strong>C:/apache/apache-beehive-1.0</strong>
+beehive.home=<strong>/apache/apache-beehive-1.0</strong>
servlet-api.jar=${os.CATALINA_HOME}/common/lib/servlet-api.jar
jsp-api.jar=${os.CATALINA_HOME}/common/lib/jsp-api.jar
@@ -246,8 +246,13 @@
This will build the webapp by running the Beehive annotation processors and will produce class files in <code>WEB-INF/classes</code>.
Now, the application is ready to deploy to your server. On Tomcat, copy the WAR file into Tomcat's <code>$CATALINA_HOME/webapps</code>
directory.</p>
+ <p>On Windows:</p>
<source>
copy pageflow_tutorial.war %CATALINA_HOME%\webapps /Y
+ </source>
+ <p>Everywhere else:</p>
+ <source>
+ cp pageflow_tutorial.war $CATALINA_HOME/webapps
</source>
<p>If you are asked to overwrite the old WAR file, enter 'yes'. Note, when doing redeployment, you may have to wait a few seconds
for Tomcat to redeploy the WAR file. Once deployment or redeployment has completed, the webapp can be accessed through a browser.</p>
Modified: beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/samples/jpetstore.xml
URL: http://svn.apache.org/viewcvs/beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/samples/jpetstore.xml?rev=239467&r1=239466&r2=239467&view=diff
==============================================================================
--- beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/samples/jpetstore.xml (original)
+++ beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/samples/jpetstore.xml Tue Aug 23 15:17:17 2005
@@ -206,32 +206,32 @@
proceeding.</p>
<note><BeehiveRoot> refers to the top-level directory of your Beehive installation.
- A typical value for <BeehiveRoot> would be <code>C:/apache/apache-beehive-1.0</code>. </note>
+ A typical value for <BeehiveRoot> would be <code>/apache/apache-beehive-1.0</code>. </note>
<p>The following instructions assume that you have
copied the folder <code>petstoreWeb</code> into the
- directory <code>C:/beehive_projects</code>,
+ directory <code>/beehive_projects</code>,
resulting in the following directory structure.</p>
- <source>C:
+ <source>/
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><BeehiveRoot>\samples</code>.
+ replace occurrences of the path element <code>/beehive_projects</code>
+ with this path element: <code><BeehiveRoot>/samples</code>.
<br/><br/>
For example, to build the sample, run the following Ant command:
<br/><br/>
- <code>ant -f <BeehiveRoot>\samples\petstoreWeb\build.xml clean build war</code>
+ <code>ant -f <BeehiveRoot>/samples/petstoreWeb/build.xml clean build war</code>
<br/><br/>
To delete the sample's build directory, run the <code>clean</code> target:
<br/><br/>
- <code>ant -f <BeehiveRoot>\samples\petstoreWeb\build.xml clean</code></note>
+ <code>ant -f <BeehiveRoot>/samples/petstoreWeb/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
that sets the build-related properties for your web application.</p>
- <p>Open the file <code>C:/beehive_projects/petstoreWeb/build.properties</code>
+ <p>Open the file <code>/beehive_projects/petstoreWeb/build.properties</code>
in a text editor.</p>
<p>At a minimum, you will need to edit the following two properties:</p>
<ul><li>beehive.home</li><li>derby.jar</li></ul>
@@ -241,17 +241,17 @@
<p>The following example shows typical values for these three properties.
Note that the property <code>derby.jar</code> points to a JAR file, not
to a directory.</p>
-<source>beehive.home=<strong>C:/apache/apache-beehive-1.0</strong>
+<source>beehive.home=<strong>/apache/apache-beehive-1.0</strong>
context.path=petstoreWeb
servlet-api.jar=${os.CATALINA_HOME}/common/lib/servlet-api.jar
jsp-api.jar=${os.CATALINA_HOME}/common/lib/jsp-api.jar
-derby.jar=<strong>C:/apache/derby/derby.jar</strong>
+derby.jar=<strong>/apache/derby/derby.jar</strong>
# Set this path in order to run HTTPUnit tests against the webapp
-httpunit.dir=<strong>C:/httpunit-1.6</strong></source>
+httpunit.dir=<strong>/httpunit-1.6</strong></source>
<note>Windows users must use forwardslashes (/) not backslashes (\) in the
<code>build.properties</code> file.</note>
@@ -259,19 +259,24 @@
<section id="compile">
<title>To Compile the Petstore Application</title>
<p>To compile the Petstore app, enter the following Ant command:</p>
-<source>ant -f C:\beehive_projects\petstoreWeb\build.xml clean build war
+<source>ant -f /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>
+<p>A WAR file named <code>petstoreWeb.war</code> will be created at <code>/beehive_projects/petstoreWeb/petstoreWeb.war</code>.</p>
</section>
<section id="start_tomcat">
<title>To Start Tomcat</title>
<p>To start Tomcat, run the following command:</p>
<source>%CATALINA_HOME%\bin\startup.bat</source>
+ <p>On non-Windows systems:</p>
+ <source>$CATALINA_HOME/bin/startup.sh</source>
</section>
<section id="deploy">
<title>To Deploy to Tomcat</title>
<p>To deploy the web application, copy the WAR file to Tomcat's webapps directory.</p>
+ <p>On Windows:</p>
<source>copy C:\beehive_projects\petstoreWeb.war %CATALINA_HOME%\webapps /Y</source>
+ <p>Everywhere else:</p>
+ <source>cp /beehive_projects/petstoreWeb.war $CATALINA_HOME/webapps</source>
</section>
<section id="running_url">
@@ -286,7 +291,7 @@
Before running the tests, ensure that the web app is up and running, i.e,
accessible at http://localhost:8080/petstoreWeb.</p>
<p>To run the tests, enter the following Ant command:</p>
- <source>ant -f C:\beehive_projects\petstoreWeb\build.xml test.run</source>
+ <source>ant -f /beehive_projects/petstoreWeb/build.xml test.run</source>
</section>
</body>
<footer>
Modified: beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/setup.xml
URL: http://svn.apache.org/viewcvs/beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/setup.xml?rev=239467&r1=239466&r2=239467&view=diff
==============================================================================
--- beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/setup.xml (original)
+++ beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/setup.xml Tue Aug 23 15:17:17 2005
@@ -26,8 +26,8 @@
</ul>
<p>Typical values for these variables would be as follows.</p>
<source>
-ANT_HOME = C:\apache\apache-ant-1.6.2
-JAVA_HOME = C:\jdk1.5.0
+ANT_HOME = /apache/apache-ant-1.6.2
+JAVA_HOME = /jdk1.5.0
</source>
<p>(3) Ensure that <code>$JAVA_HOME/bin</code> and <code>$ANT_HOME/bin</code> are on your <code>$PATH</code>.</p>
</section>
Modified: beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/site.xml
URL: http://svn.apache.org/viewcvs/beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/site.xml?rev=239467&r1=239466&r2=239467&view=diff
==============================================================================
--- beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/site.xml (original)
+++ beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/site.xml Tue Aug 23 15:17:17 2005
@@ -17,7 +17,7 @@
<pageflow_overview label="Overview" href="pageflow/pageflow_overview.html"/>
<pageflow_controllers label="Controller Files" href="pageflow/pageflow_controllers.html"/>
<pageflow_jsp label="JSP Files" href="pageflow/pageflow_jsp.html"/>
- <pageflow_building label="Building a Web-App" href="pageflow/pageflow_building.html"/>
+ <pageflow_building label="Building a Web Project" href="pageflow/pageflow_building.html"/>
<pageflow_altering label="Altering a Page Flow" href="pageflow/pageflow_altering.html"/>
<pageflow_databinding label="Databinding" href="pageflow/pageflow_databinding.html"/>
<pageflow_inheritance label="Inheritance" href="pageflow/pageflow_inheritance.html"/>
Modified: beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/wsm/sample_AddressBook.xml
URL: http://svn.apache.org/viewcvs/beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/wsm/sample_AddressBook.xml?rev=239467&r1=239466&r2=239467&view=diff
==============================================================================
--- beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/wsm/sample_AddressBook.xml (original)
+++ beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/wsm/sample_AddressBook.xml Tue Aug 23 15:17:17 2005
@@ -80,22 +80,24 @@
<source><BeehiveRoot>/samples/wsm-addressbook
<BeehiveRoot>/samples/wsm-addressbook-enhanced</source>
<p> into the directory
- <code>C:/beehive_projects</code>, resulting in the
+ <code>/beehive_projects</code>, resulting in the
following directory structures.</p>
-<source>C:
+<source>/
beehive_projects
wsm-addressbook</source>
- <source>C:
+ <source>/
beehive_projects
wsm-addressbook-enhanced</source>
<note><BeehiveRoot> refers to the top-level directory of your Beehive installation.
- A typical value for <BeehiveRoot> would be <code>C:/apache/apache-beehive-1.0</code>. </note>
+ A typical value for <BeehiveRoot> would be <code>/apache/apache-beehive-1.0</code>. </note>
</section>
<section id="start_tomcat">
<title>To Start Tomcat</title>
<p>To start Tomcat, run the following command:</p>
<source>%CATALINA_HOME%\bin\startup.bat</source>
+ <p>On non-Windows systems:</p>
+ <source>$CATALINA_HOME/bin/startup.sh</source>
</section>
<section id="external_jars">
<title>To Download Junit the JAR File<!--and Derby JAR Files--></title>
@@ -108,49 +110,51 @@
<section id="edit_properties_file"><title>Edit the <code>build.properties</code> Files</title>
<p>In this section you will edit the <code>build.properties</code> files--the files
that set the build-related properties for the web services.</p>
- <p>Open the files <code>C:/beehive_projects/wsm-addressbook/WEB-INF/build.properties</code>
- and <code>C:/beehive_projects/wsm-addressbook-enhanced/WEB-INF/build.properties</code>
+ <p>Open the files <code>/beehive_projects/wsm-addressbook/WEB-INF/build.properties</code>
+ and <code>/beehive_projects/wsm-addressbook-enhanced/WEB-INF/build.properties</code>
in a text editor.</p>
<p>Edit the files so that the <code>beehive.home</code> property points to the
top-level folder of your beehive installation. For example, if you beehive installation
- resides at <code>C:/apache/apache-beehive-1.0</code>, then your <code>build.properties</code> files
+ resides at <code>/apache/apache-beehive-1.0</code>, then your <code>build.properties</code> files
would appear as follows.</p>
- <source>beehive.home=<strong>C:/apache/apache-beehive-1.0</strong></source>
+ <source>beehive.home=<strong>/apache/apache-beehive-1.0</strong></source>
</section>
<section id="compile">
<title>To Compile the Apps</title>
<p>To compile the <strong>AddressBookWS</strong> app, enter the following Ant command.</p>
<source>ant
- -f C:\beehive_projects\wsm-addressbook\WEB-INF\src\build.xml
+ -f /beehive_projects/wsm-addressbook/WEB-INF/src/build.xml
clean
build
deploy
<strong>Copy and paste version:</strong>
-ant -f C:\beehive_projects\wsm-addressbook\WEB-INF\src\build.xml clean build deploy</source>
+ant -f /beehive_projects/wsm-addressbook/WEB-INF/src/build.xml clean build deploy</source>
<p>The command above creates a WAR file named <code>AddressBookWS.war</code> and saves it
- at C:\beehive_projects.</p>
+ at /beehive_projects.</p>
<p>To deploy the app to Tomcat, run the following command:</p>
-
<source>copy C:\beehive_projects\AddressBookWS.war %CATALINA_HOME%\webapps /Y</source>
+<p>On non-Windows systems:</p>
+<source>cp /beehive_projects/AddressBookWS.war $CATALINA_HOME/webapps</source>
<p>To compile the <strong>EnhancedAddressBookWS</strong> app, enter the following Ant command.</p>
<source>ant
- -f C:\beehive_projects\wsm-addressbook-enhanced\WEB-INF\src\build.xml
+ -f /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 /beehive_projects/wsm-addressbook-enhanced/WEB-INF/src/build.xml clean build deploy</source>
<p>The command above creates a WAR file named <code>EnhancedAddressBookWS.war</code> and saves it
- at C:\beehive_projects.</p>
+ at /beehive_projects.</p>
<p>To deploy the app to Tomcat, run the following command:</p>
-
<source>copy C:\beehive_projects\EnhancedAddressBookWS.war %CATALINA_HOME%\webapps /Y</source>
+<p>On non-Windows systems:</p>
+<source>cp /beehive_projects/EnhancedAddressBookWS.war $CATALINA_HOME/webapps</source>
</section>
<section id="verify_deploy"><title>To Verify the Deployments</title>
<p>Verify that the web services is running by pointing your
@@ -171,8 +175,8 @@
<title>To Run the Web Service Clients</title>
<p>To generate and run the client, run the following build files.</p>
-<source>ant -f C:\beehive_projects\wsm-addressbook\WEB-INF\src\build-client.xml</source>
-<source>ant -f C:\beehive_projects\wsm-addressbook-enhanced\WEB-INF\src\build-client.xml</source>
+<source>ant -f /beehive_projects/wsm-addressbook/WEB-INF/src/build-client.xml</source>
+<source>ant -f /beehive_projects/wsm-addressbook-enhanced/WEB-INF/src/build-client.xml</source>
<p>Note that you do not need to run a particular target within the build files
<code>client-build.xml</code>. Simply run the Ant command
@@ -207,4 +211,4 @@
Sun Microsystems, Inc. in the United States and other
countries.<br/> © 2004, Apache Software Foundation </legal>
</footer>
-</document>
\ No newline at end of file
+</document>
Modified: beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/wsm/sample_AddressBookEnhanced.xml
URL: http://svn.apache.org/viewcvs/beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/wsm/sample_AddressBookEnhanced.xml?rev=239467&r1=239466&r2=239467&view=diff
==============================================================================
--- beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/wsm/sample_AddressBookEnhanced.xml (original)
+++ beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/wsm/sample_AddressBookEnhanced.xml Tue Aug 23 15:17:17 2005
@@ -70,32 +70,34 @@
instructions assume that you have copied the folder</p>
<source><BeehiveRoot>/samples/wsm-addressbook-enhanced</source>
<p> into the directory
- <code>C:/beehive_projects</code>, resulting in the
+ <code>/beehive_projects</code>, resulting in the
following directory structure.</p>
- <source>C:
+ <source>/
beehive_projects
wsm-addressbook-enhanced</source>
<note><BeehiveRoot> refers to the top-level directory of your Beehive installation.
- A typical value for <BeehiveRoot> would be <code>C:/apache/apache-beehive-1.0</code>. </note>
+ A typical value for <BeehiveRoot> would be <code>/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><BeehiveRoot>\samples</code>.
+ replace occurrences of the path element <code>/beehive_projects</code>
+ with this path element: <code><BeehiveRoot>/samples</code>.
<br/><br/>
For example, to build the sample, run the following Ant command:
<br/><br/>
- <code>ant -f <BeehiveRoot>\samples\wsm-addressbook-enhanced\src\WEB-INF\build.xml clean build</code>
+ <code>ant -f <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/>
- <code>ant -f <BeehiveRoot>\samples\wsm-addressbook-enhanced\src\WEB-INF\build.xml clean</code></note>
+ <code>ant -f <BeehiveRoot>/samples/wsm-addressbook-enhanced/src/WEB-INF/build.xml clean</code></note>
</section>
<section id="start_tomcat">
<title>To Start Tomcat</title>
<p>To start Tomcat, run the following command:</p>
<source>%CATALINA_HOME%\bin\startup.bat</source>
+ <p>On non-Windows systems:</p>
+ <source>$CATALINA_HOME/bin/startup.sh</source>
</section>
<section id="external_jars">
<title>To Download Junit the JAR File</title>
@@ -108,30 +110,31 @@
<section id="edit_properties_file"><title>Edit the <code>build.properties</code> Files</title>
<p>In this section you will edit the <code>build.properties</code> file--the files
that set the build-related properties for the web service.</p>
- <p>Open the file <code>C:/beehive_projects/wsm-addressbook-enhanced/WEB-INF/build.properties</code>
+ <p>Open the file <code>/beehive_projects/wsm-addressbook-enhanced/WEB-INF/build.properties</code>
in a text editor.</p>
<p>Edit the file so that the <code>beehive.home</code> property points to the
top-level folder of your beehive installation. For example, if you beehive installation
- resides at <code>C:/apache/apache-beehive-1.0</code>, then your <code>build.properties</code> files
+ resides at <code>/apache/apache-beehive-1.0</code>, then your <code>build.properties</code> files
would appear as follows.</p>
- <source>beehive.home=<strong>C:/apache/apache-beehive-1.0</strong></source>
+ <source>beehive.home=<strong>/apache/apache-beehive-1.0</strong></source>
</section>
<section id="compile">
<title>To Compile the App</title>
<p>To compile the <strong>EnhancedAddressBookWS</strong> app, enter the following Ant command.</p>
<source>ant
- -f C:\beehive_projects\wsm-addressbook-enhanced\WEB-INF\src\build.xml
+ -f /beehive_projects/wsm-addressbook-enhanced/WEB-INF/src/build.xml
clean
build
<strong>Copy and paste version:</strong>
-ant -f C:\beehive_projects\wsm-addressbook-enhanced\WEB-INF\src\build.xml clean build</source>
+ant -f /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>
+ at /beehive_projects.</p>
<p>To deploy the app to Tomcat, run the following command:</p>
-
<source>copy C:\beehive_projects\EnhancedAddressBookWS.war %CATALINA_HOME%\webapps /Y</source>
+<p>On non-Windows systems:</p>
+<source>cp /beehive_projects/EnhancedAddressBookWS.war $CATALINA_HOME/webapps</source>
</section>
<section id="verify_deploy"><title>To Verify the Deployment</title>
<p>
@@ -144,7 +147,7 @@
<title>To Run the Web Service Client</title>
<p>To generate and run the client, run the following build file.</p>
-<source>ant -f C:\beehive_projects\wsm-addressbook-enhanced\WEB-INF\src\build-client.xml</source>
+<source>ant -f /beehive_projects/wsm-addressbook-enhanced/WEB-INF/src/build-client.xml</source>
<p>Note that you do not need to run a particular target within the build files
<code>client-build.xml</code>. Simply run the Ant command
@@ -179,4 +182,4 @@
Sun Microsystems, Inc. in the United States and other
countries.<br/> © 2004, Apache Software Foundation </legal>
</footer>
-</document>
\ No newline at end of file
+</document>
Modified: beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/wsm/sample_AddressBookFromWSDL.xml
URL: http://svn.apache.org/viewcvs/beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/wsm/sample_AddressBookFromWSDL.xml?rev=239467&r1=239466&r2=239467&view=diff
==============================================================================
--- beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/wsm/sample_AddressBookFromWSDL.xml (original)
+++ beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/wsm/sample_AddressBookFromWSDL.xml Tue Aug 23 15:17:17 2005
@@ -61,42 +61,44 @@
instructions assume that you have copied the folder</p>
<source><BeehiveRoot>/samples/wsm-addressbook-fromWSDL</source>
<p> into the directory
- <code>C:/beehive_projects</code>, resulting in the
+ <code>/beehive_projects</code>, resulting in the
following directory structure.</p>
-<source>C:
+<source>/
beehive_projects
wsm-addressbook-fromWSDL</source>
<note><BeehiveRoot> refers to the top-level directory of your Beehive installation.
- A typical value for <BeehiveRoot> would be <code>C:/apache/apache-beehive-1.0</code>. </note>
+ A typical value for <BeehiveRoot> would be <code>/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><BeehiveRoot>\samples</code>.
+ replace occurrences of the path element <code>/beehive_projects</code>
+ with this path element: <code><BeehiveRoot>/samples</code>.
<br/><br/>
For example, to build a generated web service file, run the following Ant command:
<br/><br/>
- <code>ant -f <BeehiveRoot>\samples\wsm-addressbook-fromWSDL\src\WEB-INF\build.xml clean build war</code>
+ <code>ant -f <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/>
- <code>ant -f <BeehiveRoot>\samples\wsm-addressbook-fromWSDL\src\WEB-INF\build.xml clean</code></note>
+ <code>ant -f <BeehiveRoot>/samples/wsm-addressbook-fromWSDL/src/WEB-INF/build.xml clean</code></note>
</section>
<section id="start_tomcat">
<title>To Start Tomcat</title>
<p>To start Tomcat, run the following command:</p>
<source>%CATALINA_HOME%\bin\startup.bat</source>
+ <p>On non-Windows systems:</p>
+ <source>$CATALINA_HOME/bin/startup.sh</source>
</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
that sets the build-related properties for the application.</p>
- <p>Open the file <code>C:/beehive_projects/wsm-addressbook-fromWSDL/WEB-INF/src/build.properties</code>
+ <p>Open the file <code>/beehive_projects/wsm-addressbook-fromWSDL/WEB-INF/src/build.properties</code>
in a text editor.</p>
<p>Edit the files so that the <code>beehive.home</code> property points to the
top-level folder of your beehive installation. For example, if you beehive installation
- resides at <code>C:/apache/apache-beehive-1.0</code>, then your <code>build.properties</code> files
+ resides at <code>/apache/apache-beehive-1.0</code>, then your <code>build.properties</code> files
would appear as follows.</p>
- <source>beehive.home=<strong>C:/apache/apache-beehive-1.0</strong></source>
+ <source>beehive.home=<strong>/apache/apache-beehive-1.0</strong></source>
</section>
<section><title>Select a Source WSDL</title>
<p>Select a source WSDL from which to generate a web service.
@@ -114,11 +116,11 @@
<section><title>Generating a Web Service</title>
<p>To generate a web service from the WSDL file, run the following Ant target:</p>
<source>ant
- -f C:\beehive_projects\wsm-addressbook-fromWSDL\WEB-INF\src\build.xml
+ -f /beehive_projects/wsm-addressbook-fromWSDL/WEB-INF/src/build.xml
source-gen
<strong>Copy and paste version:</strong>
-ant -f C:\beehive_projects\wsm-addressbook-fromWSDL\WEB-INF\src\build.xml source-gen</source>
+ant -f /beehive_projects/wsm-addressbook-fromWSDL/WEB-INF/src/build.xml source-gen</source>
<p>Two artifacts are generated: (1) a web service file is written to WEB-INF/src-ws
and (2) the related Java types are written to WEB-INF/gen/types. (Note that the types
are also compiled directly into the WEB-INF/classes directory.)</p>
@@ -132,20 +134,21 @@
<title>Compiling the Generated Web Service</title>
<p>To compile the generated web service, enter the following Ant command.</p>
<source>ant
- -f C:\beehive_projects\wsm-addressbook-fromWSDL\WEB-INF\src\build.xml
+ -f /beehive_projects/wsm-addressbook-fromWSDL/WEB-INF/src/build.xml
clean
build
war
<strong>Copy and paste version:</strong>
-ant -f C:\beehive_projects\wsm-addressbook-fromWSDL\WEB-INF\src\build.xml clean build war</source>
+ant -f /beehive_projects/wsm-addressbook-fromWSDL/WEB-INF/src/build.xml clean build war</source>
<p>The command above creates a WAR file named <code>fromWSDLWS.war</code> and saves it
- at C:\beehive_projects.</p>
+ at /beehive_projects.</p>
<p>To deploy the app to Tomcat, run the following command:</p>
-
<source>copy C:\beehive_projects\fromWSDLWS.war %CATALINA_HOME%\webapps /Y</source>
+<p>On non-Windows systems:</p>
+<source>cp /beehive_projects/fromWSDLWS.war $CATALINA_HOME/webapps</source>
</section>
</section>
</section>
@@ -155,4 +158,4 @@
Sun Microsystems, Inc. in the United States and other
countries.<br/> © 2004, Apache Software Foundation </legal>
</footer>
-</document>
\ No newline at end of file
+</document>
Modified: beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/wsm/sample_wsm-blank.xml
URL: http://svn.apache.org/viewcvs/beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/wsm/sample_wsm-blank.xml?rev=239467&r1=239466&r2=239467&view=diff
==============================================================================
--- beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/wsm/sample_wsm-blank.xml (original)
+++ beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/wsm/sample_wsm-blank.xml Tue Aug 23 15:17:17 2005
@@ -13,7 +13,7 @@
</p>
<note><BeehiveRoot> refers to the top-level directory of your Beehive installation.
- A typical value for <BeehiveRoot> would be <code>C:/apache/apache-beehive-1.0</code>. </note>
+ A typical value for <BeehiveRoot> would be <code>/apache/apache-beehive-1.0</code>. </note>
<p>The template contains everything needed in a basic web service application, except for the runtime JAR files.
</p>
@@ -45,9 +45,9 @@
<p>Edie the <code>service.name</code> property to something
appropriate for your application.</p>
<p>For example, if your beehive installation
- resides at <code>C:/apache/apache-beehive-1.0</code>, then your <code>build.properties</code> file
+ resides at <code>/apache/apache-beehive-1.0</code>, then your <code>build.properties</code> file
would appear as follows.</p>
- <source>beehive.home=<strong>C:/apache/apache-beehive-1.0</strong>
+ <source>beehive.home=<strong>/apache/apache-beehive-1.0</strong>
service.name=<strong><SomeContext></strong></source>
@@ -67,17 +67,19 @@
<p>To build the template web service, run the following Ant command.
(The result of the build will be a WAR file: <code><SomeContext>WS.war</code>.
The WAR file will be saved to the parent directory of <code><Project-Folder</code>.
- Assume that this parent directory is named <code>C:/webDevelopementDirectory</code>.)</p>
+ Assume that this parent directory is named <code>/webDevelopementDirectory</code>.)</p>
<source>ant
- -f <Project-Folder>WEB-INF\src\build.xml
+ -f <Project-Folder>WEB-INF/src/build.xml
clean
build
war
<strong>Copy and Paste version:</strong>
-ant -f <Project-Folder>\WEB-INF\src\build.xml clean build war</source>
+ant -f <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\<SomeContext>WS.war %CATALINA_HOME%\webapps</source>
+ <p>On non-Windows systems:</p>
+ <source>cp /webDevelopementDirectory/<SomeContext>WS.war $CATALINA_HOME/webapps</source>
</section>
<section>
<title>To Run the Template Web Service</title>
Modified: beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/wsm/sample_wsmAnnoSamples.xml
URL: http://svn.apache.org/viewcvs/beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/wsm/sample_wsmAnnoSamples.xml?rev=239467&r1=239466&r2=239467&view=diff
==============================================================================
--- beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/wsm/sample_wsmAnnoSamples.xml (original)
+++ beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/wsm/sample_wsmAnnoSamples.xml Tue Aug 23 15:17:17 2005
@@ -61,6 +61,8 @@
<title>To Start Tomcat</title>
<p>To start Tomcat, run the following command:</p>
<source>%CATALINA_HOME%\bin\startup.bat</source>
+ <p>On non-Windows systems:</p>
+ <source>$CATALINA_HOME/bin/startup.sh</source>
</section>
<section id="edit_properties_file"><title>Edit the <code>build.properties</code> Files</title>
<p>In this section you will edit the <code>build.properties</code> files--the files
@@ -69,30 +71,32 @@
<code><BeehiveRoot>/samples/wsm-sample/WEB-INF/src/build.properties</code>
in a text editor.</p>
<note><BeehiveRoot> refers to the top-level directory of your Beehive installation.
- A typical value for <BeehiveRoot> would be <code>C:/apache/apache-beehive-1.0</code>. </note>
+ A typical value for <BeehiveRoot> would be <code>/apache/apache-beehive-1.0</code>. </note>
<p>Edit the file so that the <code>beehive.home</code> property points to the
top-level folder of your beehive installation. For example, if you beehive installation
- resides at <code>C:/apache/apache-beehive-1.0</code>,
+ resides at <code>/apache/apache-beehive-1.0</code>,
then your <code>build.properties</code> file
would appear as follows.</p>
- <source>beehive.home=<strong>C:/apache/apache-beehive-1.0</strong></source>
+ <source>beehive.home=<strong>/apache/apache-beehive-1.0</strong></source>
</section>
<section id="compile">
<title>To Compile the App</title>
<p>To compile the app, enter the following Ant command.</p>
<source>ant
- -f C:\beehive_projects\wsm-sample\WEB-INF\src\build.xml
+ -f /beehive_projects/wsm-sample/WEB-INF/src/build.xml
clean
build
deploy
<strong>Copy and paste version:</strong>
-ant -f C:\beehive_projects\wsm-samples\WEB-INF\src\build.xml clean build deploy</source>
+ant -f /beehive_projects/wsm-samples/WEB-INF/src/build.xml clean build deploy</source>
<p>The command above builds a JAR file named wsm-samplesWS.jar and saves it in
- the directory <code>C:\beehive_projects</code>.</p>
+ the directory <code>/beehive_projects</code>.</p>
<p>To deploy the JAR file to Tomcat server, run the following command:</p>
<source>copy C:\beehive_projects\wsm-samplesWS.war %CATALINA_HOME%\webapps /Y</source>
+<p>On non-Windows systems:</p>
+<source>cp /beehive_projects/wsm-samplesWS.war $CATALINA_HOME/webapps</source>
</section>
<section id="test_the_app"><title>To Test the Samples</title>
<p>Verify that the web services is running by pointing your
@@ -111,4 +115,4 @@
Sun Microsystems, Inc. in the United States and other
countries.<br/> © 2004, Apache Software Foundation </legal>
</footer>
-</document>
\ No newline at end of file
+</document>