Juan Hernandez has posted comments on this change. Change subject: restapi: Use maven-jaxb2-plugin ......................................................................
Patch Set 1: In order to build the RESTAPI in Fedora we need to use the version of the plugin available there. The code generated with the new version of the plugin is almost identical, except comments and some annotations that include explicit parameters (instead of using the defaults) in the new version, for example: --- old/org/ovirt/engine/api/model/BaseResource.java +++ new/org/ovirt/engine/api/model/BaseResource.java // -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833 +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.02.21 at 06:25:44 PM CET +// Generated on: 2012.02.22 at 05:27:13 PM CET // @@ -91,9 +91,9 @@ protected Status creationStatus; @XmlElement(name = "link") protected List<Link> links; - @XmlAttribute + @XmlAttribute(name = "href") protected String href; - @XmlAttribute + @XmlAttribute(name = "id") protected String id; /** -- To view, visit http://gerrit.ovirt.org/2222 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I498ad50f280cd7f6e8ac0734169000e75bb85a1b Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Juan Hernandez <juan.hernan...@redhat.com> Gerrit-Reviewer: Juan Hernandez <juan.hernan...@redhat.com> Gerrit-Reviewer: Michael Pasternak <mpast...@redhat.com> Gerrit-Reviewer: Oved Ourfali <oourf...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches