WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-api

[Xen-API] [PATCH] # HG changeset patch

To: xen-api@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-API] [PATCH] # HG changeset patch
From: Thomas Gazagnaire <thomas.gazagnaire@xxxxxxxxxx>
Date: Fri, 18 Dec 2009 12:32:30 +0000
Delivery-date: Fri, 18 Dec 2009 04:32:37 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Thomas Gazagnaire <thomas.gazagnaire@xxxxxxxxxx>
# HG changeset patch 
# User Thomas Gazagnaire <thomas.gazagnaire@xxxxxxxxxx>
CA-21237: Fix compilation of java bindings by renaming error-code to error_code.

Signed-off-by: Thomas Gazagnaire <thomas.gazagnaire@xxxxxxxxxx>

diff -r 2eb768a7ff47 ocaml/idl/datamodel.ml
--- a/ocaml/idl/datamodel.ml    Mon Dec 14 20:25:06 2009 +0000
+++ b/ocaml/idl/datamodel.ml    Tue Dec 15 16:44:11 2009 +0000
@@ -457,21 +457,21 @@
     ~doc:"The VSS plug-in cannot be contacted" ();
   error Api_errors.vm_snapshot_with_quiesce_not_supported [ "vm"; "error" ]
     ~doc:"The VSS plug-in is not installed on this virtual machine" ();
-  error Api_errors.xen_vss_req_error_init_failed [ "vm"; "error-code" ]
+  error Api_errors.xen_vss_req_error_init_failed [ "vm"; "error_code" ]
     ~doc:"Initialization of the VSS requestor failed" ();
-  error Api_errors.xen_vss_req_error_prov_not_loaded [ "vm"; "error-code" ]
+  error Api_errors.xen_vss_req_error_prov_not_loaded [ "vm"; "error_code" ]
     ~doc:"The Citrix XenServer Vss Provider is not loaded" ();
-  error Api_errors.xen_vss_req_error_no_volumes_supported [ "vm"; "error-code" 
]
+  error Api_errors.xen_vss_req_error_no_volumes_supported [ "vm"; "error_code" 
]
     ~doc:"Could not find any volumes supported by the Citrix XenServer Vss 
Provider" ();
-  error Api_errors.xen_vss_req_error_start_snapshot_set_failed [ "vm"; 
"error-code" ]
+  error Api_errors.xen_vss_req_error_start_snapshot_set_failed [ "vm"; 
"error_code" ]
     ~doc:"An attempt to start a new VSS snapshot failed" ();
-  error Api_errors.xen_vss_req_error_adding_volume_to_snapset_failed [ "vm"; 
"error-code" ]
+  error Api_errors.xen_vss_req_error_adding_volume_to_snapset_failed [ "vm"; 
"error_code" ]
     ~doc:"Some volumes to be snapshot could not be added to the VSS snapshot 
set" ();
-  error Api_errors.xen_vss_req_error_preparing_writers [ "vm"; "error-code" ]
+  error Api_errors.xen_vss_req_error_preparing_writers [ "vm"; "error_code" ]
     ~doc:"An attempt to prepare VSS writers for the snapshot failed" ();
-  error Api_errors.xen_vss_req_error_creating_snapshot [ "vm"; "error-code" ]
+  error Api_errors.xen_vss_req_error_creating_snapshot [ "vm"; "error_code" ]
     ~doc:"An attempt to create the snapshots failed" ();
-  error Api_errors.xen_vss_req_error_creating_snapshot_xml_string [ "vm"; 
"error-code" ]
+  error Api_errors.xen_vss_req_error_creating_snapshot_xml_string [ "vm"; 
"error_code" ]
     ~doc:"Could not create the XML string generated by the transportable 
snapshot" ();
   error Api_errors.vm_revert_failed [ "vm"; "snapshot" ]
     ~doc:"An error occured while reverting the specified virtual machine to 
the specified snapshot" ();

Attachment: xapi-fix-compilation-of-java-bindings
Description: Text document

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-API] [PATCH] # HG changeset patch, Thomas Gazagnaire <=