db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (JIRA)" <j...@apache.org>
Subject [jira] Closed: (DERBY-5023) Cannot find Ant libraries when building from NetBeans
Date Mon, 14 Feb 2011 14:22:57 GMT

     [ https://issues.apache.org/jira/browse/DERBY-5023?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Knut Anders Hatlen closed DERBY-5023.

          Resolution: Fixed
       Fix Version/s:
    Issue & fix info:   (was: [Patch Available])

Committed revision 1070501.

> 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:
>            Reporter: Knut Anders Hatlen
>            Assignee: Knut Anders Hatlen
>            Priority: Minor
>             Fix For:
>         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
> 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


View raw message