Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 36633 invoked from network); 14 Feb 2011 15:45:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Feb 2011 15:45:21 -0000 Received: (qmail 1107 invoked by uid 500); 14 Feb 2011 15:45:21 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 855 invoked by uid 500); 14 Feb 2011 15:45:19 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 830 invoked by uid 99); 14 Feb 2011 15:45:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Feb 2011 15:45:18 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Feb 2011 15:45:17 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 7F5AB1A4467 for ; Mon, 14 Feb 2011 15:44:57 +0000 (UTC) Date: Mon, 14 Feb 2011 15:44:57 +0000 (UTC) From: "Knut Anders Hatlen (JIRA)" To: derby-dev@db.apache.org Message-ID: <2027192022.14977.1297698297518.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <391704744.10151.1297416302105.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Commented: (DERBY-5023) Cannot find Ant libraries when building from NetBeans MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DERBY-5023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12994342#comment-12994342 ] Knut Anders Hatlen commented on DERBY-5023: ------------------------------------------- Oops... This change seems to have broken the build in the Tinderbox: http://dbtg.foundry.sun.com/derby/test/tinderbox_trunk16/UpdateInfo/1070502-buildDetails.txt I can reproduce this build break using Ant 1.6.5. BUILDING.html however states that Ant 1.7.0 or newer is required, so I'll check which version is used by the Tinderbox and update it if needed. > Cannot find Ant libraries when building from NetBeans > ----------------------------------------------------- > > Key: DERBY-5023 > URL: https://issues.apache.org/jira/browse/DERBY-5023 > Project: Derby > Issue Type: Bug > Components: Build tools > Affects Versions: 10.7.1.1 > Reporter: Knut Anders Hatlen > Assignee: Knut Anders Hatlen > Priority: Minor > Fix For: 10.8.0.0 > > Attachments: properties.diff > > > Building Derby doesn't work out of the box in NetBeans. The wiki page http://wiki.apache.org/db-derby/BuildingDerby instructs NetBeans users to specify the ant.library.dir property in order to get the build working. > The Ant documentation says the following about the ant.library.dir property: "The following property is only set if Ant is started via the Launcher class (which means it may not be set inside IDEs either)" - http://ant.apache.org/manual/properties.html > Since the property is not guaranteed to be set, I suggest that we replace references to "${ant.library.dir}/ant.jar" with references to "${ant.core.lib}" in the build scripts. According to the above mentioned Ant manual page the ant.core.lib property should always be available and point to ant.jar. Changing this makes it possible to build Derby from NetBeans with no special customization. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira