[jbosstools-issues] [JBoss JIRA] (JBIDE-17608) improve p2diff's URI handling to support relative path folder and zips

Nick Boldt (JIRA) issues at jboss.org
Wed Feb 18 14:07:49 EST 2015


     [ https://issues.jboss.org/browse/JBIDE-17608?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nick Boldt updated JBIDE-17608:
-------------------------------
    Fix Version/s: 4.3.x
                       (was: 4.2.x)
                       (was: 4.3.0.Alpha1)


> improve p2diff's URI handling to support relative path folder and zips
> ----------------------------------------------------------------------
>
>                 Key: JBIDE-17608
>                 URL: https://issues.jboss.org/browse/JBIDE-17608
>             Project: Tools (JBoss Tools)
>          Issue Type: Enhancement
>          Components: build, upstream
>    Affects Versions: 4.2.0.Beta2
>            Reporter: Nick Boldt
>            Assignee: Nick Boldt
>            Priority: Optional
>             Fix For: 4.3.x
>
>
> Instead of having to type:
> {code}
> p2diff file:///home/nboldt/tru/disco/jbtearlyaccesstarget/multiple/target/jbtearlyaccess-multiple.target.repo/ file:///home/nboldt/tru/disco/jbtearlyaccesstarget/multiple/target_FULL/jbtearlyaccess-multiple.target.repo/
> {code}
> I'd like to see it work for 
> {code}
> p2diff target target2
> or
> p2diff site.zip site2.zip
> {code}
> So we need a few things:
> a) find the nested repo in the specified folder (if not in `pwd` look in child folders for a p2 repo or repo zip)
> b) better error reporting if the specified folders aren't repos or don't contain repos (right now p2diff does NOTHING if it doesn't like the URIs stated
> c) if a local path exists, prepend file:// onto the file path so it behaves like a p2 URI
> d) if a local repo zip found then prepend jar:file:// and append !/ 



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the jbosstools-issues mailing list