[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.ua] Re: cannot find intro page of exported product; image in intro.xml

1. Unfortunately we do not have an editor for intro content. This has been requested before.

2. I'm not sure why intro is not finding introcontent.xml but the first place I would look is build.properties to see if it is included in the list of files that get exported in a binary build. Also plug-ins with intro content should be exported unjarred.

3. The <img> tag is not the usual way of adding images, usually it is done in the CSS. If you take a look at the intro contributions in org.eclipse.platform you can see how images are created in the platform contributions.

Stella wrote:
Hi,
I try to define my own intro content. I have several questions:
1) Is there a convenient editor to create intro content, like for plugin.xml or for cheat-sheet page? When I create it manually - it looks ugly.
2) I define my intro page in plugin.xml as the following. When I export the ploduct - it cannot find the introcontent.xml file. When I change content to "$nl$/introcontent.xml - it still cannot find it.
<extension
point="org.eclipse.ui.intro.config">
<config
content="introcontent.xml"
id="org.xxx.yyy.configid"
introId="org.xxx.yyy.intro">
<presentation
home-page-id="root">
<implementation
kind="html"
os="linux">
</implementation>
</presentation>
</config>
</extension>
3) I try to add image to my intro like below. It cannot find an image.
<!-- Root page -->
<page id="root" style="html/style.css" style-id="page"> <!--title style-id="intro-header">Welcome</title-->
<group id="branding">
<img src="$plugin:plugin_id$/icons/my_image.gif" alt="my_image.gif"/>
</group> </page>
Thanks, Stella