[Engine-devel] Java 7: Fix namespaces use in OVF writer
Keith Robertson
kroberts at redhat.com
Fri May 18 13:58:18 UTC 2012
Juan,
I wouldn't consider it an exhaustive test by any means, but I have a
simple .ovf file in the Image Uploader GIT repo that I do unit testing
with. You can review the OVF XML file therein if you like.
FWIW, I would recommend you simply export an image from an "unpatched"
oVirt engine and just compare the resulting XML to a patched version.
1: git clone gerrit.ovirt.org:ovirt-image-uploader
2: cd ovirt-image-uploader/src
3: tar -xvf sample.ovf <- This is a portable/exported "image"
- Note: For some reason there seems to be a consensus to append/apply
the .ovf extension to .tgz file image files. It is somewhat confusing,
IMHO.
4: Look at
master/vms/5272b689-cd9f-4532-9b5d-2413eb7b9402/5272b689-cd9f-4532-9b5d-2413eb7b9402.ovf
for an OVF XML file.
Cheers,
Keith
On 05/18/2012 06:43 AM, Juan Hernandez wrote:
> Hello,
>
> I recently submitted a change to fix the way we manage namespaces in
> the OVF writer:
>
> http://gerrit.ovirt.org/4540
>
> The problem is that it doesn't work with the StAX reference
> implementation included with Java 7.
>
> With the patched OVF writer I generated the attached OVF file. I would
> appreciate if someone can take a quick look at it and tell me if it is
> correct. I would also appreciate if you can send me known good OVF
> files generated by the engine, to compare them with the ones produced
> with the patched OVF writer.
>
> Thanks in advance,
> Juan Hernandez
>
>
> _______________________________________________
> Engine-devel mailing list
> Engine-devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/engine-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/engine-devel/attachments/20120518/a4f5d0c6/attachment.html>
More information about the Engine-devel
mailing list