Date: 2004-02-16T23:45:51
   Editor: 208.42.65.236 <>
   Wiki: Apache Geronimo Wiki
   Page: BuildingAndRunning
   URL: http://wiki.apache.org/geronimo/BuildingAndRunning

   no comment

Change Log:

------------------------------------------------------------------------------
@@ -17,11 +17,8 @@
 $ cvs -qz3 -d:pserver:[EMAIL PROTECTED]:/home/cvspublic co incubator-geronimo
 $ cd incubator-geronimo
 $ cvs -qz3 update -dP
-$ maven plugins
 $ maven
-$ cd assembly
-$ maven
-$ java -Dgeronimo.base.dir=target -jar target/bin/server.jar 
target/config-store org/apache/geronimo/System org/apache/geronimo/Server
+$ maven run:server
 }}}
 
 You should check back here occasionally as things may well change.
@@ -55,15 +52,6 @@
 
 Running the command `maven site` seems to take up a lot of memory.  If you get 
an out of memory error, try setting MAVEN_OPTS=-Xmx512m.
 
-(Feb 02, 2004) Due to one bug fix in the xmlbeans plugin but lack of 
resolution of the plugin dependencies problem you should rebuild the xmlbeans 
plugin explicitly before building all of geronimo.
-
-{{{
-cd modules/maven-xmlbeans-plugin
-maven rebuild
-cd ../..
-maven
-}}}
-
 = Building Offline =
 
 If you're not online (so Maven fails to download), use the -o flag to maven 
(i.e. run `maven -o`). 
@@ -101,14 +89,16 @@
 ||org/apache/geronimo/System||Critical services for all server configurations||
 ||org/apache/geronimo/Server||Normal server configuration||
 
-To run these use the `server.jar` command:
+To run use the `server.jar` command:
 {{{
-$ cd assembly/target
-$ java -Dgeronimo.base.dir=. -jar bin/server.jar config-store 
org/apache/geronimo/System org/apache/geronimo/Server
+$ cd target
+$ java -jar bin/server.jar config-store org/apache/geronimo/System 
org/apache/geronimo/Server
 }}}
 
 To stop the server use ctrl-C or an equivilent; a proper shutdown command will 
be made available when the deployment includes the remoting framework.
 
+You can also start the server using "maven run:server" or "maven 
debug:server", but startup using maven disables the ctrl-C proper shutdown.
+
 The deployer uses an XML deployment plan to figure out what to do. Ultimately 
this will be produced by a JSR-88 tool but for now an XML aware text editor is 
the best choice. The deployer uses the namespace of this file to select an 
appropriate builder.
 
 ||Namespace||Schema file||Root Element||Type||
@@ -118,8 +108,8 @@
 
 To deploy a new configuation use the `deploy.jar` command:
 {{{
-$ cd assembly/target
-$ java -Dgeronimo.base.dir=. -jar bin/deploy.jar --install --plan 
<your-plan>.xml --store config-store --deployer 
org/apache/geronimo/ServiceDeployer
+$ cd target
+$ java -jar bin/deploy.jar --install --plan <your-plan>.xml --store 
config-store --deployer org/apache/geronimo/ServiceDeployer
 }}}
 
 The need to define the store and deployer will be removed soon when the WAR 
and RAR deployers have been converted. You should also only run this with the 
server stopped - online deployment will be available soon when default 
deployment includes the remoting layer.

Reply via email to