geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Geronimo Wiki] Update of "Building" by JacekLaskowski
Date Sun, 01 Jan 2006 01:47:05 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Geronimo Wiki" for change notification.

The following page has been changed by JacekLaskowski:
http://wiki.apache.org/geronimo/Building

The comment on the change is:
Describe the new build procedure

------------------------------------------------------------------------------
  $ svn checkout http://svn.apache.org/repos/asf/geronimo/trunk geronimo
  $ cd geronimo
  $ maven m:fresh-checkout
-   [ BE CAREFUL: Deletes checkout of OpenEJB and checks it out again and updates Geronimo
-   ]
  $ maven
-   [ Same as m:clean m:clean-repo m:default 
-     and it includes geronimo-spec modules
-   ]
  }}}
-      This builds '''j2ee-jetty-server''' and '''j2ee-tomcat-server''' in `assemblies/j2ee-jetty-server`
and `assemblies/j2ee-tomcat-server` directory respectively.
+ This builds '''j2ee-jetty-server''' and '''j2ee-tomcat-server''' in `assemblies/j2ee-jetty-server`
and `assemblies/j2ee-tomcat-server` directory, respectively.
  Build the second time with: 
      {{{
  $ maven m:update 
+ $ maven -o
-   [ updates OpenEJB
-   ]
- $ maven m:rebuild -o
-   [ Deletes all targets and runs tests again.
-   ]
  }}}
  
- The "m:update" gets new code from cvs/svn, and the "m:rebuild" rebuilds.  The "-o" flag
tells Maven to build offline, which is much faster than the default online process.  Occasionally,
though, the offline build might fail if some dependency goes out of date; in that case you'll
want to run `maven m:rebuild` without the "-o" flag. See [http://wiki.apache.org/geronimo/Building#head-fbeacda90e0376260d2c28af9c0f41ebae58953b
"Building geronimo and related projects] on this page for further cures to build failures:
`-Dmaven.test.skip=true` and/or `-Dmaven.itest.skip=true`).  
+ The ''m:update'' gets new code from cvs/svn whereas ''maven -o'' builds them in the offline
mode (without downloading the dependencies) using ''new'' goal.  The "-o" flag tells Maven
to build offline, which is much faster than the default online process.  Occasionally, though,
the offline build might fail if some dependency goes out of date; in that case you'll want
to run `maven new` without the ''-o'' flag. See [http://wiki.apache.org/geronimo/Building#head-fbeacda90e0376260d2c28af9c0f41ebae58953b
"Building geronimo and related projects] on this page for further cures to build failures:
`-Dmaven.test.skip=true` and/or `-Dmaven.itest.skip=true`).  
  
  Run the server with the debug console web application:  
      {{{

Mime
View raw message