[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] How to generate the launcher executable

Title: Re: [p2-dev] How to generate the launcher executable

Hi Jeff,

Thanks for your answer on the p2-dev list. That really helped. The new book is looking great too :)

I am able to build and deploy the toast stuff quite well using Ganymede SR1. So I created a similar setup in another workspace for my stuff. The good new is I got it all working to the point where I can go to the product editor page and launch the product and have it run. That is great.

But I have a problem I have been trying to fix for a few days. No amount of pounding my head against the wall, or google searching seems to work for me. I hope you have an insight.

The same product I can successfully launch from inside eclipse using the product editor has a problem when exporting the product to a zip file. As soon as I try to run the export, with the same settings that work for toast, I get a dialog saying that there is an error: problems exist during export. The details specify:

Problems during export  Unable to find plug-in: org.eclipse.equinox.launcher_1.0.200.v20080825-1800. Please check the error log for more details.  Unable to find plug-in: org.eclipse.equinox.launcher_1.0.200.v20080825-1800. Please check the error log for more details.
The funny thing is, there is no error log. There is no .log file at all. For some reason this workspace is not creating one.

What I did do:

I am using the same target platform that toast uses, plus as extra folder added to it with spring OSGi  bundles.

I hope you have an idea or can point me in the right direction.

Thanks Jeff!

Best Regards,

Don Laidlaw | Sr. Research Engineer |
Infor | office: 902-576-5185 | mobile: 902-401-6771 | don.laidlaw@xxxxxxxxx


On 12/30/08 1:18 PM, "Jeff McAffer" <jeff@xxxxxxxxxxxxxxxxx> wrote:

Hey Don,

You should look into using the product export faciliites in 3.4.  Even if you are not doing "products" and "applications" in the Eclipse sense, if you dummy up these extensions, you can export and have PDE create all the related metadata.  Check out the instructions we used for the Equinox Hackathon at ESE
    http://wiki.eclipse.org/Eclipse_Summit_Europe_2008_Equinox_Hackathon
This is for 3.5 but they should largely work for 3.4.

Jeff

Laidlaw, Don wrote:
How to generate the launcher executable I am having great success using P2. I am able to use the installer to install the SDK, I can use the metadata generator to generate metadata for all my osgi bundles, I can use the director to install a customized platform.
 
What I cannot seem to get it to do is generate the launcher executable for the platform. I have a small set of bundles that makes a running osgi configuration when launched using just a java command with the console. I can see everything is installed and active and working well. There are only about 15 bundles in total. I have managed to get p2 to completely install this for me with all required bundles and it starts normally using a java command. Now I would like to have p2 create the platform executable (eclipse.exe on win32 or eclipse.app on macosx, etc). I suppose I just need to add some IU the the repository and have my root IU reference it, but I am not sure what to add. Can anyone point me in the right direction? Or correct my assumption on what I need?
 
Best Regards,
 
Don Laidlaw | Sr. Research Engineer | Infor | office: 902-576-5185 | mobile: 902-401-6771 | don.laidlaw@xxxxxxxxx
 
 



_______________________________________________
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