On Wed, Mar 5, 2014 at 7:52 AM, Sanjiva Weerawarana <[email protected]>wrote:

> Hmmm .. is this behavior a "feature"?? It seems really crappy. Can we not
> fix the OSGi feature business to not do this?
>

This is done by the P2 feature generator, AFAIK.

>
> Sanjiva.
>
>
> On Wed, Mar 5, 2014 at 7:24 AM, Isuru Perera <[email protected]> wrote:
>
>> 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]> 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
>>
>
>
>
> --
> Sanjiva Weerawarana, Ph.D.
> Founder, Chairman & CEO; WSO2, Inc.;  http://wso2.com/
> email: [email protected]; office: (+1 650 745 4499 | +94  11 214 5345)
> x5700; cell: +94 77 787 6880 | +1 408 466 5099; voip: +1 650 265 8311
> blog: http://sanjiva.weerawarana.org/; twitter: @sanjiva
>
> Lean . Enterprise . Middleware
>



-- 
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com,
*Member; Apache Software Foundation;
**http://www.apache.org/*<http://www.apache.org/>

*email: **[email protected]* <[email protected]>
* cell: +94 77 3320919 blog: **http://blog.afkham.org*<http://blog.afkham.org>
*twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
* linked-in: **http://lk.linkedin.com/in/afkhamazeez
<http://lk.linkedin.com/in/afkhamazeez>*

*Lean . Enterprise . Middleware*

Reply via email to