Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You need svn and maven installed on your system.

Note

The samples for Geronimo 2.1 and earlier require maven Maven v 2.0.7 (maven v 2.0.9 is not supported). Samples for Geronimo 2.2 and later require maven v 2.0.9 or later.9 or later is required for building Geronimo 2.1 samples.

To check out the trunk 2.1.2 samples:

Code Block
svn co https://svn.apache.org/repos/asf/geronimo/samples/trunk
/tags/2.1.2 gsamples-2.1.2
Note

This assumes the Geronimo 2.1.2 samples have been released. Prior to release you can checkout the snapshot versions via:
svn co https://svn.apache.org/repos/asf/geronimo/samples/branches/2.1Image Added gsamples-2.1

Depending on when you look you may find earlier or released versions of the samples under samples/branches and samples/tags. You can browse in any web browser to see what's there. The trunk for samples always contains samples for the highest level version under development https://svn.apache.org/repos/asf/geronimo/samples/trunkImage Added

To install the 2.1.2 private repository, check out the tagged 2.1.2 repository and install it to your local maven 2 repository using maven.

Code Block
svn co https://svn.apache.org/repos/asf/geronimo/server/tags/2.1.02/repository g-repo
cd g-repo
mvn install
Note

This assumes the Geronimo 2.1.2 hase been released. Prior to release you can checkout the snapshot versions via:
svn co https://svn.apache.org/repos/asf/geronimo/branches/2.1/repositoryImage Added g-repo

Build using

Code Block
mvn clean install
Note

You will run into "Could not scan module for TLD files...Filename too long" problem if you uses Windows platform. If so, please check out samples to a short directory (14 characters or less).

There are minimal integration tests to assure that the sample plugins can be installed on the framework server. To run this tests use

...

Note

The integration tests are not available before prior to Geronimo 2.2

Installing samples as plugins

...