Hi Harald

Have you uninstalled the feature ABC before removing the feature repository 
features-xyz.xml/1.0.0?

Regards
Krzysztof

On 14.08.2015 12:07, harald wrote:
> Hello all,
>
> we have features-xyz.xml/1.0.0 with a feature called ABC which we initially 
> deployed with version 1.0.0. After registering (features:addurl) we can 
> install and uninstall the feature without providing a version information. If 
> we upgrade to features-xyz.xml/1.1.0 which updates the feature ABC to 1.1.0 
> we need to provide a version information. Than we remove the old 
> features-xyz.xml/1.0.0 (removeurl) and we did expect that we can now be sure 
> that SMX only knows about the one registered version. But this is not the 
> case, SMX complains about multiple versions installed when I try to uninstall 
> the ABC/1.1.0 feature and lists 1.1.0 AND 1.0.0 !?!
>
> Is this a known issue in SMX 4.5.3?
> Did I miss something in the documentation?
> Is there an easy way to let SMX forget the old version information?
>
> Removing the cache folder is not an option because, as far as I understand, 
> all custom features have to be reregistered and loaded.
>
> We prepare to upgrade to SMX 6.0.0, so if this is an issue with 4.5.3 I can 
> live with that. And we are currently using some scripts for install/uninstall 
> which provides version by default. So my problem is reduce to the point where 
> we do it manually.
>
> Thanks in advance for any hint,
> harald

-- 
Krzysztof Sobkowiak (@ksobkowiak)

JEE & OSS Architect, Integration Architect
Apache Software Foundation <http://apache.org/> Member
V.P. Apache ServiceMix | Apache ServiceMix <http://servicemix.apache.org/> 
Committer & PMC Member
Senior Solution Architect @ Capgemini SSC <http://www.capgeminisoftware.pl/>

Reply via email to