[ 
https://issues.apache.org/jira/browse/WHIRR-504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ioannis Canellos updated WHIRR-504:
-----------------------------------

    Attachment: WHIRR-504-updated.patch

I am attaching an updated version of 504 patch, which fixes the OSGi related 
issues.

Some comments about the nature of the problem. The maven bundle plugin 
normalizes the version when creating the bundles. The normalization it performs 
is something like splitting the version into major, minor, macro and classifier 
parts. It replaces character like '-' with '.' etc. Finally if the classifier 
part contains '.'s then it replaces them with _.

I have added some ant regexp magic in order to cleanup the jclouds version and 
have it match with what bundle plugin does, so that we can use them in the 
fragment definitions (this parts are not covered by the bundle plugin). 
However, the regex I added can't cover the case were the classifier part 
contains a '.' e.g. rc.3. 

As a work around I am explicitly specifying the jclouds version 1.4.0.rc_3 as 
it should be.

We could do 2 things in the future. Add some more regex goodness to properly 
convert the version or use a convention in the jclouds versioning that would 
keep us out of trouble: e.g. 1.4.0-rc3 (with no dots).

Since the problem occurs just for the rc version of jclouds I think that 
explicitly specifying it is a viable solution for now.
                
> Upgrade to jclouds 1.4.0
> ------------------------
>
>                 Key: WHIRR-504
>                 URL: https://issues.apache.org/jira/browse/WHIRR-504
>             Project: Whirr
>          Issue Type: Improvement
>            Reporter: Andrei Savu
>            Assignee: Adrian Cole
>             Fix For: 0.8.0
>
>         Attachments: WHIRR-504-updated.patch, WHIRR-504.patch, 
> WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch
>
>
> At this time 1.4.0 RC1 is out and if no major bugs are discovered we should 
> be able to have a final release pretty soon. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to