[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [p2-dev] How to install the launcher during theinitialprovisioning
- From: "Haigermoser, Helmut" <Helmut.Haigermoser@xxxxxxxxxxxxx>
- Date: Thu, 16 Jul 2009 13:51:07 +0200
- Delivered-to: email@example.com
- Thread-index: AcoGB/GclMkLzEtPTbK3DwiNEyMiBwAA4YHg
- Thread-topic: [p2-dev] How to install the launcher during theinitialprovisioning
Ciao Carsten :)
The weird thing here is that the product export result itself is already
a p2 installation,
so first the repo is created and then the director creates the install.
So, the bug probably lies in your invocation of the director,
are you maybe not setting os,arch,ws right?
From: p2-dev-bounces@xxxxxxxxxxx [mailto:p2-dev-bounces@xxxxxxxxxxx] On
Behalf Of Carsten Nikiel
Sent: Thursday, July 16, 2009 1:24 PM
To: P2 developer discussions
Subject: RE: [p2-dev] How to install the launcher during
guess I will have to come back to this issue a bit later. :-(
Because now I can not even create the launcher executable in the first
I tried to start from scratch again to get a step by step approach for
to follow, but now I am stuck at creating the launcher.
Here is what I did so far. (using eclipse 3.5 by the way).
Created a new workspace (clean of everything)
Created a new plugin project with the RCP Mail template (default
Created a product configuration (default settings nothing changed,
for the Product ID which needs to be given, made sure the "...native
launcher..." checkbox was enabled)
Used the "Eclipse Product export wizard" with a directory that is
in the public_html of my local webserver, for direct installation by the
And now I am stuck with no launcher. Even giving it a specific name did
Must have done something different yesterday, as then it worked and I
an eclipse.exe in the export directory.
If you should have a quick solution to this I am all ears, otherwise I
go back to point zero and try to get the launcher working on my own.
To answer your questions:
The checkbox was enabled
The binary directory did contain (and still does) the launcher files.
the .exe file (plus the config files) in the main directory is missing
Thanks for your time and help.
On Thu, 16 Jul 2009 10:18:22 +0200, "Haigermoser, Helmut"
> Ciao Carsten :)
> Sounds like the export operation is including the launchers, but they
> not end up in the repo.
> Some more questions:
> - What Eclipse version is this?
> - In the product config editor, did you checkmark "The product
> native launcher artifacts" (@see attached pic)?
> - In the repo, do you have a "binary" dir, containing things like
> "org.eclipse.equinox.executable_root.carbon.macosx.ppc_<version" or
> <product name>.launcher.gtk.linux.x86_<version>?
> - If nothing seems to work, can you attach the files content.[jar|xml]
> and artifacts.[jar|xml] for us to review?
> - Finally, can you wrap up the problem in a simple "Steps to
> Ciao, hh
> -----Original Message-----
> From: p2-dev-bounces@xxxxxxxxxxx [mailto:p2-dev-bounces@xxxxxxxxxxx]
> Behalf Of Carsten Nikiel
> Sent: Thursday, July 16, 2009 10:08 AM
> To: P2 developer discussions
> Subject: RE: [p2-dev] How to install the launcher during the
> Hi Helmut,
> Thanks for the answer.
> But I am not sure what you mean.
> I do have the delta packs installed, that's why I can export the
> and get a layout like this in the directory I exported to:
> I used the default settings to export the product itself. To install
> plugins I use the director application and point it to the repository
> directory. Otherwise it would not even consider installing anything.
> In that directory there is no launcher eclipse.exe, so I am wondering
> there is any p2.inf magic that I need to use to get these files
> installed too, as they seem to be outside of the repository and I can
> not get them into this directory.
> Well I am new to p2 and therefore it might very well be possible that
> did some obviously silly error.
> On Thu, 16 Jul 2009 09:36:18 +0200, "Haigermoser, Helmut"
> <Helmut.Haigermoser@xxxxxxxxxxxxx> wrote:
>> Ciao Carsten :)
>> Launchers are included in the deltapack, did you include that one in
>> your build?
>> Ciao, hh
>> -----Original Message-----
>> From: p2-dev-bounces@xxxxxxxxxxx [mailto:p2-dev-bounces@xxxxxxxxxxx]
>> On Behalf Of Carsten Nikiel
>> Sent: Thursday, July 16, 2009 7:41 AM
>> To: p2-dev@xxxxxxxxxxx
>> Subject: [p2-dev] How to install the launcher during the initial
>> for quite some days now I am trying to setup the simple RCP Mail
>> product with P2 and it seems I can't figure out how to include the
>> launcher in the repository.
>> What I got after some fiddling is a repository with all the plugins
>> and Jars I need for P2 to allow me to install it from somewhere else.
>> So far so good.
>> But I can not get the launcher to be installed alongside the plugins.
>> If I copy the launcher and the companion libs to the newly downloaded
>> installation everything works.
>> Is there any documentation (which I am just too blind to find) that
>> explains how to include some additional files to the repository and
>> have them installed during the normal directory.app installations?
>> Any help is appreciated.
>> Thanks, Carsten
>> PS: Tried at first the equinox-dev mailing list, but was adviced to
>> try here.
>> p2-dev mailing list
> p2-dev mailing list
p2-dev mailing list