[jbosstools-issues] [JBoss JIRA] (JBIDE-19065) Versionwatch should check if found IUs fall in/out ranges defined in ignore.properties

Nick Boldt (JIRA) issues at jboss.org
Tue Jul 21 16:25:04 EDT 2015


    [ https://issues.jboss.org/browse/JBIDE-19065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13091482#comment-13091482 ] 

Nick Boldt commented on JBIDE-19065:
------------------------------------

Max suggests we play with https://osgi.org/javadoc/r5/core/index.html?org/osgi/framework/VersionRange.html (in  http://mvnrepository.com/artifact/org.osgi/org.osgi.core/6.0.0 ) to do version range checking. 

So we can read the contents of the properties file, create a VersionRange from that, and compare that with the Version of the plugins/features; then use VersionRange.includes(version) to get a true/false result.


> Versionwatch should check if found IUs fall in/out ranges defined in ignore.properties
> --------------------------------------------------------------------------------------
>
>                 Key: JBIDE-19065
>                 URL: https://issues.jboss.org/browse/JBIDE-19065
>             Project: Tools (JBoss Tools)
>          Issue Type: Task
>          Components: qa
>    Affects Versions: 4.2.2.Final
>            Reporter: Jiri Peterka
>            Assignee: Nick Boldt
>             Fix For: 4.3.0.CR1
>
>
> Improve report duplicate versions



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jbosstools-issues mailing list