This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 226323 - Don't depend on deprecated o.jdesktop.layout module
Summary: Don't depend on deprecated o.jdesktop.layout module
Status: NEW
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on: 226321 226322
Blocks:
  Show dependency tree
 
Reported: 2013-02-19 12:26 UTC by Jiri Skrivanek
Modified: 2013-06-19 08:24 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2013-02-19 12:26:36 UTC
Please, remove deprecated o.jdesktop.layout module if possible. It is deprecated since 2010 (see bug 179668).
Comment 1 Jiri Skrivanek 2013-02-19 13:04:40 UTC
Since o.jdesktop.layout module cannot be removed as stated in bug 226321 then at least add a condition to not check form.nb -> o.jdesktop.layout dependency in core.startup#NbInstaller.
Comment 2 Jaroslav Tulach 2013-06-19 08:24:48 UTC
Following change fixes the warning for me:

diff -r ba239a49b97e form.nb/nbproject/project.xml
--- a/form.nb/nbproject/project.xml     Wed Jun 19 10:02:29 2013 +0200
+++ b/form.nb/nbproject/project.xml     Wed Jun 19 10:21:43 2013 +0200
@@ -50,13 +50,6 @@
             <code-name-base>org.netbeans.modules.form.nb</code-name-base>
             <module-dependencies>
                 <dependency>
-                    <code-name-base>org.jdesktop.layout</code-name-base>
-                    <run-dependency>
-                        <release-version>1</release-version>
-                        <specification-version>1.18</specification-version>
-                    </run-dependency>
-                </dependency>
-                <dependency>
                     <code-name-base>org.netbeans.api.java</code-name-base>
                     <build-prerequisite/>
                     <compile-dependency/>

Passing to form.nb owner for review. But as org.jdesktop.layout is just a library for end user applications, I don't see a reason the module would have to be enabled and on classpath of form.nb.