Home » Eclipse Projects » P2 » Headless build fails, when building the product with 'p2.gathering=true'(Headless build fails, when building the product with 'p2.gathering=true')
Headless build fails, when building the product with 'p2.gathering=true' [message #1062469] |
Fri, 07 June 2013 20:57 |
Aleksandr Asatryan Messages: 4 Registered: June 2013 |
Junior Member |
|
|
Hello,
We are trying to add capability of updating some third party bundles from our RCP application. Third party bundles update functionality is implemented using equinox p2 library.
I am able to run our update action without any problem, when running RCP application from Eclipse IDE and by enabling 'Support software installation in the launched application' run configuration property.
I have been trying to use p2 operations from stand alone application. For that purpose I have been trying to produce properly installed fully p2 enabled product by adding "p2.gathering=true" to our build.properties file. My problem starts from this point. The headless build fails on 'run p2 director' step:
[java] runDirector:
[java] [p2.director] Installing myId 1.0.0.201306071334.
[java] [p2.director] An error occurred while collecting items to be installed
[java] [p2.director] session context was:(profile=profile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
[java] [p2.director] No repository found containing: osgi.bundle,com.ibm.icu,4.4.2.v20110823
[java] [p2.director] No repository found containing: osgi.bundle,org.eclipse.ant.core,3.2.302.v20120110-1739
[java] [p2.director] No repository found containing: osgi.bundle,org.eclipse.core.contenttype,3.4.100.v20110423-0524
[java] [p2.director] No repository found containing: osgi.bundle,org.eclipse.core.expressions,3.4.300.v20110228
[java] [p2.director] No repository found containing: osgi.bundle,org.eclipse.core.filesystem,1.3.100.v20110423-0524
...
I have also attached the .log file.
Please, help me to understand the reason of the problem.
Thanks,
Aleksandr
-
Attachment: .log
(Size: 51.25KB, Downloaded 248 times)
|
|
|
Re: Headless build fails, when building the product with 'p2.gathering=true' [message #1063174 is a reply to message #1062469] |
Wed, 12 June 2013 14:17 |
|
On 06/07/2013 06:26 PM, Aleksandr Asatryan wrote:
> Hello,
>
> We are trying to add capability of updating some third party bundles from our RCP application. Third party bundles update functionality is implemented using equinox p2 library.
>
> I am able to run our update action without any problem, when running RCP application from Eclipse IDE and by enabling 'Support software installation in the launched application' run configuration property.
>
> I have been trying to use p2 operations from stand alone application. For that purpose I have been trying to produce properly installed fully p2 enabled product by adding "p2.gathering=true" to our build.properties file. My problem starts from this point. The headless build fails on 'run p2 director' step:
>
> [java] runDirector:
> [java] [p2.director] Installing myId 1.0.0.201306071334.
> [java] [p2.director] An error occurred while collecting items to be installed
> [java] [p2.director] session context was:(profile=profile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
> [java] [p2.director] No repository found containing: osgi.bundle,com.ibm.icu,4.4.2.v20110823
> [java] [p2.director] No repository found containing: osgi.bundle,org.eclipse.ant.core,3.2.302.v20120110-1739
> [java] [p2.director] No repository found containing: osgi.bundle,org.eclipse.core.contenttype,3.4.100.v20110423-0524
> [java] [p2.director] No repository found containing: osgi.bundle,org.eclipse.core.expressions,3.4.300.v20110228
> [java] [p2.director] No repository found containing: osgi.bundle,org.eclipse.core.filesystem,1.3.100.v20110423-0524
What defines your target platform? Do you feed p2 repos into
p2.repo2runnable?
PW
--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Platform_Expression_Framework
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/workbench.htm
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
|
|
| | | | | | |
Goto Forum:
Current Time: Thu Sep 26 23:04:24 GMT 2024
Powered by FUDForum. Page generated in 0.04154 seconds
|