Juan Hernandez has submitted this change and it was merged.
Change subject: codegen: Use SDK specific JAXB bindings
......................................................................
codegen: Use SDK specific JAXB bindings
Currently the SDK uses the same JAXB global bindings used by the engine,
because used to be identical. But recently (in commit a57a6a) the engine
started to use global bindings tha aren't suitable for the SDK. These
bindings used by tne engine already been moved to a separate file in
commit 8acd13. This means that they won't be present in the XML schema
generated by the engine. But some of these global bindings are needed by
the SDK as well, in particular the setting that enables generation of
"isSet" methods. This patch adds a bindings file specific to the SDK,
that contains only the global bindings needed by the SDK.
Change-Id: I946db48bee9d5b9fc6d33ade2fa26b0891f99aaa
Signed-off-by: Juan Hernandez <juan.hernandez(a)redhat.com>
(cherry picked from commit 5218df693721e56916fca6deb6ae77900eb0bf2d)
---
M ovirt-engine-sdk-java-codegen/pom.xml
M ovirt-engine-sdk-java-codegen/src/main/java/org/ovirt/engine/sdk/codegen/Main.java
M
ovirt-engine-sdk-java-codegen/src/main/java/org/ovirt/engine/sdk/codegen/xsd/XsdCodegen.java
A ovirt-engine-sdk-java-codegen/src/main/resources/api.xjb
M ovirt-engine-sdk-java-codegen/src/main/resources/api.xsd
5 files changed, 39 insertions(+), 21 deletions(-)
Approvals:
Juan Hernandez: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/24320
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I946db48bee9d5b9fc6d33ade2fa26b0891f99aaa
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine-sdk-java
Gerrit-Branch: sdk_3.4
Gerrit-Owner: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez(a)redhat.com>