You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hivemind.apache.org by "Raffael Herzog (JIRA)" <hi...@jakarta.apache.org> on 2008/05/16 15:13:55 UTC
[jira] Commented: (HIVEMIND-158) Hivemind Service versioning
[ https://issues.apache.org/jira/browse/HIVEMIND-158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12597469#action_12597469 ]
Raffael Herzog commented on HIVEMIND-158:
-----------------------------------------
See this class here:
https://scm.ops4j.org/repos/ops4j/laboratory/users/raffael/hiveapp/trunk/hiveapp/src/main/ch/raffael/hiveapp/impl/classloader/VersionSpec.java
This might generally be useful for more sophisticated HiveMind versioning. This class supports more forms of versions than just <major>.<minor>.<patch> and can deal with version patterns:
* "1.1" => exactly version 1.1
* "1.1+" => 1.1 or newer
* "1.1-1.2" => 1.1 or newer, but not 1.2 or newer
It also supports matching of matterns against exact versions and intersectioning of patterns (e.g. "1.1-2.0" & "1.5+" => "1.5-2.0").
There are no dependencies other than java.util and java.util.regex.
> Hivemind Service versioning
> ----------------------------
>
> Key: HIVEMIND-158
> URL: https://issues.apache.org/jira/browse/HIVEMIND-158
> Project: HiveMind
> Issue Type: New Feature
> Components: framework
> Affects Versions: 1.2
> Reporter: Debasish Sahu
>
> If I require version 1.0 of the service , Hivemind should provide me access to facilities provided by a 1.1 implementation or even having both versions running in the same container
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.