You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@whirr.apache.org by "Ioannis Canellos (JIRA)" <ji...@apache.org> on 2012/08/18 17:57:37 UTC
[jira] [Created] (WHIRR-633) Align jclouds 1.5.0 modularity changes
with Whirr
Ioannis Canellos created WHIRR-633:
--------------------------------------
Summary: Align jclouds 1.5.0 modularity changes with Whirr
Key: WHIRR-633
URL: https://issues.apache.org/jira/browse/WHIRR-633
Project: Whirr
Issue Type: Bug
Affects Versions: 0.8.0-alpha.1
Reporter: Ioannis Canellos
Assignee: Ioannis Canellos
Fix For: 0.8.0
Now that whirr is finally using jclouds 1.5.x, which contains great improvements regarding OSGi, I'd like to align whirr accordingly.
As of jclouds 1.5.0 the scriptloader, inside OSGi will leverage services in order to load script and no longer considers flat classloaders.
This allows some significant improvements in whirr:
i) No longer use of OSGi fragments is required.
ii) Since we no longer need fragments we can have proper bundles that can have an activator and no longer need blueprint.
--
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
[jira] [Commented] (WHIRR-633) Align jclouds 1.5.0 modularity
changes with Whirr
Posted by "Adrian Cole (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WHIRR-633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13437377#comment-13437377 ]
Adrian Cole commented on WHIRR-633:
-----------------------------------
I applied the latest patch:
patch -p0 --input /path/to/osgi-improvements-with-activators.patch
Next, I removed the zero-length files:
svn rm --force services/voldemort/src/main/resources/OSGI-INF/blueprint/blueprint.xml core/src/main/resources/OSGI-INF/blueprint/blueprint.xml
Then, I ran the tests:
mvn clean install eclipse:eclipse -Posgi
It fails with the message:
[INFO] --- maven-bundle-plugin:2.3.6:bundle (default-bundle) @ whirr-core ---
[ERROR] Bundle org.apache.whirr:whirr-core:bundle:0.9.0-SNAPSHOT : Bundle-Activator not found on the bundle class path nor in imports: org.apache.whirr.osgi.Activator
> Align jclouds 1.5.0 modularity changes with Whirr
> -------------------------------------------------
>
> Key: WHIRR-633
> URL: https://issues.apache.org/jira/browse/WHIRR-633
> Project: Whirr
> Issue Type: Bug
> Affects Versions: 0.8.0-alpha.1
> Reporter: Ioannis Canellos
> Assignee: Ioannis Canellos
> Fix For: 0.8.0
>
> Attachments: osgi-improvements.diff, osgi-improvements.patch, osgi-improvements-with-activators.patch
>
>
> Now that whirr is finally using jclouds 1.5.x, which contains great improvements regarding OSGi, I'd like to align whirr accordingly.
> As of jclouds 1.5.0 the scriptloader, inside OSGi will leverage services in order to load script and no longer considers flat classloaders.
> This allows some significant improvements in whirr:
> i) No longer use of OSGi fragments is required.
> ii) Since we no longer need fragments we can have proper bundles that can have an activator and no longer need blueprint.
--
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
[jira] [Updated] (WHIRR-633) Align jclouds 1.5.0 modularity changes
with Whirr
Posted by "Ioannis Canellos (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WHIRR-633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ioannis Canellos updated WHIRR-633:
-----------------------------------
Attachment: osgi-improvements.diff
I am attaching a patch which aligns whirr with jclouds 1.5.0 osgi related changes.
It also updates the out of date feature descriptor and finally it provides some missing features.
Also updates itests.
> Align jclouds 1.5.0 modularity changes with Whirr
> -------------------------------------------------
>
> Key: WHIRR-633
> URL: https://issues.apache.org/jira/browse/WHIRR-633
> Project: Whirr
> Issue Type: Bug
> Affects Versions: 0.8.0-alpha.1
> Reporter: Ioannis Canellos
> Assignee: Ioannis Canellos
> Fix For: 0.8.0
>
> Attachments: osgi-improvements.diff
>
>
> Now that whirr is finally using jclouds 1.5.x, which contains great improvements regarding OSGi, I'd like to align whirr accordingly.
> As of jclouds 1.5.0 the scriptloader, inside OSGi will leverage services in order to load script and no longer considers flat classloaders.
> This allows some significant improvements in whirr:
> i) No longer use of OSGi fragments is required.
> ii) Since we no longer need fragments we can have proper bundles that can have an activator and no longer need blueprint.
--
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
[jira] [Updated] (WHIRR-633) Align jclouds 1.5.0 modularity changes
with Whirr
Posted by "Ioannis Canellos (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WHIRR-633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ioannis Canellos updated WHIRR-633:
-----------------------------------
Attachment: osgi-improvements.patch
Attaching a (hopefully) more complete version of the patch that is aligned with the latest trunk.
> Align jclouds 1.5.0 modularity changes with Whirr
> -------------------------------------------------
>
> Key: WHIRR-633
> URL: https://issues.apache.org/jira/browse/WHIRR-633
> Project: Whirr
> Issue Type: Bug
> Affects Versions: 0.8.0-alpha.1
> Reporter: Ioannis Canellos
> Assignee: Ioannis Canellos
> Fix For: 0.8.0
>
> Attachments: osgi-improvements.diff, osgi-improvements.patch
>
>
> Now that whirr is finally using jclouds 1.5.x, which contains great improvements regarding OSGi, I'd like to align whirr accordingly.
> As of jclouds 1.5.0 the scriptloader, inside OSGi will leverage services in order to load script and no longer considers flat classloaders.
> This allows some significant improvements in whirr:
> i) No longer use of OSGi fragments is required.
> ii) Since we no longer need fragments we can have proper bundles that can have an activator and no longer need blueprint.
--
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
[jira] [Commented] (WHIRR-633) Align jclouds 1.5.0 modularity
changes with Whirr
Posted by "Adrian Cole (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WHIRR-633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13437389#comment-13437389 ]
Adrian Cole commented on WHIRR-633:
-----------------------------------
+1
Following steps work!
patch -p0 --input /path/to/osgi-improvements-with-more-activators.patch
find . -name blueprint.xml -size 0 -exec svn rm --force {} \;
mvn clean install eclipse:eclipse -Posgi
Next step: apply to trunk, then the release branch
> Align jclouds 1.5.0 modularity changes with Whirr
> -------------------------------------------------
>
> Key: WHIRR-633
> URL: https://issues.apache.org/jira/browse/WHIRR-633
> Project: Whirr
> Issue Type: Bug
> Affects Versions: 0.8.0-alpha.1
> Reporter: Ioannis Canellos
> Assignee: Ioannis Canellos
> Fix For: 0.8.0
>
> Attachments: osgi-improvements.diff, osgi-improvements.patch, osgi-improvements-with-activators.patch, osgi-improvements-with-more-activators.patch
>
>
> Now that whirr is finally using jclouds 1.5.x, which contains great improvements regarding OSGi, I'd like to align whirr accordingly.
> As of jclouds 1.5.0 the scriptloader, inside OSGi will leverage services in order to load script and no longer considers flat classloaders.
> This allows some significant improvements in whirr:
> i) No longer use of OSGi fragments is required.
> ii) Since we no longer need fragments we can have proper bundles that can have an activator and no longer need blueprint.
--
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
[jira] [Updated] (WHIRR-633) Align jclouds 1.5.0 modularity changes
with Whirr
Posted by "Ioannis Canellos (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WHIRR-633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ioannis Canellos updated WHIRR-633:
-----------------------------------
Attachment: osgi-improvements-with-more-activators.patch
name says all
> Align jclouds 1.5.0 modularity changes with Whirr
> -------------------------------------------------
>
> Key: WHIRR-633
> URL: https://issues.apache.org/jira/browse/WHIRR-633
> Project: Whirr
> Issue Type: Bug
> Affects Versions: 0.8.0-alpha.1
> Reporter: Ioannis Canellos
> Assignee: Ioannis Canellos
> Fix For: 0.8.0
>
> Attachments: osgi-improvements.diff, osgi-improvements.patch, osgi-improvements-with-activators.patch, osgi-improvements-with-more-activators.patch
>
>
> Now that whirr is finally using jclouds 1.5.x, which contains great improvements regarding OSGi, I'd like to align whirr accordingly.
> As of jclouds 1.5.0 the scriptloader, inside OSGi will leverage services in order to load script and no longer considers flat classloaders.
> This allows some significant improvements in whirr:
> i) No longer use of OSGi fragments is required.
> ii) Since we no longer need fragments we can have proper bundles that can have an activator and no longer need blueprint.
--
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
[jira] [Commented] (WHIRR-633) Align jclouds 1.5.0 modularity
changes with Whirr
Posted by "Adrian Cole (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WHIRR-633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13437411#comment-13437411 ]
Adrian Cole commented on WHIRR-633:
-----------------------------------
release branch passes!
> Align jclouds 1.5.0 modularity changes with Whirr
> -------------------------------------------------
>
> Key: WHIRR-633
> URL: https://issues.apache.org/jira/browse/WHIRR-633
> Project: Whirr
> Issue Type: Bug
> Affects Versions: 0.8.0-alpha.1
> Reporter: Ioannis Canellos
> Assignee: Ioannis Canellos
> Fix For: 0.8.0
>
> Attachments: osgi-improvements.diff, osgi-improvements.patch, osgi-improvements-with-activators.patch, osgi-improvements-with-more-activators.patch
>
>
> Now that whirr is finally using jclouds 1.5.x, which contains great improvements regarding OSGi, I'd like to align whirr accordingly.
> As of jclouds 1.5.0 the scriptloader, inside OSGi will leverage services in order to load script and no longer considers flat classloaders.
> This allows some significant improvements in whirr:
> i) No longer use of OSGi fragments is required.
> ii) Since we no longer need fragments we can have proper bundles that can have an activator and no longer need blueprint.
--
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
[jira] [Updated] (WHIRR-633) Align jclouds 1.5.0 modularity changes
with Whirr
Posted by "Ioannis Canellos (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WHIRR-633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ioannis Canellos updated WHIRR-633:
-----------------------------------
Attachment: osgi-improvements-with-activators.patch
Added the activator classes
> Align jclouds 1.5.0 modularity changes with Whirr
> -------------------------------------------------
>
> Key: WHIRR-633
> URL: https://issues.apache.org/jira/browse/WHIRR-633
> Project: Whirr
> Issue Type: Bug
> Affects Versions: 0.8.0-alpha.1
> Reporter: Ioannis Canellos
> Assignee: Ioannis Canellos
> Fix For: 0.8.0
>
> Attachments: osgi-improvements.diff, osgi-improvements.patch, osgi-improvements-with-activators.patch
>
>
> Now that whirr is finally using jclouds 1.5.x, which contains great improvements regarding OSGi, I'd like to align whirr accordingly.
> As of jclouds 1.5.0 the scriptloader, inside OSGi will leverage services in order to load script and no longer considers flat classloaders.
> This allows some significant improvements in whirr:
> i) No longer use of OSGi fragments is required.
> ii) Since we no longer need fragments we can have proper bundles that can have an activator and no longer need blueprint.
--
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
[jira] [Commented] (WHIRR-633) Align jclouds 1.5.0 modularity
changes with Whirr
Posted by "Adrian Cole (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WHIRR-633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13437392#comment-13437392 ]
Adrian Cole commented on WHIRR-633:
-----------------------------------
trunk:
Committed revision 1374643.
next up: release branch
> Align jclouds 1.5.0 modularity changes with Whirr
> -------------------------------------------------
>
> Key: WHIRR-633
> URL: https://issues.apache.org/jira/browse/WHIRR-633
> Project: Whirr
> Issue Type: Bug
> Affects Versions: 0.8.0-alpha.1
> Reporter: Ioannis Canellos
> Assignee: Ioannis Canellos
> Fix For: 0.8.0
>
> Attachments: osgi-improvements.diff, osgi-improvements.patch, osgi-improvements-with-activators.patch, osgi-improvements-with-more-activators.patch
>
>
> Now that whirr is finally using jclouds 1.5.x, which contains great improvements regarding OSGi, I'd like to align whirr accordingly.
> As of jclouds 1.5.0 the scriptloader, inside OSGi will leverage services in order to load script and no longer considers flat classloaders.
> This allows some significant improvements in whirr:
> i) No longer use of OSGi fragments is required.
> ii) Since we no longer need fragments we can have proper bundles that can have an activator and no longer need blueprint.
--
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
[jira] [Resolved] (WHIRR-633) Align jclouds 1.5.0 modularity
changes with Whirr
Posted by "Adrian Cole (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WHIRR-633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adrian Cole resolved WHIRR-633.
-------------------------------
Resolution: Fixed
thanks, ioannis
> Align jclouds 1.5.0 modularity changes with Whirr
> -------------------------------------------------
>
> Key: WHIRR-633
> URL: https://issues.apache.org/jira/browse/WHIRR-633
> Project: Whirr
> Issue Type: Bug
> Affects Versions: 0.8.0-alpha.1
> Reporter: Ioannis Canellos
> Assignee: Ioannis Canellos
> Fix For: 0.8.0
>
> Attachments: osgi-improvements.diff, osgi-improvements.patch, osgi-improvements-with-activators.patch, osgi-improvements-with-more-activators.patch
>
>
> Now that whirr is finally using jclouds 1.5.x, which contains great improvements regarding OSGi, I'd like to align whirr accordingly.
> As of jclouds 1.5.0 the scriptloader, inside OSGi will leverage services in order to load script and no longer considers flat classloaders.
> This allows some significant improvements in whirr:
> i) No longer use of OSGi fragments is required.
> ii) Since we no longer need fragments we can have proper bundles that can have an activator and no longer need blueprint.
--
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