Open glassfishrobot opened 13 years ago
Reported by tibobd
mwise said: With org.jvnet.jaxb2-commons property-listener-injector v1.1-SNAPSHOT you have this option available, it needs to go in your bindings.xjb file. See below:-
<?xml version="1.0" encoding ="UTF-8"?>
<jaxb:bindings
schemaLocation="po.xsd"
xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:li="http://jaxb.dev.java.net/plugin/listener-injector"
version="2.1"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<jaxb:bindings node="/xs:schema">
<li:listener>java.beans.PropertyChangeListener</li:listener>
</jaxb:bindings>
</jaxb:bindings>
Was assigned to lexi
This issue was imported from java.net JIRA JAXB2_COMMONS-27
Hi,
I want to use this plugin, but when i use it with command line argument '-Xinject-listener-code', generated beans aren't generated with PropertyChangeListeners butlListeners are generated with VetoableChangeListeners.
Issue can be fixed if you add the choice to generate PropertyChangeListeners by default or with a command argument.
Thanks
Environment
Operating System: All Platform: All
Affected Versions
[current]