Hi,

The apache JDO project uses maven for build. With this email I like to summarize some info about how to use maven to build the apache JDO sub-projects. You find the latest working copy of the apache JDO copy at http://wiki.apache.org/jdo/SubversionRepository.

The maven home page: http://maven.apache.org/.
The current maven version is 1.0.2, you can download it from http://maven.apache.org/start/download.html.


You find a "Getting Started" at http://maven.apache.org/start/index.html.
You need at least two environment variables:
- MAVEN_HOME root directory of your maven installation
- JAVA_HOME root directory of your JDK installation
I needed to extend the JVM heap size when running some maven goals. The easiest way is defining the environment variable MAVEN_OPTS=-Xmx512m.
Another useful link is the user guide at http://maven.apache.org/reference/user-guide.html.


Are you running an IDE? There is a nice maven plugin called Mevenide for Netbeans: http://mevenide.codehaus.org. I propose to use Netbeans autoupdate feature and point it to the Mevenide site. You find details at http://mevenide.codehaus.org/download.html.

Once you installed maven you could try to build the apache jdo maven project. You find the latest zip at http://wiki.apache.org/jdo/SubversionRepository. Unzip the file, cd to the directory jdo and then call
maven -Dgoal=build multiproject:goal
to build the sub-projects api11, btree, ri11, and tck11. This will take a while, since this compiles and tests the 4 sub-projects. The following command builds everything including the documentation:
maven multiproject:site


Maven allows to set a HTTP proxy host and port so that it can tunnel through a HTTP Proxy if you are behind a firewall. You find details at http://maven.apache.org/reference/user-guide.html#Using_Proxies.

Regards Michael

--
Michael Bouschen                [EMAIL PROTECTED] Engineering GmbH
mailto:[EMAIL PROTECTED]        http://www.tech.spree.de/
Tel.:++49/30/235 520-33         Buelowstr. 66                   
Fax.:++49/30/2175 2012          D-10783 Berlin                  



Reply via email to