Return-Path: Delivered-To: apmail-db-jdo-dev-archive@www.apache.org Received: (qmail 28544 invoked from network); 13 Feb 2005 22:10:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 13 Feb 2005 22:10:28 -0000 Received: (qmail 32569 invoked by uid 500); 13 Feb 2005 22:10:27 -0000 Mailing-List: contact jdo-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jdo-dev@db.apache.org Delivered-To: mailing list jdo-dev@db.apache.org Received: (qmail 32555 invoked by uid 99); 13 Feb 2005 22:10:27 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mail.spree.de (HELO miraculix.spree.de) (62.154.194.149) by apache.org (qpsmtpd/0.28) with ESMTP; Sun, 13 Feb 2005 14:10:26 -0800 Received: from [172.16.2.80] (vpn-server [192.168.16.104]) by miraculix.spree.de (8.11.6/8.11.6) with ESMTP id j1DMAIO20660 for ; Sun, 13 Feb 2005 23:10:18 +0100 Message-ID: <420FD04C.6040902@spree.de> Date: Sun, 13 Feb 2005 23:10:20 +0100 From: Michael Bouschen Organization: Tech@Spree Engineering User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: jdo-dev@db.apache.org Subject: Apache JDO and maven Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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 Tech@Spree Engineering GmbH mailto:mbo.tech@spree.de http://www.tech.spree.de/ Tel.:++49/30/235 520-33 Buelowstr. 66 Fax.:++49/30/2175 2012 D-10783 Berlin