Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » using p2 director on linux
using p2 director on linux [message #120527] Mon, 03 November 2008 00:05 Go to next message
No real name is currently offline No real nameFriend
Messages: 10
Registered: July 2009
Junior Member
Hi,

I'm doing headless build of 3.4.1 sources on linux to produce Windows and
Linux archives. I got the builds generated with p2 metadata, but I'm
having a bit problem running p2 director on the builds. I saw the document
at
http://help.eclipse.org/stable/index.jsp?topic=/org.eclipse. platform.doc.isv/guide/p2_director.html
and tried using something similar to the example for Installing a Complete
Product but got an error. Here is what I have. Can someone tell me what
I'm missing or what the proper command line to use is on linux?

/eclipse/eclipse -noSplash -application
org.eclipse.equinox.p2.director.app.application -metadataRepository
../repo -artifactRepository ../repo -installIU org.eclipse.sdk.ide
-destination ./eclipse_p2 -profile SDKProfile -profileProperties
org.eclipse.update.install.features=true -bundlepool ./eclipse_p2 -p2.os
linux -p2.ws gtk -p2.arch x86 -roaming -vmargs
-Declipse.p2.data.area=./eclipse_p2/p2

** (:27620): CRITICAL **: file pangoxft-fontmap.c: line 185
(pango_xft_get_font_map): assertion `display != NULL' failed
Segmentation fault


Any help is appreciated!


Thanks,
Eirene
Re: using p2 director on linux [message #120549 is a reply to message #120527] Mon, 03 November 2008 15:08 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 10
Registered: July 2009
Junior Member
Hi,

I got past this stage, now I got a message saying Install Unit
org.eclipse.sdk.ide is not found.

Any pointers?

Appreciate the help as always.

Thanks,
Eirene
Re: using p2 director on linux [message #120571 is a reply to message #120549] Mon, 03 November 2008 16:58 Go to previous messageGo to next message
Andrew Niefer is currently offline Andrew NieferFriend
Messages: 990
Registered: July 2009
Senior Member
I expect that 'org.eclipse.sdk.ide' does not exist in your repository.
I don't know how you built your metadata, but in the normal SDK build in
happens in 2 parts.
The first part generates metadata for all the plugins and features, I
expect this is similar to what you have.
The second part generates metadata for the products,
(org.eclipse.sdk.ide is the main sdk product). I expect you are missing
this.
In the SDK build this is done by running the packager using a .product file.
Look at
org.eclipse.releng.eclipsebuilder/buildAll.xml#packageEclips eDistributables
from CVS.

-Andrew

Eirene wrote:
>
> Hi,
>
> I got past this stage, now I got a message saying Install Unit
> org.eclipse.sdk.ide is not found.
> Any pointers?
>
> Appreciate the help as always.
> Thanks,
> Eirene
>

Eirene wrote:
> Hi,
>
> I'm doing headless build of 3.4.1 sources on linux to produce Windows
> and Linux archives. I got the builds generated with p2 metadata, but I'm
> having a bit problem running p2 director on the builds. I saw the
> document at
>
http://help.eclipse.org/stable/index.jsp?topic=/org.eclipse. platform.doc.isv/guide/p2_director.html

> and tried using something similar to the example for Installing a
> Complete Product but got an error. Here is what I have. Can someone tell
> me what I'm missing or what the proper command line to use is on linux?
>
Re: using p2 director on linux [message #120596 is a reply to message #120571] Mon, 03 November 2008 21:17 Go to previous message
No real name is currently offline No real nameFriend
Messages: 10
Registered: July 2009
Junior Member
Cool. Thanks. I'll try it out. :)

Eirene
Previous Topic:Could not acquire the framework manipulator service
Next Topic:p2 director cannot update previously installed product
Goto Forum:
  


Current Time: Mon Dec 22 04:26:17 GMT 2014

Powered by FUDForum. Page generated in 0.01720 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software