[jbosstools-issues] [JBoss JIRA] (JBIDE-22673) Need better duplicate IU detection when validating target platforms

Nick Boldt (JIRA) issues at jboss.org
Thu Jul 7 11:34:00 EDT 2016


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

Nick Boldt commented on JBIDE-22673:
------------------------------------

With recent fixes to TP ( https://github.com/jbosstools/jbosstools-target-platforms/pull/224 ), you shouldn't see the above mylyn conflict anymore. 

Here's the updated list of duplicate IUs in the TP. Unclear if we actually require all these dupes. If we do, we need some sort of whitelist capability; if we don't, then we should remove the dupes and retain only the latest (?). 

{code}
[WARNING]  Found 8 duplicate jbdevstudio plugins:
[WARNING]  [1] jbdevstudio-multiple.target.repo/plugins/com.google.guava_15.0.0.v201403281430.jar
[WARNING]  [1] jbdevstudio-multiple.target.repo/plugins/com.google.guava_13.0.0.jar

[WARNING]  [2] jbdevstudio-multiple.target.repo/plugins/javax.wsdl_1.5.1.v201012040544.jar
[WARNING]  [2] jbdevstudio-multiple.target.repo/plugins/javax.wsdl_1.6.2.v201012040545.jar

[WARNING]  [3] jbdevstudio-multiple.target.repo/plugins/javax.xml.rpc_1.1.0.v201005080400.jar
[WARNING]  [3] jbdevstudio-multiple.target.repo/plugins/javax.xml.rpc_1.1.0.v201209140446.jar

[WARNING]  [4] jbdevstudio-multiple.target.repo/plugins/javax.xml.soap_1.3.0.v201105210645.jar
[WARNING]  [4] jbdevstudio-multiple.target.repo/plugins/javax.xml.soap_1.2.0.v201005080501.jar

[WARNING]  [5] jbdevstudio-multiple.target.repo/plugins/org.apache.axis_1.4.0.v201411182030.jar
[WARNING]  [5] jbdevstudio-multiple.target.repo/plugins/org.apache.axis_1.4.0.v201005080400.jar

[WARNING]  [6] jbdevstudio-multiple.target.repo/plugins/org.apache.commons.logging_1.1.1.v201101211721.jar
[WARNING]  [6] jbdevstudio-multiple.target.repo/plugins/org.apache.commons.logging_1.0.4.v201101211617.jar
[WARNING]  [6] jbdevstudio-multiple.target.repo/plugins/org.apache.commons.logging_1.1.1.v201005080502.jar

[WARNING]  [7] jbdevstudio-multiple.target.repo/plugins/org.eclipse.jdt.annotation_2.1.0.v20160418-1457.jar
[WARNING]  [7] jbdevstudio-multiple.target.repo/plugins/org.eclipse.jdt.annotation_1.1.100.v20160418-1457.jar

[WARNING]  [8] jbdevstudio-multiple.target.repo/plugins/org.objectweb.asm_5.0.1.v201404251740.jar
[WARNING]  [8] jbdevstudio-multiple.target.repo/plugins/org.objectweb.asm_4.0.0.v201302062210.jar
{code}

> Need better duplicate IU detection when validating target platforms
> -------------------------------------------------------------------
>
>                 Key: JBIDE-22673
>                 URL: https://issues.jboss.org/browse/JBIDE-22673
>             Project: Tools (JBoss Tools)
>          Issue Type: Sub-task
>          Components: build, target-platform, upstream
>    Affects Versions: 4.4.0.Final
>            Reporter: Nick Boldt
>            Assignee: Mickael Istria
>             Fix For: 4.4.1.AM2
>
>
> As discussed in JBIDE-22633, we have no way of knowing when the target platform SHOULD contain duplicate IUs, and when it should not.
> {quote}Problem is there's no way to identify easily which dupes are OK and which are not. I suppose I could crack open all the jars and see which are singletons...?
> Or add a whitelist?{quote}



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list