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.
I tried to build an nbm for my module and I couldn't get it to include the license I need. To reproduce: 1. Add the following line to db/derby/nbproject/project.properties: license.file=../external/derby-10.1.1.0-license.txt 2. Run ant nbm in the db/derby directory => File Info/info.xml inside the created nbm file does not contain my license I investigated a bit, and found out that during the build, file nbbuild/default-properties.xml is run first, which sets incorrect value of property license.file on line 19. Only after that, target basic-init in nbbuild/templates/common.xml is run, but line 24 (which should read my value of the license.file property) has no effect since license.file is already set.
license.file is not supported for netbeans.org modules. You will need to override the nbm target. You would need to do this anyway to include the normal combination of the SPL for the module itself plus an external license for the bundled binary. Look at any other nb.org module with a bundled third-party file to see how it is done.
Thanks for the hint. Does this also mean that the behavior of the UI for setting the license.file property in the module properties dialog should be different for netbeans.org modules?
May be I could disable it, or hide at all, for NB.org modules? Shouldn't be a big problem.
Yes please disable for nb.org modules. I just changed the spec.
Off-topic. In cases like this should I disable also JLabel or just "live" components like JButton, JTextField, .... The former(disabling also JLabels) seems to be more natural to me. Fixed (+ few minor UI tweaks) Checking in ui/customizer/CustomizerPackaging.form; 1.2 --> 1.3 Checking in ui/customizer/CustomizerPackaging.java; 1.11 --> 1.12 Checking in ui/customizer/SingleModuleProperties.java; 1.26 --> 1.27
I guess you should also disable JLabel's, for A11Y purposes. I don't know of any guidelines on this.
verified