Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Headless RCP App depend on Feature. Possible?
Headless RCP App depend on Feature. Possible? [message #463068] Mon, 05 February 2007 22:08 Go to next message
Peter Rutsch is currently offline Peter RutschFriend
Messages: 19
Registered: July 2009
Junior Member
Hi!

Is it possible to make a headless RCP Application based on Features? (...to use the Eclipse update mechanism)

I tried to create a product configuration file that is based on features, but I got the following error:

<code>
!SESSION Mon Feb 05 17:04:50 EST 2007 ------------------------------------------
!ENTRY org.eclipse.core.launcher 4 0 2007-02-05 17:04:50.78
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.ArrayIndexOutOfBoundsException: 0
at org.eclipse.core.launcher.Main.getSplashLocation(Main.java:1 657)
at org.eclipse.core.launcher.Main.handleSplash(Main.java:1554)
at org.eclipse.core.launcher.Main.basicRun(Main.java:283)
at org.eclipse.core.launcher.Main.run(Main.java:987)
at org.eclipse.core.launcher.Main.main(Main.java:962)
</code>

Did I make a mistake or is it simply not possible to make a product out of a headless RCP app?

I thought perhaps it is not possible, because of all the missing UI stuff for branding.

Thank you in advance.
Peter
Re: Headless RCP App depend on Feature. Possible? [message #463070 is a reply to message #463068] Mon, 05 February 2007 22:27 Go to previous messageGo to next message
Snjezana Peco is currently offline Snjezana PecoFriend
Messages: 789
Registered: July 2009
Senior Member
Try to start your application with option -nosplash

Snjeza

Pyoeter wrote:
> Hi!
>
> Is it possible to make a headless RCP Application based on Features? (...to use the Eclipse update mechanism)
>
> I tried to create a product configuration file that is based on features, but I got the following error:
>
> <code>
> !SESSION Mon Feb 05 17:04:50 EST 2007 ------------------------------------------
> !ENTRY org.eclipse.core.launcher 4 0 2007-02-05 17:04:50.78
> !MESSAGE Exception launching the Eclipse Platform:
> !STACK
> java.lang.ArrayIndexOutOfBoundsException: 0
> at org.eclipse.core.launcher.Main.getSplashLocation(Main.java:1 657)
> at org.eclipse.core.launcher.Main.handleSplash(Main.java:1554)
> at org.eclipse.core.launcher.Main.basicRun(Main.java:283)
> at org.eclipse.core.launcher.Main.run(Main.java:987)
> at org.eclipse.core.launcher.Main.main(Main.java:962)
> </code>
>
> Did I make a mistake or is it simply not possible to make a product out of a headless RCP app?
>
> I thought perhaps it is not possible, because of all the missing UI stuff for branding.
>
> Thank you in advance.
> Peter
Re: Headless RCP App depend on Feature. Possible? [message #463096 is a reply to message #463070] Tue, 06 February 2007 18:45 Go to previous messageGo to next message
Andrew Niefer is currently offline Andrew NieferFriend
Messages: 990
Registered: July 2009
Senior Member
Peter,
That stack trace looks familiar, try looking at
https://bugs.eclipse.org/bugs/show_bug.cgi?id=66421.

As Snjeza wrote, you can put that -nosplash in your product.ini file to turn off
the splash completely.

-Andrew
Snjezana Peco wrote:
> Try to start your application with option -nosplash
>
> Snjeza
>
> Pyoeter wrote:
>> Hi!
>>
>> Is it possible to make a headless RCP Application based on Features?
>> (...to use the Eclipse update mechanism)
>>
>> I tried to create a product configuration file that is based on
>> features, but I got the following error:
>>
>> <code>
>> !SESSION Mon Feb 05 17:04:50 EST 2007
>> ------------------------------------------
>> !ENTRY org.eclipse.core.launcher 4 0 2007-02-05 17:04:50.78
>> !MESSAGE Exception launching the Eclipse Platform:
>> !STACK
>> java.lang.ArrayIndexOutOfBoundsException: 0
>> at org.eclipse.core.launcher.Main.getSplashLocation(Main.java:1 657)
>> at org.eclipse.core.launcher.Main.handleSplash(Main.java:1554)
>> at org.eclipse.core.launcher.Main.basicRun(Main.java:283)
>> at org.eclipse.core.launcher.Main.run(Main.java:987)
>> at org.eclipse.core.launcher.Main.main(Main.java:962)
>> </code>
>>
>> Did I make a mistake or is it simply not possible to make a product
>> out of a headless RCP app?
>>
>> I thought perhaps it is not possible, because of all the missing UI
>> stuff for branding.
>>
>> Thank you in advance.
>> Peter
Re: Headless RCP App depend on Feature. Possible? [message #463144 is a reply to message #463096] Tue, 06 February 2007 23:56 Go to previous message
Peter Rutsch is currently offline Peter RutschFriend
Messages: 19
Registered: July 2009
Junior Member
Thanks for the comments! Putting -nosplash into the launch argument section in the product configuration did the job.

Pyoeter
Previous Topic:Working with Eclipse's WorkBench Adapter Mechanism
Next Topic:Dependency error on PDE feature in Eclipse 3.2.1
Goto Forum:
  


Current Time: Sun Oct 13 07:12:42 GMT 2024

Powered by FUDForum. Page generated in 0.04020 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top