[jbosstools-issues] [JBoss JIRA] (JBIDE-17608) p2diff should be able to handle relative file paths
Nick Boldt (JIRA)
issues at jboss.org
Thu Jun 12 13:15:44 EDT 2014
Nick Boldt created JBIDE-17608:
----------------------------------
Summary: p2diff should be able to handle relative file paths
Key: JBIDE-17608
URL: https://issues.jboss.org/browse/JBIDE-17608
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: build, upstream
Affects Versions: 4.2.0.Beta2
Reporter: Nick Boldt
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.2.6#6264)
More information about the jbosstools-issues
mailing list