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

Summary: Don't depend on deprecated o.jdesktop.layout module
Product: guibuilder Reporter: Jiri Skrivanek <jskrivanek>
Component: CodeAssignee: issues@guibuilder <issues>
Status: NEW ---    
Severity: normal CC: anebuzelsky, jtulach
Priority: P3    
Version: 7.4   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 226321, 226322    
Bug Blocks:    

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.