Export Product Without JRE [message #515229] |
Thu, 18 February 2010 09:20 |
Matthias Messages: 52 Registered: September 2009 |
Member |
|
|
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 14:07] Report message to a moderator
|
|
|
|
|
Re: Export Product Without JRE [message #526107 is a reply to message #525930] |
Thu, 08 April 2010 17:19 |
Christophe Olivier Messages: 6 Registered: April 2010 Location: Montpellier France |
Junior Member |
|
|
Thanks Ralf,
I have seen this bug before and I removed the <vm> tag from the .product file before generating a new launcher, then features from launcher and exporting my product. However the jre is still bundled.
Find below my .product file, is there another place where this information should be removed before exporting or is there package dependancies which would force bundling ?
Thanks in advance for your help.
<?xml version="1.0" encoding="UTF-8"?>
<?pde version="3.5"?>
<product name="Biorim" id="com.compufirst.main.product" application="com.compufirst.main.application" version="1.15.6" useFeatures="true" includeLaunchers="true">
<aboutInfo>
<image path="/com.compufirst.main/about.gif"/>
<text>
Back Office Biorim for Compufirst
</text>
</aboutInfo>
<configIni use="default">
</configIni>
<launcherArgs>
<programArgs>-webservice=http://myserver:8080/WebServiceServer/</programArgs>
<vmArgs>-Xms128m
-Xmx192m
-Dcom.sun.management.jmxremote.port=8104
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false</vmArgs>
<vmArgsMac>-XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts</vmArgsMac>
</launcherArgs>
<windowImages i16="/com.compufirst.main/images/icons/Biorim16x16.gif" i32="/com.compufirst.main/images/icons/Biorim32x32.gif" i48="/com.compufirst.main/images/icons/Biorim48x48.gif"/>
<splash
location="com.compufirst.main"
handlerType="interactive" />
<launcher name="biorim">
<solaris/>
<win useIco="true">
<ico path="/com.compufirst.main/favicon.ico"/>
<bmp/>
</win>
</launcher>
<vm>
</vm>
<plugins>
</plugins>
<features>
<feature id="org.eclipse.equinox.p2.user.ui" version="1.1.2.R35x_v20091106-7u6FbQFUAtsCKD5Fxz0qz0fb2932"/ >
<feature id="Biorim" version="1.15.6"/>
<feature id="org.eclipse.rcp" version="3.5.2.R35x_v20100119-9SA0FxwFnoCU5XxWItFdXXb27BA6"/ >
</features>
</product>
[Updated on: Thu, 08 April 2010 17:20] Report message to a moderator
|
|
|
|
|
|
Re: Export Product Without JRE [message #526649 is a reply to message #526206] |
Mon, 12 April 2010 13:56 |
Klaus Meisl Messages: 90 Registered: July 2009 |
Member |
|
|
I have the problem that i can't bundle my jre with my application on OS X. I'm using eclipse 3.5.2 and selected JavaSE-1.6 (JVM 1.6.0 (MacOS X Default)), but exporting hangs on 40% ("Running assembly script").
The folder "jre" remains empty the whole time. Can't he find the jre to pack it? On win7 everything works fine.
edit: never mind, found the bug entry
[Updated on: Mon, 12 April 2010 14:09] Report message to a moderator
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.09395 seconds