[
https://issues.apache.org/activemq/browse/SMX4KNL-25?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=41951#action_41951
]
Guillaume Nodet commented on SMX4KNL-25:
----------------------------------------
Add feature dependency handling, use the preferences service to persist the
repository URLs and list of installed features.
Also, check if a bundle is already installed before installing it to avoid
exceptions.
Sending
trunk/gshell/gshell-features/src/main/java/org/apache/servicemix/gshell/features/Feature.java
Sending
trunk/gshell/gshell-features/src/main/java/org/apache/servicemix/gshell/features/internal/FeatureImpl.java
Sending
trunk/gshell/gshell-features/src/main/java/org/apache/servicemix/gshell/features/internal/FeaturesServiceImpl.java
Sending
trunk/gshell/gshell-features/src/main/java/org/apache/servicemix/gshell/features/internal/RepositoryImpl.java
Transmitting file data ....
Committed revision 643395.
> Feature commands enhancement.
> -----------------------------
>
> Key: SMX4KNL-25
> URL: https://issues.apache.org/activemq/browse/SMX4KNL-25
> Project: ServiceMix Kernel
> Issue Type: Improvement
> Affects Versions: 1.0-m3
> Reporter: Jeff Yu
> Fix For: 1.0-m3
>
>
> When I saw the instruction for installing the NMR feature from the User
> Guide. I think it makes us really easir to install it rather than to copy all
> the jars into the deploy folder manually. and suddenly, it occurs to me that
> this is very similar to "apt-get" utility in Ubuntu or "yum" utility in the
> Fedora distro.
> Put it simply, right now what we need to install an NMR feature is:
> <pre>
> features addUrl
> http://svn.apache.org/repos/asf/servicemix/smx4/obr-repo/features-nmr-1.0-m1.xml
> nmr
> </pre>
> and what I like is that we can do it like this:
> <pre>
> features addUrl
> http://svn.apache.org/repos/asf/servicemix/smx4/obr-repo/features-nmr-1.0-m1.xml
> features install nmr
> </pre>
> and then we can extend following commands:
> features upgrade nmr
> features remove nmr
> features list (for browsing all available features in the repository).
> in this way, we should be easily to install/remove the features, and users
> wouldn't need to consider the dependency issues.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.