Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Platform - User Assistance (UA) » cannot find intro page of exported product; image in intro.xml
cannot find intro page of exported product; image in intro.xml [message #475641] Thu, 18 June 2009 13:25 Go to next message
Stella Levin is currently offline Stella LevinFriend
Messages: 89
Registered: July 2009
Member
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
Re: cannot find intro page of exported product; image in intro.xml [message #475654 is a reply to message #475641] Fri, 19 June 2009 17:49 Go to previous message
Chris Goldthorpe is currently offline Chris GoldthorpeFriend
Messages: 815
Registered: July 2009
Senior Member
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
>
>
Re: cannot find intro page of exported product; image in intro.xml [message #623419 is a reply to message #475641] Fri, 19 June 2009 17:49 Go to previous message
Chris Goldthorpe is currently offline Chris GoldthorpeFriend
Messages: 815
Registered: July 2009
Senior Member
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
>
>
Previous Topic:Starting help system webapp
Next Topic:Eclipse Help System WAR file does not pick up plugin_customization
Goto Forum:
  


Current Time: Tue Apr 16 08:50:26 GMT 2024

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

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

Back to the top