p2 materializer content.xml [message #1220134] |
Mon, 09 December 2013 19:32  |
Eclipse User |
|
|
|
Is there a way to get the p2 materializer to produce the content.xml file? I want to publish the resolved target platform to a p2 site.
|
|
|
|
|
|
|
|
|
Re: p2 materializer content.xml [message #1225708 is a reply to message #1223302] |
Mon, 30 December 2013 10:06   |
Eclipse User |
|
|
|
On 23/12/2013 03:37, Philip Bedingfield wrote:
> Its part of Lorenzo's tutorial, the b3 aggregation uses a property
> defined as ->
>
> eclipse.target.platform=file:${user.home}/mirror/rcp/final
>
>
ops then it might be my fault ;)
To be honest I use Linux most of the time, but when I use Windows I have
similar problems too, because Windows replaces ${user.home} with its
backslashes and p2 does not like them.
I use the following tricks when on Windows (I think the first / after :
is required anyway)
eclipse.target.platform=file:/C:/Users/${user.name}/mirror/rcp/final
(note user.name instead of user.home) at least this allows your
properties file to be used by different users (though it cannot be
reused in Unix systems).
Alternatively, you may want to try to pass that property from an ant
script. In particular if you define a property in ant with "location"
(instead of "value"), ant will use slashes instead of backslashes.
Does this help?
cheers
Lorenzo
--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it
Xtext Book:
http://www.packtpub.com/implementing-domain-specific-languages-with-xtext-and-xtend/book
|
|
|
|
Re: p2 materializer content.xml [message #1231188 is a reply to message #1231186] |
Mon, 13 January 2014 21:38   |
Eclipse User |
|
|
|
Here is the error ->
ERROR [0002] : An error occurred while collecting items to be installed
ERROR [0002] : session context was:(profile=D:\Jenkins\jobs\SSDI Continuous\workspace\target.platform, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
ERROR [0002] : Problems downloading artifact: osgi.bundle,org.eclipse.ant.core,3.2.401.v20121204-162022.
ERROR [0002] : File has invalid content:C:\Users\tmbadmin\AppData\Local\Temp\signatureFile1058611373455808892.jar
ERROR [0002] : Invalid content:lib/antsupportlib.jar
ERROR [0002] : Problems downloading artifact: osgi.bundle,org.eclipse.core.resources,3.8.1.v20121114-124432.
ERROR [0002] : File has invalid content:C:\Users\tmbadmin\AppData\Local\Temp\signatureFile8308315021821319356.jar
ERROR [0002] : Invalid content:ant_tasks/resources-ant.jar
ERROR [0002] : Problems downloading artifact: osgi.bundle,org.eclipse.equinox.p2.publisher.eclipse,1.1.0.v20120913-155635.
ERROR [0002] : File has invalid content:C:\Users\tmbadmin\AppData\Local\Temp\signatureFile2587780145237898809.jar
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05755 seconds