Skip to main content

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

I had this problem too, it dealt with the fact that I had the delta pack installed, and I upgraded from 3.4.0 to 3.4.1. This update, didn't upgrade the delta pack.

Can you try downloading a new (fresh) 3.4.1 and try again.

cheers,
ian

On Mon, Jan 5, 2009 at 11:56 AM, Laidlaw, Don <don.laidlaw@xxxxxxxxx> wrote:

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 verified that the plug-in mentioned is in the PDE target platform
  • I verified the launcher plug-in is included in one of the features
  • Started the workspace with –clean
  • Replaced the launcher plug-in with a fresh copy.

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


_______________________________________________
p2-dev mailing list
p2-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/p2-dev




--
R. Ian Bull, PhD
Software Developer, EclipseSource
http://www.ianbull.com
http://blog.ianbull.com

Back to the top