Unsing p2 director in an RCP application [message #504307] |
Fri, 18 December 2009 09:23 |
|
Hello,
I am trying to use p2 director in my RCP application, so that I can install my test feature using p2, and then avoid a lot of headaches hunting missing dependencies and conflicts.
Then I try to run the classic p2 director command-line to install my feature in my product:
java -jar plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715. jar -application org.eclipse.equinox.p2.director -artifactRepository file:/home/mistria/build/tmpUpdate/ -metadataRepository file:/home/mistria/build/tmpUpdate/ -installIU org.bonitasoft.studio.tests.feature.group -consoleLog
But it returns me that it is "Missing required argument -destination". I took a look at docuentation to learn more about this property (-destination), and I do not understand why it is necessary in my case. Nevermind, I tried with setting this property by adding "-desination $(pwd)", but it tells me that it cannot find some dependencies of my feature.
I've also red Kai's blog entry about RCP p2 self provisionning and ensured all necessary plugins are available in my product.
Can someone help me to figure out why I cannot use p2 director?
--
Mickael Istria - BonitaSoft S.A.
http://www.bonitasoft.com/products/downloads.php
|
|
|
|
Powered by
FUDForum. Page generated in 0.01849 seconds