Build Apache Geronimo from scratch

Source: Internet
Author: User
Tags gz file svn zip root directory

Brief introduction

Apache Geronimo is rapidly evolving as an open source solution, and the new 1.0 version has been completed, and Geronimo has survived the original period. Large open source solutions such as Geronimo are always of concern to a large number of developers. Developers need to learn more about the structure of Geronimo in order to master the build process, whether they are committing or developing for internal use or business use.

This article discusses the following Geronimo build topics:

How to download and install the build applications that need to be used during the build process, namely Apache Maven and Subversion (SVN).

Learn about the related Geronimo directories in source and binary standard distributions, and their relationship to Geronimo as a whole.

Build Geronimo from scratch and log in to the Geronimo Console.

Use SVN to check out the latest version of Geronimo from svn.apache.org, and then log in to the Geronimo Console to test and run it.

Begin

This article uses Geronimo version 1.0 and assumes that you do not understand the Geronimo or Geronimo build process. To build Geronimo, you need a java™1.4.2_08 (or later version, but less than 1.5). Download Java code from Sun Microsystems company.

After downloading Java, download Geronimo version 1.0. In the Binaries and Source Code sections, select. zip (microsoft®windows® or linux®) or. tar.gz (Linux) files.

When the download is complete, unzip the. zip or. tar.gz file in the same directory so that the Geronimo installation is ready.

Because Geronimo uses Apache maven as the build tool, you also need to download Maven 1.1 Beta 2 from apache.org. Follow the simple installation instructions to operate it!

The last application that needs to be downloaded is Subversion, which will use it to check out the latest source code tree (head) from the Apache Geronimo Subversion repository.

Also, be sure to add the following environment variables:

Maven_home should be the root directory of Apache Maven installation.

Java_home should be the root directory of the Java installation.

Finally, make sure that the following directory is in the PATH variable:

<maven-install-dir>/bin

<geronimo-install-dir>/bin

<java-install-dir>/bin

<subversion-install-dir>/bin

Geronimo and initial Build

There are several directories in the downloaded binaries and source code installation. Binary downloads contain the core of Geronimo, which is required to run and use Geronimo. The source code download contains all the Geronimo source code, including the Maven build script used to build the entire tree. First, let's take a look at the binary release and then the source code release.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.