Content
Table of Contents |
---|
Prerequisites
Section | ||||||
---|---|---|---|---|---|---|
|
...
Tip | ||
---|---|---|
| ||
Windows users are strongly encouraged to checkout Geronimo into Using a longer path may cause the build (and Geronimo itself) to behave very strangely when it hits the 260 char limit for filenames on Windows. |
Advanced users may proceed to instructions for the advanced users
Preparing to build for the first time
...
bootstrap clean
bootstrap specs
bootstrap modules
bootstrap openejb2
bootstrap assemble
Note for
bootstrap specs
you need Java 1.5.
Distribution binaries
The binaries for distribution can be found in the *.zip
and *.tar.gz
formats in following places
...
Note | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
In order to run with the simple
If you don't want to add this to your local settings you can still enable the |
For the Advanced Users
Anchor | ||||
---|---|---|---|---|
|
Installing Ant is not necessary. Checkout specs and openejb2 using
No Format |
---|
svn co http://svn.apache.org/repos/asf/geronimo/specs/trunk specs svn co https://svn.apache.org/repos/asf/incubator/openejb/trunk/openejb2 openejb2 |
Building specs
If you do not care about JEE 1.5 comment out the following lines in specs/pom.xml -
<!-- <module>geronimo-annotation_1.0_spec</module> -->
<!-- <module>geronimo-ejb_3.0_spec</module> -->
<!-- <module>geronimo-interceptor_3.0_spec</module> -->
<!-- <module>geronimo-jpa_3.0_spec</module> -->
<!-- <module>geronimo-jta_1.1_spec</module> -->
If you want to build the full specs you must use jdk 1.5. Build specs using
No Format |
---|
cd specs
mvn clean install
|
Building Geronimo with openejb2
Add a profile to the top level pom.xml like this
Code Block | ||||
---|---|---|---|---|
| ||||
<profile>
<id>build-all</id>
<activation>
<property>
<name>all</name>
</property>
</activation>
<modules>
<module>testsupport</module>
<module>modules</module>
<module>maven-plugins</module>
<module>applications</module>
<module>openejb2</module>
<module>configs</module>
<module>assemblies</module>
</modules>
</profile>
|
Build geronimo and openejb2 from the top directory using
No Format |
---|
mvn -Dall clean install or mvn -Dall
|
Other Useful commands
To prepare Geronimo for IDEA:
No Format |
---|
mvn idea:idea |
To prepare Geronimo for Eclipse, i.e to create .classpath and .project files
No Format |
---|
mvn eclipse:eclipse |
What is Genesis?
Please see Genesis Overview for more information about Genesis.