|Re: p2 director headless, can't find missing dependency from other repo. [message #1051093 is a reply to message #1041823]
||Sun, 28 April 2013 07:28
| Lorenzo Bettini
Registered: July 2009
On 04/15/2013 06:11 PM, Christophe Bouhier wrote:|
> Hello There,
> I am trying to install an IU using the headless p2 director.
> The command looks like below:
> The iu "com.netxforge.netxstudio.bare" has a dependency to a feature
> which is located in different p2 repo, I can't satisfy this dependency.
> (See error further below).
> How do I instruct the director to fetch the dependency from another p2
> repo? (In the command, I have tried specifying -artifactrepository,
> -metadarepository ... but to no success).
> The two (public) repo's are:
> http://p2.netxforge.com/own.p2/ (Contains the iu)
> http://p2.netxforge.com/site.p2/ (Contains the dependencies)
> Director Cmd + Arguments ----------------8<-----------------
> ./eclipse -application org.eclipse.equinox.p2.director \
> http://p2.netxforge.com/own.p2/,http://p2.netxforge.com/site/p2/ \
> -artifactrepository http://p2.netxforge.com/site.p2/ \
> -metadatarepository http://p2.netxforge.com/site.p2/ \
I'm pretty sure that the command line argument is
-repository or -r
in your shell script you do not use '-' and you use repositories...
maybe that's the problem?
IIRC if you use -r you do not need -artifactrepository and
hope it helps
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
Powered by FUDForum
. Page generated in 0.01588 seconds