geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pra...@apache.org
Subject svn commit: r549536 - in /geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources: README.txt install-sample.html
Date Thu, 21 Jun 2007 16:39:46 GMT
Author: prasad
Date: Thu Jun 21 09:39:45 2007
New Revision: 549536

URL: http://svn.apache.org/viewvc?view=rev&rev=549536
Log:
* modified to reflect the drop in -Puser profile

Removed:
    geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/README.txt
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=549536&r1=549535&r2=549536
==============================================================================
--- 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
Thu Jun 21 09:39:45 2007
@@ -68,9 +68,8 @@
   <font style="font-size:12px">
   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.5. 
-    The sample thus built will be deployed for you on an already running server or on a server
that will be downloaded.
+    <LI>install a readily available sample binary. This requires a running Geronimo
server to deploy the sample.
+    <LI>build the sample and install it. This requires Maven v2.0.5 to build the sample
and a running Geronimo server to deploy it. 
   </UL>
   </FONT>
 
@@ -88,34 +87,17 @@
   
   <H3>2. Building a sample from source</H3>
   <font style="font-size:12px">
-    This will give you an opportunity to play with the source code. The build will also deploy
the sample application into a Geronimo server.
-    You may choose an already unpacked and/or running server to deploy this sample application.
+    This will give you an opportunity to play with the source code. 
     <p>
-    Alternatively, you may let the build download the latest Geronimo binary and unpack it.
-    By default, a downloaded server binary will be unpacked into the sample project's <CODE>target</CODE>
directory.
-    Or you may choose a different installation directory.
-    <p> 
-    You may let the build download the geronimo binary from a remote repository or point
it to an already downloaded binary.
-    <P>
-    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.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 -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 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 (zip binary)
already downloaded.<P>
-      </UL>
-
-      <I><CODE>Example: mvn -Puser install site -DinstallDirectory=c:\Geronimo
</CODE></I><p>
+  <LI>execute the command <B><CODE>mvn install site</CODE></B>
   <LI>start the server using <CODE>startServer.bat</CODE> or <CODE>startServer.sh</CODE>
+  <LI>deploy the downloaded sample binary using <CODE>deploy.bat --user system
--password manager deploy /path/to/sample/binary/sample.ear</CODE>
   <LI>open a browser and go to the sample's context root.
   </OL>
   </FONT>



Mime
View raw message