Thanks Nirmal and Isuru for the suggestions. I'll rename the jar files and deploy them as you suggested.
-Jeffrey From: Isuru Perera <[email protected]<mailto:[email protected]>> Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Date: Tuesday, March 4, 2014 5:54 PM To: dev <[email protected]<mailto:[email protected]>> Subject: Re: How to install jClouds patch in Stratos Hi Jeffrey, Yes, you can just rename the JAR file name. The reason for this name change is that the jclouds libraries are installed via features and in that process the _ comes before the version. You can just rename the JAR as jclouds libraries are already OSGi bundles. You can just copy the jar as a patch to Cloud Controller. So, in summary, 1. Rename the jar jclouds-compute-1.7.1.jar to jclouds-compute_1.7.1.jar 2. Copy as a patch with some patch number. i.e. /opt/wso2/apache-stratos-cc-4.0.0-SNAPSHOT/repository/components/patch/patch8000/jclouds-compute_1.7.1.jar 3. Restart the server. I hope this helps. Thanks! On Wed, Mar 5, 2014 at 7:01 AM, Jeffrey Nguyen (jeffrngu) <[email protected]<mailto:[email protected]>> wrote: Hi Devs, This is probably a maven related question: I'm currently working on an enhancement to that allows me to attach fixed private IP addresses when launching a cartridge. This enhancement requires changes to both Stratos CC and jClouds API. The question is in Stratos CC, the dependent jClouds jar files have underscores (_) in their names [1] whereas when I built jClouds project, the same jar files [2] use hyphens (-) instead. How do I deploy these new jClouds jar files into CC? Do I simply rename them to use underscores (_)? Thanks, -Jeffrey [1] Stratos: /opt/wso2/apache-stratos-cc-4.0.0-SNAPSHOT/repository/components/plugins/jclouds-netty_1.7.1.jar /opt/wso2/apache-stratos-cc-4.0.0-SNAPSHOT/repository/components/plugins/jclouds-sshj_1.7.1.jar /opt/wso2/apache-stratos-cc-4.0.0-SNAPSHOT/repository/components/plugins/jclouds-core_1.7.1.jar /opt/wso2/apache-stratos-cc-4.0.0-SNAPSHOT/repository/components/plugins/jclouds-enterprise_1.7.1.jar /opt/wso2/apache-stratos-cc-4.0.0-SNAPSHOT/repository/components/plugins/jclouds-compute_1.7.1.jar /opt/wso2/apache-stratos-cc-4.0.0-SNAPSHOT/repository/components/plugins/jclouds-joda_1.7.1.jar /opt/wso2/apache-stratos-cc-4.0.0-SNAPSHOT/repository/components/plugins/jclouds-bouncycastle_1.7.1.jar /opt/wso2/apache-stratos-cc-4.0.0-SNAPSHOT/repository/components/plugins/jclouds-scriptbuilder_1.7.1.jar /opt/wso2/apache-stratos-cc-4.0.0-SNAPSHOT/repository/components/plugins/jclouds-slf4j_1.7.1.jar [2] jClouds: compute/target/jclouds-compute-1.7.1.jar -- Isuru Perera Senior Software Engineer | WSO2, Inc. | http://wso2.com/ Lean . Enterprise . Middleware about.me/chrishantha<http://about.me/chrishantha>
