Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [p2-dev] How to install the launcher during the initialprovisioning

Hi Helmut,

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
place.
I tried to start from scratch again to get a step by step approach for you
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 settings
nothing changed)
Created a product configuration (default settings nothing changed, excpet
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 loacted
in the public_html of my local webserver, for direct installation by the
director application.

And now I am stuck with no launcher. Even giving it a specific name did not
work.
Must have done something different yesterday, as then it worked and I got
an eclipse.exe in the export directory.

If you should have a quick solution to this I am all ears, otherwise I will
go back to point zero and try to get the launcher working on my own.

To answer your questions:
Eclipse 3.5
The checkbox was enabled
The binary directory did contain (and still does) the launcher files. Just
the .exe file (plus the config files) in the main directory is missing now.

Thanks for your time and help.

Cheers,

CarsteN


On Thu, 16 Jul 2009 10:18:22 +0200, "Haigermoser, Helmut"
<Helmut.Haigermoser@xxxxxxxxxxxxx> wrote:
> Ciao Carsten :)
> Sounds like the export operation is including the launchers, but they do
> not end up in the repo.
> Some more questions:
> - What Eclipse version is this?
> - In the product config editor, did you checkmark "The product contains
> 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 reproduce"?
> HTH,
> Ciao, hh
> 
> -----Original Message-----
> From: p2-dev-bounces@xxxxxxxxxxx [mailto:p2-dev-bounces@xxxxxxxxxxx] On
> 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
> initialprovisioning
> 
> 
> 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 product
> and get a layout like this in the directory I exported to:
> 
> artifacts.xml
> configuration/
> eclipse.exe
> eclipse.ini
> p2/
> plugins/
> repository/
> 
> I used the default settings to export the product itself. To install the
> 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 if
> 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 I
> did some obviously silly error.
> 
> Cheers,
> CarsteN
> 
> 
> 
> 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?
>> HTH,
>> 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 
>> provisioning
>> 
>> Hello,
>> 
>> 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@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/p2-dev
> _______________________________________________
> p2-dev mailing list
> p2-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/p2-dev


Back to the top