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 230494 - is dependency on JAXB 2.2 library still needed?
Summary: is dependency on JAXB 2.2 library still needed?
Status: STARTED
Alias: None
Product: webservices
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Milan Kuchtiak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-30 01:39 UTC by David Konecny
Modified: 2013-08-14 13:26 UTC (History)
1 user (show)

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Konecny 2013-05-30 01:39:30 UTC
For example websvc.saas.api module depends on JAXB 2.2 library bundled with the IDE but JAXB 2.2 i spart of JDK 7 now and so I think we could eliminate JAXB library and JAXB API module and use simply JDK, no? Please evaluate. Thanks.
Comment 1 Milan Kuchtiak 2013-06-05 14:28:15 UTC
There are few modules dependent on JAXB API, which is not needed anymore I agree.
Comment 2 Milan Kuchtiak 2013-08-13 09:47:11 UTC
Get rid of most dependencies (from standard Netbeans modules):
http://hg.netbeans.org/web-main/rev/ba11a61a1e4c

Some friend dependencies still left, mainly related to unknown modules:

org.netbeans.modules.aspect.editor
org.netbeans.modules.compapp.projects.jbi
org.netbeans.modules.compapp.configextension
org.netbeans.modules.soa.palette.java
org.netbeans.modules.jaxb.project
org.netbeans.modules.visualweb.websvcmgr
org.netbeans.modules.uml
org.netbeans.modules.uml.drawingarea
it.imolinfo.jbi4corba.netbeansplugin.libraries

Searching for the owners and, if allowed, friends will be removed from the list.
For now, changing this bug to task.
Comment 3 Milan Kuchtiak 2013-08-13 13:20:00 UTC
Some other friends removed:
http://hg.netbeans.org/web-main/rev/b3aa5aa0ad65
Comment 4 David Konecny 2013-08-13 19:44:33 UTC
Is the module still part of NB build? And if it is could it be removed? I think it is OK to keep some old API friend as long as they all are not part of daily dev builds.
Comment 5 Milan Kuchtiak 2013-08-14 09:03:51 UTC
JAXB2.2 library couldn't be removed yet, as websvc.jaxwsmodel still depends on this library.

@Schema2Beans generator doesn't work without this dependency. 
Farther investigation required.
Comment 6 Milan Kuchtiak 2013-08-14 13:26:04 UTC
Sorry @schema2beans is not the issue.

websvc.jaxwsmodel depends on some non-api jax-ws/jaxb classes. e.g.  com.sun.tools.ws.wscompile.ErrorReceiver (from jaxws-tools.jar), that implements com.sun.tools.xjc.api.ErrorListener (from jaxb-xjc.jar). 

Unfortunatelly, the dependency on JAX-WS library is quite strong, but we can move those public packages from JAXB library to JAX-WS library.

However, having JAXB 2.2 (user) library definition in JAXB 2.2 library module is still useful for jdk5 project types.