geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pra...@apache.org
Subject svn commit: r546615 - /geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/install-sample.html
Date Tue, 12 Jun 2007 19:51:39 GMT
Author: prasad
Date: Tue Jun 12 12:51:38 2007
New Revision: 546615

URL: http://svn.apache.org/viewvc?view=rev&rev=546615
Log:
* doc the use of -Puser profile

Modified:
    geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/install-sample.html

Modified: geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/install-sample.html
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/install-sample.html?view=diff&rev=546615&r1=546614&r2=546615
==============================================================================
--- geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/install-sample.html
(original)
+++ geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/install-sample.html
Tue Jun 12 12:51:38 2007
@@ -69,7 +69,7 @@
   There are 2 ways to play with a Geronimo sample.
   <UL>
     <LI>install a readily available sample binary. This requires a Geronimo server
to be running.
-    <LI>build the sample and install it. This requires Maven v2.0.4. 
+    <LI>build the sample and install it. This requires Maven v2.0.5. 
     The sample thus built will be deployed for you on an already running server or on a server
that will be downloaded.
   </UL>
   </FONT>
@@ -100,19 +100,21 @@
     By default, it will download a Geronimo binary with the jetty webcontainer. You may however
choose the Geronimo binary with the tomcat webcontainer.
   
   <OL>Steps:
-  <LI>if you don't have Maven v2.0.4 already, download that from <A HREF="http://maven.apache.org/download.html">Apache's
maven</A> site. Add maven's bin directory to your path.
+  <LI>if you don't have Maven v2.0.5 already, download that from <A HREF="http://maven.apache.org/download.html">Apache's
maven</A> site. Add maven's bin directory to your path.
   <LI>Download the sample source zip and unpack it. 
     <I>If your platform is Windows, it is recommended that you unpack the zip in a
directory quite close to the root to prevent a Windows restriction on long path name.</I>
   <LI>go to the directory where the sample source code has been unpacked
-  <LI>execute the command <b><CODE>mvn site</CODE</B>
-  <LI>execute the command <b><CODE>mvn</CODE></B>
+  <LI>execute the command <B><CODE>mvn -Puser install site</CODE></B>
       <UL>Some optional arguments:
+          <LI>-Puser: The <I>user</I> profile will deploy your sample app
to Geronimo server. Without this, it will just build the sample. You will have to deploy it
yourself.
           <LI>-DgeronimoHome: path to directory where a server has already been unpacked.
-          <p><LI>-DinstallDirectory: path to directory where a server has to
be unpacked. If one already exists there, a later one, if available, will be downloaded and
installed.
+          <p><LI>-DinstallDirectory: path to directory where a server has to
be unpacked. If a server already exists there, a more recent one, if available, will be downloaded
and installed.
           If a later binary isn't available, the existing server is started.  If one doesn't
exist, then the downloaded one will be unpacked here.
-          <p><LI>-DassemblyId: [jetty | tomcat] by default, Geronimo with the
<I>jetty</I> webcontainer will be downloaded and started. Set the value of this
to <I>tomcat</I> for the tomcat webcontainer.
-          <p><LI>-DassemblyArchive: path to an assembly archive already downloaded.<P>
+          <p><LI>-DassemblyId: [jetty | tomcat] By default, Geronimo with the
<I>jetty</I> webcontainer will be downloaded and started. Set the value of this
to <I>tomcat</I> for the tomcat webcontainer.
+          <p><LI>-DassemblyArchive: path to an assembly archive (zip binary)
already downloaded.<P>
       </UL>
+
+      <I><CODE>Example: mvn -Puser install site -DinstallDirectory=c:\Geronimo
</CODE></I><p>
   <LI>start the server using <CODE>startServer.bat</CODE> or <CODE>startServer.sh</CODE>
   <LI>open a browser and go to the sample's context root.
   </OL>



Mime
View raw message