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] [Updated] (DERBY-5286) Remove or update tools/ide/netbeans directory
Date Wed, 29 Jun 2011 08:17:32 GMT

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

Knut Anders Hatlen updated DERBY-5286:
--------------------------------------

    Attachment: build-jars.diff

The previous patch set output to the classes directory. After having used this setting for
a little while, I've found it to be suboptimal, since you cannot add the Derby project as
a dependency in another NetBeans project if output is set to directories only. This patch
changes output to point to the jar files, and also makes the project build the jar files.

Committed revision 1140995.

> Remove or update tools/ide/netbeans directory
> ---------------------------------------------
>
>                 Key: DERBY-5286
>                 URL: https://issues.apache.org/jira/browse/DERBY-5286
>             Project: Derby
>          Issue Type: Improvement
>          Components: Build tools
>    Affects Versions: 10.9.0.0
>            Reporter: Knut Anders Hatlen
>            Assignee: Knut Anders Hatlen
>            Priority: Minor
>         Attachments: build-jars.diff, nb-debug.diff, update-project.diff
>
>
> The tools/ide directory contains projects for two versions of NetBeans (5.5 and 6.0).
Since they haven't been updated for newer versions of NetBeans, I suppose it means they aren't
used much. Also, since there are two of them, NetBeans gets confused as to which of the projects
to use, and I have experienced that it often uses a mix of the 5.5 and 6.0 projects for the
open source files, which causes problems for navigation and debugging. The problem with having
multiple NetBeans projects pointing to the same source is described here: http://wiki.netbeans.org/FaqSourceRootOverlap
> To prevent these problems, we should either remove the tools/ide/netbeans directory and
let NetBeans users create their own projects (there a pretty good description on the wiki:
http://wiki.apache.org/db-derby/BuildingDerby#Using_NetBeans_to_Build_Derby ), or provide
an updated project and remove the old ones.
> (The project files aren't really tied to a particular version of NetBeans and can be
opened by newer versions. But the projects still need to be updated to be usable, I think.
For example, they should have project-specific formatting settings (added in NB 6.5, I think)
which set tab size to 4, since setting tab size globally to 4 as you would have to with the
current projects, only works if Derby is the only project you're working on in NetBeans.)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message