[ 
https://issues.apache.org/activemq/browse/SMX4KNL-25?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=41804#action_41804
 ] 

Jeff Yu commented on SMX4KNL-25:
--------------------------------

Great. ;-)

yeah, I think we need to version the features.  as it can give users ability to 
install a specific version of that feature, I don't know whether it will cause 
problems if we add this version attribute?

Another thing I saw is that now when we release a feature, take NMR as an 
example, we release this features url along with. I am thinking that we can 
update the 
"http://svn.apache.org/repos/asf/servicemix/smx4/obr-repo/features.xml"; xml 
file when we finish a release. So instead of asking users to add/update a 
feature url, users can get the released features automatically, and then can 
upgrade or keep it as what they want.

Currently, there is a problem for adding feature url is that after I reboot the 
kernel, I can't see any updated/added feature url, since it has not been kept 
in the file system. 

A big feature xml file might not a good idea, but my concern is that for users, 
mostly, they just need to know the one smx features repository url, and then 
don't need to update it most of time. but maybe we can split one big smx 
features into several xml fragment, but it should be transparent for users.

I am not sure about the command proxy? do you mean "nmr", this sort of command??

 

> 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.

Reply via email to