@@ -0,0 +1,1762 @@
+/**%0A * %0A * This software is licensed under the GNU General Public License v3 or later.%0A * %0A * It is free software: you can redistribute it and/or modify%0A * it under the terms of the GNU General Public License as published by%0A * the Free Software Foundation, either version 3 of the License, or any later version.%0A * This program is distributed in the hope that it will be useful,%0A * but WITHOUT ANY WARRANTY; without even the implied warranty of%0A * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the%0A * GNU General Public License for more details.%0A * %0A * You should have received a copy of the GNU General Public License%0A * along with this program.  If not, see %3Chttp://www.gnu.org/licenses/%3E.%0A * %0A */%0Apackage com.cloud.hypervisor.xen.resource;%0A%0A%0Aimport javax.ejb.Local;%0Aimport org.apache.log4j.Logger;%0Aimport org.apache.xmlrpc.XmlRpcException;%0A%0Aimport com.cloud.hypervisor.xen.resource.CitrixResourceBase;%0Aimport com.xensource.xenapi.VM;%0Aimport com.cloud.resource.ServerResource;%0Aimport com.xensource.xenapi.Connection;%0Aimport com.xensource.xenapi.Types.XenAPIException;%0A%0A%0A@Local(value=ServerResource.class)%0Apublic class XenServerResource extends CitrixResourceBase %7B%0A    private static final Logger s_logger = Logger.getLogger(XenServerResource.class);%0A    %0A   %0A    public XenServerResource() %7B%0A        super();%0A    %7D%0A    %0A    @Override%0A    protected String getGuestOsType(String stdType) %7B%0A        return stdType;%0A    %7D%0A%0A    @Override%0A    protected void setMemory(Connection conn, VM vm, long memsize) throws XmlRpcException, XenAPIException %7B%0A        vm.setMemoryLimits(conn, memsize, memsize, memsize, memsize);%0A    %7D   %0A %0A    @Override%0A    protected String getPatchPath() %7B%0A        return %22scripts/vm/hypervisor/xenserver/xenserver56%22;%0A    %7D%0A%0A%7D%0A

fix build, add XenServerResource.java