Export Product Without JRE [message #515229] |
Thu, 18 February 2010 04:20  |
Eclipse User |
|
|
|
Hi,
since i have problems while (p2-) updating my application with an embedded JRE, i decided not to bundle a JRE on product export.
But somehow i can't do it. The thing is, if i remove the corresponding check from the product file (Launching tab -> Execution Effect), the JRE is bundled also.
Update: It works when i delete the <vm/> content in the product file before exporting. but only if i don't generate a metadata repository (uncheck the "Generate metadata repository" option in the Export Dialog). Anyway, i need that repository.
Update #2:
As Vitaly already found out ( http://www.eclipse.org/forums/index.php?t=msg&goto=49904 4&) the root of the problem is the "org.eclipse.rcp" feature, more precisely the "org.eclipse.equinox.launcher.win32.win32.x86" plugin. if i remove that from the plugin list, the JRE folder isn't created, but the launcher executable is missing.
that all wouldn't bother me if there would be a solution to use the p2 update functionality with an JRE embedded.
thanks, matthias
[Updated on: Thu, 18 February 2010 09:07] by Moderator
|
|
|
|
|
|
|
|
|
|
|
|
Re: Export Product Without JRE [message #539683 is a reply to message #539564] |
Fri, 11 June 2010 16:23  |
Eclipse User |
|
|
|
You can manually remove those lines from the .product file, Currently they
don't affect anything other than including the JRE. In the future they
will affect more (https://bugs.eclipse.org/bugs/show_bug.cgi?id=267445).
It seems there is a bug here somewhere, There is
https://bugs.eclipse.org/bugs/show_bug.cgi?id=315032
David wrote:
> i have this problem now also on Eclipse 3.6 RC3. Also running windows 32
> bit.
>
> I will try and reinstall Eclipse to see if that gets rid of the problem. I
> use the export wizard to export the product and that keeps bundeling the
> JRE everytime even if i change in the UI or in the .product file.
>
> In the wm argument it just changes the
>
>
> <vm>
> <windows
>
include="false"> org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.inte rnal.debug.ui.launcher.StandardVMType/JavaSE-1.6 </windows>
> </vm>
>
>
> Changing the value to true if it should bundle it or not, but it seems it
> pays no respect to this.
|
|
|
Powered by
FUDForum. Page generated in 0.08305 seconds