You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by Apache Wiki <wi...@apache.org> on 2005/05/11 14:36:07 UTC
[Geronimo Wiki] Update of "Building" by AnitaKulshreshtha
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 AnitaKulshreshtha:
http://wiki.apache.org/geronimo/Building
The comment on the change is:
removed references to ActiveMQ and Howl to reflect latest goals
------------------------------------------------------------------------------
$ svn checkout http://svn.apache.org/repos/asf/geronimo/trunk geronimo
$ cd geronimo
$ maven m:fresh-checkout
- [ BECAREFUL: Deletes checkout of ActiveMQ, HOWL, OpenEJB, and TranQL
+ [ BECAREFUL: Deletes checkout of OpenEJB, and TranQL
- and checks them out again
+ and checks them out again and updates Geronimo
]
$ maven m:rebuild-all
[ Same as m:clean m:clean-repo m:default
@@ -36, +36 @@
Build next time with:
{{{
- $ maven m:update
+ $ maven m:update
+ [ updates OpenEJB and TranQL
+ ]
$ maven m:rebuild -o
+ [ Deletes all targets and the tests are run 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 (cf. the section "Building geronimo and related projects" on this page for further cures to build failures: `-Dmaven.test.skip=true` and/or `-Dmaven.itest.skip=true`).
@@ -85, +89 @@
Edit project.properties and set the cvs info appropriately for any project you may be a committer on.
- run `maven m:checkout` to get ActiveMQ, HOWL, OpenEJB, and TranQL from cvs.
+ run `maven m:checkout` to get OpenEJB, and TranQL from cvs.
- run `maven m:build` to build everything. There may be test failures in other projects, so you may need `-Dmaven.test.failure.ignore=true`. You might need to run twice to make sure all plugins are installed before they are used.
+ run `maven m:build` or just maven to build everything. There may be test failures in other projects, so you may need `-Dmaven.test.failure.ignore=true`. You might need to run twice to make sure all plugins are installed before they are used.
To prevent the itests from running in the openejb build, you need `-Dmaven.itest.skip=true` defined.
If the build fails in OpenEJB :: Integration Tests, try `maven m:build -o -Dmaven.test.skip=true -Dmaven.itest.skip=true`.
- To remove the local maven repository artifacts of ActiveMQ, Geronimo, HOWL, OpenEJB, and TranQL, do `maven m:clean-repo` -- and build again.
+ To remove the local maven repository artifacts of Geronimo, OpenEJB, and TranQL, do `maven m:clean-repo` -- and build again.
= Building Offline =