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.
Product Version = NetBeans IDE Dev (Build 201011280001) Operating System = Windows XP version 5.1 running on x86 Java; VM; Vendor = 1.6.0_20 Runtime = Java HotSpot(TM) Client VM 16.3-b01 When I open my JAXB projects created under 201011250001, the project cannot be built or tested properly due to missing references within JAXB-ENDORSED library. Based on the contents of the library within the Library Manager, the library has a hard reference to the 201011250001 JAXB files instead of a relative reference to the JAXB libraries provided by NetBeans.
Changeset: d3c10b87b374 Author: Svata Dedic <sdedic@netbeans.org> Date: 2011-11-14 14:43 Message: #192614: Library defined in a layer, rather than programmatically. nbist: URL used. Issue #192614 - [70cat][xml] JAXB-ENDORSED library missing components.: fixed
Did you really want to use "JAXB-ENDORSED" as the display name? Looks ugly to me. BTW bundlevalue="org/netbeans/modules/xml/jaxb/Bundle#JAXB-ENDORSED" should be bundlevalue="org.netbeans.modules.xml.jaxb.Bundle#JAXB-ENDORSED".
Also: in 5cde338c31ce ("Avoiding bug in ergonomics" - which bug? filed?), you probably meant to use nbres protocol, not nbresloc: the contents of the library descriptor would not normally be localized by creating e.g. org/netbeans/modules/xml/jaxb/jaxb-endorsed_ja.xml. (The display name can already be localized due to use of bundlevalue, and anyone wanting to customize the library in a branded app can already do so using a branding layer.)
Re. display name - I didn't want to change the appearance to the user; a library using this dispname was automatically created if the user used JAXB wizard && the library did not exist yet in 6.9-7.0x If you feel like "JAXB API" or "JAXB runtime" would be more appropriate, I'll change it.
You know the use case, it just looked like a mistake from reviewing layers.txt changes.
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/d3c10b87b374 User: Svata Dedic <sdedic@netbeans.org> Log: #192614: Library defined in a layer, rather than programmatically. nbist: URL used. Issue #192614 - [70cat][xml] JAXB-ENDORSED library missing components.: fixed