Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-core-dev] eclipse.ignoreApp property and "-noExit" argument can't work together


The -noExit argument is honored by osgi itself and not by the launchers.
I think you may have another problem that causes the startup sequence to fail.
If you are trying to start equinox from eclipse 3.2.1, it might be the problem bug #162097

HTH

PaScaL



"Jason Hao" <jason.hao@xxxxxxxxx>
Sent by: platform-core-dev-bounces@xxxxxxxxxxx

11/01/2006 02:53 AM

Please respond to
"Eclipse Platform Core component developers list."        <platform-core-dev@xxxxxxxxxxx>

To
platform-core-dev@xxxxxxxxxxx
cc
Subject
[platform-core-dev] eclipse.ignoreApp property and "-noExit"        argument can't work together





All,

I'm trying Java Web Start deployment with Equinox (Not RCP). In the JNLP file, I set the property eclipse.ignoreApp=true. Also I appended the "-noExit" argument to the main class. Just like below.

 <application-desc main-class="org.eclipse.core.launcher.WebStartMain">
   <argument>-nosplash</argument>
   <argument>-noExit</argument>
 </application-desc>

 <resources>
   <!-- Reference to the startup.jar. This does not change -->
   <jar href="">
   <property
       name="eclipse.ignoreApp"
       value="true"/>
 ......


The problem is the argument "-noExit" doesn't work. After check the code, I notice WebStartMain.main () mehtod calls System.exit(), which makes the web start application terminated. I wonder if osgi.noShutdown property should be checked before calling System.exit().


--
Best Regards,

Jason Hao
_______________________________________________
platform-core-dev mailing list
platform-core-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-core-dev


Back to the top