[hornetq-commits] JBoss hornetq SVN: r8099 - in trunk/docs: user-manual/en and 1 other directory.

do-not-reply at jboss.org do-not-reply at jboss.org
Tue Oct 13 16:03:52 EDT 2009


Author: timfox
Date: 2009-10-13 16:03:52 -0400 (Tue, 13 Oct 2009)
New Revision: 8099

Modified:
   trunk/docs/quickstart-guide/en/examples.xml
   trunk/docs/user-manual/en/examples.xml
Log:
updated docs for ant changes

Modified: trunk/docs/quickstart-guide/en/examples.xml
===================================================================
--- trunk/docs/quickstart-guide/en/examples.xml	2009-10-13 19:59:21 UTC (rev 8098)
+++ trunk/docs/quickstart-guide/en/examples.xml	2009-10-13 20:03:52 UTC (rev 8099)
@@ -28,9 +28,7 @@
          <para>Java EE Examples - these demonstrate application server integration, e.g. MDBs, EJBs,
             Servlets, etc.</para>
       </listitem>
-   </itemizedlist>
-   <para>All the examples are run using ant. You will need ant installed on your system and the ant
-         <literal>bin</literal> directory on your path.</para>
+   </itemizedlist>   
    <section id="examples.jms">
       <title>The JMS examples</title>
       <para>The JMS Examples all follow the same format. Each examples is contained in its own
@@ -57,7 +55,7 @@
          user manual.</para>
       <para>Firstly open a Shell or a Command prompt and navigate to the <literal
             >examples/jms/queue</literal> directory.</para>
-      <para>Type the command <literal>ant</literal> and you should see the following output:</para>
+      <para>Type the command <literal>./build.sh</literal> (or <literal>build.bat</literal> if you are running on Windows), and you should see the following output:</para>
       <programlisting>Buildfile: build.xml
 
 run:
@@ -132,7 +130,7 @@
       <programlisting>export JBOSS_HOME=/home/jbossas5.1/build/output/jboss-5.1.0.GA</programlisting>
       <para>Once set we can then deploy the application, from inside the <literal
             >examples/javaee/mdb</literal> directory run the command:</para>
-      <programlisting>ant deploy</programlisting>
+      <programlisting>./build.sh deploy</programlisting>
       <para>This will make a copy of the messaging profile in the JBoss Application server and start
          the server.</para>
       <para>In the shell window you should see something like the following output:</para>
@@ -186,7 +184,7 @@
 </programlisting>
       <para>We can now run the example, do this by running the following command from within the
             <literal>mdb</literal> directory.</para>
-      <programlisting>ant</programlisting>
+      <programlisting>./build.sh</programlisting>
       <para>You should see some output similar to the following:</para>
       <programlisting>Buildfile: build.xml
 
@@ -206,7 +204,7 @@
       <programlisting>16:27:54,703 INFO  [STDOUT] message This is a text message received</programlisting>
       <para>The application can then be undeployed by running the following command from within the
             <literal>mdb</literal> directory.</para>
-      <programlisting>ant undeploy</programlisting>
+      <programlisting>./build.sh undeploy</programlisting>
       <para>This should so some output similar to the following:</para>
       <programlisting>Buildfile: build.xml
 

Modified: trunk/docs/user-manual/en/examples.xml
===================================================================
--- trunk/docs/user-manual/en/examples.xml	2009-10-13 19:59:21 UTC (rev 8098)
+++ trunk/docs/user-manual/en/examples.xml	2009-10-13 20:03:52 UTC (rev 8099)
@@ -29,9 +29,7 @@
     <section>
         <title>JMS Examples</title>
         <para>To run a JMS example, simply <literal>cd</literal> into the appropriate example
-            directory and type <literal>ant</literal>.</para>
-        <para>You will need to have Apache 1.7.0 or later ant installed on your system with the ant
-                <literal>bin</literal> directory on your path.</para>
+            directory and type <literal>./build.sh</literal> (or <literal>build.bat</literal> if you are on Windows).</para>
         <para>Here's a listing of the examples with a brief description.</para>
         <section id="application-level-failover">
             <title>Application-Layer Failover</title>



More information about the hornetq-commits mailing list