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 194446

Summary: JAXB support should disable compile on save for project or implement JR
Product: xml Reporter: Tomas Zezula <tzezula>
Component: JAXBAssignee: Svata Dedic <sdedic>
Status: RESOLVED FIXED    
Severity: normal CC: ads, jlahoda, pjiricka
Priority: P3    
Version: 7.0   
Hardware: PC   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 152191, 188614    

Description Tomas Zezula 2011-01-18 19:34:41 UTC
See http://netbeans.org/bugzilla/show_bug.cgi?id=151845#c13 for more details.
Comment 1 Denis Anisimov 2011-01-18 20:04:20 UTC
Please don't mix up webservices product with XML .
This is plain JAXB functionality which doesn't relate to WS.
Comment 2 Petr Jiricka 2011-01-21 16:32:54 UTC
Well, this problem blocks issue 188614, which *is* webservices-related. Also, web services (both SOAP and REST) are the main use case for JAXB as the technology, so from this point of view this is also related.

So in general, it looks like any plugin that uses o.n.api.project.ant.AntBuildExtender may break Compile on Save, right? Anyone who uses this API may need to consider whether CoS will be affected, and possibly take some action (disable CoS or implement JR). 
Conceptually, AntBuildExtender seems similar to annotation processors, in that it may generate extra files during build, with which we somehow need to deal with. 

The important aspect of JAXB is that classes generated by JAXB are typically used as API by other classes in the system, so they should ideally be always up to date, visible in code completion etc.
Comment 3 Svata Dedic 2012-03-16 17:08:25 UTC
Changeset: be55032e42d4
Author:    Svata Dedic <sdedic@netbeans.org>
Date:      2012-03-16 18:08
Message:   Issue #194446 - JAXB support should disable compile on save for project or implement JR: fixed
CoS disabled iff there is some JAXB mapping. Deletion of all mappings will remove the restriction from CoS.
Comment 4 Quality Engineering 2012-03-17 10:38:49 UTC
Integrated into 'main-golden', will be available in build *201203170400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/be55032e42d4
User: Svata Dedic <sdedic@netbeans.org>
Log: Issue #194446 - JAXB support should disable compile on save for project or implement JR: fixed
CoS disabled iff there is some JAXB mapping. Deletion of all mappings will remove the restriction from CoS.