cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomasz Zięba <t.a.zi...@gmail.com>
Subject applying patch - manually change jar file
Date Mon, 24 Mar 2014 09:12:48 GMT
Hello,

How do I apply a patch to the ACS 4.2.1 ?

I have fixed file:
apache-cloudstack-4.2.1-src/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java

and would like to make apply this changes to cloudstack-management

After performing the following commands:

/usr/bin/javac -cp
/usr/share/java/commons-collections.jar:/usr/share/java/commons-dbcp.jar:/usr/share/java/commons-logging.jar:/usr/share/java/commons-logging-api.jar:/usr/share/java/commons-pool.jar:/usr/share/java/commons-httpclient.jar:/usr/share/java/ws-commons-util.jar:/usr/share/java/jnetpcap.jar:/usr/share/cloudstack-agent/lib/*:/usr/share/cloudstack-management/lib/*:/usr/share/cloudstack-common/lib/*:/usr/share/cloudstack-management/webapps/client/WEB-INF/lib/*
apache-cloudstack-4.2.1-src/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java

#find /usr/ -name "*.jar" -exec grep -Hls "xen.resource" {} \;

/usr/bin/jar -uvf
/usr/share/cloudstack-management/webapps/client/WEB-INF/lib/cloud-plugin-hypervisor-xen-4.2.1-SNAPSHOT.jar
apache-cloudstack-4.2.1-src/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.class
apache-cloudstack-4.2.1-src/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase$SRType.class
apache-cloudstack-4.2.1-src/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase$XsHost.class
apache-cloudstack-4.2.1-src/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase$XsLocalNetwork.class


and restart cloudstack-management, unfortunately, still uses the old
classes.

Thank you.

-- 
Regards,
Tomasz Zięba
Twitter: @TZieba
LinkedIn: pl.linkedin.com/pub/tomasz-zięba-ph-d/3b/7a8/ab6/<http://pl.linkedin.com/pub/tomasz-zi%C4%99ba-ph-d/3b/7a8/ab6/>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message