Return-Path: Delivered-To: apmail-incubator-harmony-commits-archive@www.apache.org Received: (qmail 74155 invoked from network); 8 May 2006 15:41:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 May 2006 15:41:17 -0000 Received: (qmail 2466 invoked by uid 500); 8 May 2006 15:41:05 -0000 Delivered-To: apmail-incubator-harmony-commits-archive@incubator.apache.org Received: (qmail 2389 invoked by uid 500); 8 May 2006 15:41:04 -0000 Mailing-List: contact harmony-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-commits@incubator.apache.org Received: (qmail 2345 invoked by uid 99); 8 May 2006 15:41:04 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 May 2006 08:41:04 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 May 2006 08:41:01 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 30454410009 for ; Mon, 8 May 2006 15:40:21 +0000 (GMT) Message-ID: <20513120.1147102821179.JavaMail.jira@brutus> Date: Mon, 8 May 2006 15:40:21 +0000 (GMT+00:00) From: "Tim Ellison (JIRA)" To: harmony-commits@incubator.apache.org Subject: [jira] Resolved: (HARMONY-439) java build improvements - delegation to modules In-Reply-To: <14996679.1146666234324.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/HARMONY-439?page=all ] Tim Ellison resolved HARMONY-439: --------------------------------- Resolution: Fixed Thanks Mark, Those tidy-ups look good. I applied your patch at repo revision 405075. Please check that the patch was applied as you expected. > java build improvements - delegation to modules > ----------------------------------------------- > > Key: HARMONY-439 > URL: http://issues.apache.org/jira/browse/HARMONY-439 > Project: Harmony > Type: Improvement > Components: Classlib > Reporter: Mark Hindess > Assignee: Tim Ellison > Priority: Minor > Attachments: 01.delegate.build.to.modules.sh, 02.delegate.build.to.modules.diff > > There are a couple of issues that could be tidied up: > 1) Currently we build java code into both 'build' and 'modules/*/bin/main' - we might avoid problems if we always built code to 'build'. This also means we build everything twice ... once into 'build' then again into 'modules/*/bin/main' when the tests are run. > 2) We build jars in two places 'make/build-java.xml' and 'modules/*/make/common/build.xml' - HARMONY-431 is proof that this is a bad idea. > 3) To make matters worse 'make/build-java.xml' builds the jars to a location under 'build' where as the module build creates straight into 'deploy'. > I suggest fixing these issues by delegating the building of the jars to the module ant files and to always build the code to the top-level 'build' directory. > I will submit a patch shortly. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira