[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Re: Intro comes up blank

H,

we stumbled upon similar problems last week (worked in RCP 3.1, did not work in RCP 3.3). The following post gave us the necessary hint: http://dev.eclipse.org/newslists/news.eclipse.platform.ua/msg00347.html

The perspective's layout must not be fixed, then (at least for us) the welcome view will be shown properly again.
I hope this helps.


Markus



"Michael Schmidt" <MichaelMSchmidt@xxxxxxx> schrieb im Newsbeitrag news:8518cb45f9dfcae8da7348bd031463c9$1@xxxxxxxxxxxxxxxxxx
I have an RCP application that I developed with Eclipse 3.1 on Windows XP. I've now moved to Eclipse 3.4.0 on Linux (Ubuntu 7.1). In updating the application, I ran into a problem. The previously-working intro part (Welcome screen) comes up but it is blank. I spent all day reading the various tutorials on the web and searched this group before posting. I also created a test application using the "RCP application with an intro" template and, when I ran it, it also had a blank Welcome screen. Here is the relevant code from my plugin.xml file:

<code>
   <!-- define the intro/welcome screen part -->
  <extension
        point="org.eclipse.ui.intro">
     <intro
           class="org.eclipse.ui.intro.config.CustomizableIntroPart"
           icon="icons/intro.gif"
           id="us.mschmidt.komo.introID">
     </intro>
     <introProductBinding
           introId="us.mschmidt.komo.introID"
           productId="us.mschmidt.komo.product">
     </introProductBinding>
  </extension>
  <!-- Add intro/welcome pages -->
  <extension point="org.eclipse.ui.intro.config">
     <config
           introId="us.mschmidt.komo.introID"
           id="us.mschmidt.komo.configID"
           content="intro.xml">
        <presentation
              home-page-id="root">
           <implementation
           os="win32,linux,macosx"
               kind="html">
           </implementation>
        </presentation>
     </config>
  </extension>

<code>

The intro.xml file is pretty simple:
<code>
<?xml version="1.0" encoding="utf-8" ?>

<!-- This is the introduction system contents file -->
<introContent>
   <page id="root" content="introdoc/root.xhtml"/>
   <page id="concept1" content="introdoc/concept1.xhtml"/>
   <page id="concept2" content="introdoc/concept2.xhtml"/>
</introContent>

<code>

The actual pages are xhtml.  I'm at a loss!  Any thoughts?
Thanks!