You don't have file://, you have file:/ in your target definition.
location="file:/Users/Christophe/Documents/Projects/NetXStudio/Target.tycho/peaberry.p2/" />
Shouldn't it look more like this?
location="file:///Users/Christophe/Documents/Projects/NetXStudio/Target.tycho/peaberry.p2/" />
Either way, the exception looks indeed weird, but the stack trace makes it obvious that the metadata for one of repositories in target definition could not be loaded. Since Jenkins server is on a different machine, this can be anything ranging from unavailability of peaberry.p2 local repository at the specified path, to unavailability of some remote http:// repository. If I were you, I'd run tycho with -Dtycho.debug.resolver=artifactid option to at least see which repo causes the problem.
/Mikhail
Från: "Christophe Bouhier" <dzonekl@xxxxxxxxx>
Till: "Tycho user list" <tycho-user@xxxxxxxxxxx>
Skickat: torsdag, 12 sep 2013 16:35:34
Ämne: Re: [tycho-user] exception resolving target
Yes, I am aware of the file:// This gets resolved by tycho nicely on my local machine.
On the jenkins server however the path is different, and the URL will not be valid, but the Exception doesn't
really give any clue...
Thanks Anyway.
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user